Chart FX for Java 6.2

SoftwareFX.ChartFX.Map
Class RuleDataObj

java.lang.Object
  extended bySoftwareFX.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)
          Returns a specific member of the RuleData object.
 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)

Returns a specific member of the RuleData object.

Remarks:
  • The Item property is the default property for a collection. Therefore, the following lines of code are equivalent:

    e.Values(0)

    e.Values.Item(0)

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

  • See Also:
    WinnerDelegateEvent.getValues()

    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 #Values property of the MapDelegateEventArgs class:

    int nCount = mdea.Values.Length;

  • The Item property allows you to selected a particular item in the values array:

    if (mdea.Values[0] >= mdea.Values[1])
    mdea.RuleAttributeIndex = 0;

  • See Also:
    #setValues, setItem(int, double)

    setItem

    public void setItem(int series,
                        double value)

    Returns a specific member of the RuleData object.

    Remarks:
  • The Item property is the default property for a collection. Therefore, the following lines of code are equivalent:

    e.Values(0)

    e.Values.Item(0)

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

  • See Also:
    WinnerDelegateEvent.getValues()

    http://www.softwarefx.com

    2005 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.