Chart FX for Java 6.5

SoftwareFX.ChartFX.Map
Class RuleDataObj

java.lang.Object
  extended by SoftwareFX.ChartFX.Map.RuleDataObj

public final class RuleDataObj
extends java.lang.Object

Provides access to the RuleDataObj object.

The RuleDataObj object holds the array of data values passed to the Map Extension. The supported members of this class allow you to read the length of the data array as well as access individual data values.


Constructor Summary
RuleDataObj()
           
 
Method Summary
 double getItem(int series)
          Gets the Item.
 int getLength()
          Returns the number of values contained in the Values array.
 void setItem(int series, double value)
          Returns a specific member of the RuleData object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleDataObj

public RuleDataObj()
Method Detail

getItem

public double getItem(int series)

Gets the Item. For more detail see setItem(int, double).


getLength

public int getLength()

Returns the number of values contained in the Values array.

Remarks:
  • This is a read-only property.

  • This property may be accessed using the WinnerDelegateEvent.getValues() property of the WinnerDelegateEvent class:

    int nCount = mdea.getValues().getLength();

  • See Also:
    WinnerDelegateEvent.getValues(), setItem(int, double)

    setItem

    public void setItem(int series,
                        double value)

    Returns a specific member of the RuleData object.

    Remarks:
  • If Index doesn't match any existing member of the collection, an error occurs.

  • See Also:
    WinnerDelegateEvent.getValues()

    http://www.softwarefx.com

    2007 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
    All other names are trademarks or registered trademarks of their respective owners.