|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ijchart.xychart.web.DefaultAreaFragment
public class DefaultAreaFragment
Title: IJChart
Description: a chart library for the Java(tm) platform.
The default implement of interfaceIAreaFragment.
Copyright: Copyright (c) 2013
Company:
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_CLICK_FUNCTION_NAME
The default click function name. |
static boolean |
DEFAULT_GENERATE_URL
A boolean flag controls whether or not generate URL. |
static java.lang.String |
DEFAULT_STYLE
The default style value. |
static java.lang.String |
DEFAULT_URL_PREFIX
The default url prefix. |
| Constructor Summary | |
|---|---|
DefaultAreaFragment(IJChart chart)
The constructor. |
|
DefaultAreaFragment(IJChart chart,
java.lang.String style)
The constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object. |
protected java.lang.String |
getAppendAreaFragment(int shapeIndex,
IChartData data)
Returns the append area fragment. |
IJChart |
getChart()
Returns the IJChart object. |
java.lang.String |
getClickFunctionName()
Returns the click function name. |
java.lang.String |
getFragment(int shapeIndex,
IChartData data)
Returns the area fragment of hotspot shape. |
boolean |
getGenerateURL()
Returns whether or not generate URL. |
java.lang.String |
getStyle()
Returns the style value. |
java.lang.String |
getURLPrefix()
Returns the url prefix. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setChart(IJChart chart)
Sets the IJChart object. |
void |
setClickFunctionName(java.lang.String functionName)
Sets the click function name. |
void |
setGenerateURL(boolean flag)
Sets whether or not generate URL. |
void |
setStyle(java.lang.String style)
Sets the style value. |
void |
setURLPrefix(java.lang.String url)
Sets the url prefix. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_STYLE
public static final java.lang.String DEFAULT_URL_PREFIX
public static final boolean DEFAULT_GENERATE_URL
public static final java.lang.String DEFAULT_CLICK_FUNCTION_NAME
| Constructor Detail |
|---|
public DefaultAreaFragment(IJChart chart)
chart - IJChart
The IJChart object (null not permitted).
public DefaultAreaFragment(IJChart chart,
java.lang.String style)
chart - IJChart
The IJChart object (null not permitted).style - String
The style value (null permitted).| Method Detail |
|---|
public IJChart getChart()
public void setChart(IJChart chart)
chart - IJChart
The IJChart object (null not permitted).public java.lang.String getStyle()
public void setStyle(java.lang.String style)
style - String
(null permitted).public boolean getGenerateURL()
public void setGenerateURL(boolean flag)
flag - boolean
A boolean.public java.lang.String getURLPrefix()
public void setURLPrefix(java.lang.String url)
url - String
The url prefix (null permitted).public java.lang.String getClickFunctionName()
public void setClickFunctionName(java.lang.String functionName)
functionName - String
The click function name (null permitted).
public java.lang.String getFragment(int shapeIndex,
IChartData data)
getFragment in interface IAreaFragmentshapeIndex - int
The index of shape in collection.data - IChartData
The IChartData object (maybe null).
protected java.lang.String getAppendAreaFragment(int shapeIndex,
IChartData data)
shapeIndex - int
The index of shape in collection.data - IChartData
The IChartData object (maybe null).
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object (null permitted).
public int hashCode()
hashCode in class java.lang.Object
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException - if the object's class does not
support the Cloneable interface. Subclasses
that override the clone method can also
throw this exception to indicate that an instance cannot
be cloned.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||