JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart.beans
Class RadioDataWrapper

java.lang.Object
  |
  +--com.klg.jclass.chart.beans.RadioWrapper
        |
        +--com.klg.jclass.chart.beans.RadioDataWrapper
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MultiDataChartWrapper, MultiDataMiscWrapper, MultiDataSourceWrapper

public abstract class RadioDataWrapper
extends RadioWrapper

More specific (though still abstract) implementation of RadioWrapper for data view property wrappers. All MultiData*Wrapper classes subclass from this.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.klg.jclass.chart.beans.RadioWrapper
radioIds
 
Constructor Summary
RadioDataWrapper()
           
 
Method Summary
abstract  void setPropertyValue(int index, com.klg.jclass.chart.ChartDataView dataview)
          Sets property values for the specified dataview from the stored values.
 void setPropertyValues(com.klg.jclass.chart.ChartDataView[] dataList)
          Sets new property values for the specified data views.
abstract  void setWrapperArraySize(int size)
          Sets the size of the internal arrays that store properties for multiple data views.
abstract  void setWrapperValue(int index, com.klg.jclass.chart.ChartDataView dataview)
          Caches properties from the specified dataview.
 void setWrapperValues(com.klg.jclass.chart.ChartDataView[] dataList)
          Caches properties from the specified data views.
 
Methods inherited from class com.klg.jclass.chart.beans.RadioWrapper
booleanValuesToString, colorValuesToString, dateValuesToString, doubleIsDefValuesToString, doubleValuesToString, enumIsDefValuesToString, enumValuesToString, enumValuesToString, fontValuesToString, intIsDefValuesToString, intValuesToString, radioIDValuesToString, radioIDValuesToString, seriesStringPrefix, seriesStringSuffix, setWrapperBooleanValues, setWrapperColorValues, setWrapperDateValues, setWrapperDoubleIsDefValues, setWrapperDoubleValues, setWrapperEnumIsDefValues, setWrapperEnumValues, setWrapperEnumValues, setWrapperFontValues, setWrapperIntIsDefValues, setWrapperIntValues, setWrapperRadioIDValues, setWrapperRadioIDValues, setWrapperStringIsDefValues, setWrapperStringValues, stringIsDefValuesToString, stringValuesToBigString, stringValuesToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadioDataWrapper

public RadioDataWrapper()
Method Detail

setWrapperValues

public void setWrapperValues(com.klg.jclass.chart.ChartDataView[] dataList)
Caches properties from the specified data views.

Parameters:
dataList - list of data views to cache properties from

setWrapperValue

public abstract void setWrapperValue(int index,
                                     com.klg.jclass.chart.ChartDataView dataview)
Caches properties from the specified dataview. To be implemented by subclass for specific properties.

Parameters:
index - the index of the cached arrays that corresponds to this dataview
dataview - the dataview that contains the properties to be cached

setWrapperArraySize

public abstract void setWrapperArraySize(int size)
Sets the size of the internal arrays that store properties for multiple data views. To be implemented by subclass for specific properties.

Parameters:
size - the size of the internal arrays

setPropertyValues

public void setPropertyValues(com.klg.jclass.chart.ChartDataView[] dataList)
Sets new property values for the specified data views.

Parameters:
dataList - list of data views to set properties in (should match list of data views passed to setWrapperValues())

setPropertyValue

public abstract void setPropertyValue(int index,
                                      com.klg.jclass.chart.ChartDataView dataview)
Sets property values for the specified dataview from the stored values. To be implemented by subclass for specific properties.

Parameters:
index - the index where the values for this dataview are stored
dataview - the dataview that we need to set these values on

Copyright © 2004 Quest Software Inc..
All rights reserved.