|
Chart FX for Java 6.5 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject SoftwareFX.ChartFX.Map.WinnerDelegateEvent
public final class WinnerDelegateEvent
This class models WinnerDelegate events.
The members for the MapDelegateEvent class are accessible within the WinnerCallBack event. These properties allow you to access the RuleDataObj to evaluate the value for selected map region as well assign RuleAttribute objects.
Constructor Summary | |
---|---|
WinnerDelegateEvent()
|
Method Summary | |
---|---|
java.lang.String |
getLabel()
Gets the DataText string for the WinnerDelegateEvent object. |
int |
getPoint()
Specifies the index of the WinnerDelegateEvent object in the MapData array. |
double |
getValue(int series)
Deprecated. You should use getValues() instead. |
RuleDataObj |
getValues()
Returns a selected item of the data array for the WinnerDelegateEventArgs object. |
int |
getWinnerSeries()
Gets the WinnerSeries. |
void |
setValue(int series,
double value)
Deprecated. You should use getValues() instead. |
void |
setWinnerSeries(int value)
Specifies the dominant series of the map data. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WinnerDelegateEvent()
Method Detail |
---|
public java.lang.String getLabel()
Gets the DataText string for the WinnerDelegateEvent object.
This property contains the string from the DataText attribute in the LabelLink for the WinnerDelegateEvent object.
getPoint()
,
getValue(int)
,
getValues()
,
setWinnerSeries(int)
public int getPoint()
Specifies the index of the WinnerDelegateEvent object in the MapData array.
getLabel()
,
getValues()
,
setWinnerSeries(int)
public double getValue(int series)
getValues()
instead.
public RuleDataObj getValues()
Returns a selected item of the data array for the WinnerDelegateEventArgs object.
This property returns an array of values for a specific WinnerDelegateEventArgs. Using the index, you can return a specific value in that array consistent with the series value at that RuleDataObj point. Using conditional expressions, developers may determine which series is the WinnerSeries for a map region.
This is a read-only property.
getLabel()
,
getPoint()
,
setWinnerSeries(int)
public int getWinnerSeries()
Gets the WinnerSeries. For more detail see setWinnerSeries(int)
.
public void setValue(int series, double value)
getValues()
instead.
public void setWinnerSeries(int value)
Specifies the dominant series of the map data.
This property sets the series to be used for the tooltip information for a region in the map.
The Map.setWinnerSeriesType(int)
attribute controls the mode in which the winning series is determined (i.e. The max or min value is the winner).
The getValues()
property may be used to evaluate the data array for a map region.
Map.setWinnerSeriesType(int)
,
getLabel()
,
getPoint()
,
getValues()
,
Map
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |