|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.chart.beans.RadioWrapper | +--com.klg.jclass.chart.beans.RadioAxisWrapper | +--com.klg.jclass.chart.beans.AxisValueLabelWrapper
Wrapper class for Axis Value Label properties. Used by the MultiChart Bean.
Field Summary | |
String[] |
valuelabels
|
Fields inherited from class com.klg.jclass.chart.beans.RadioWrapper |
radioIds |
Constructor Summary | |
AxisValueLabelWrapper()
Default constructor. |
|
AxisValueLabelWrapper(int size)
Constructor. |
|
AxisValueLabelWrapper(String valueLabelString)
Constructor. |
Method Summary | |
boolean |
equals(Object obj)
|
void |
setPropertyValue(int index,
com.klg.jclass.chart.JCAxis axis)
Sets the properties on the specified axis from values stored in internal arrays at the specified index. |
void |
setWrapperArraySize(int size)
Sets the size of the internal arrays that store properties for axes (should be equal to the number of axes). |
void |
setWrapperValue(int index,
com.klg.jclass.chart.JCAxis axis)
Stores the properties from the specified axis in internal arrays at the specified index. |
com.klg.jclass.chart.JCValueLabel[] |
stringToValueLabels(String s)
Converts String to list of value labels. |
String |
toString()
Convers properties to String for code generation. |
String |
valueLabelsToString(com.klg.jclass.chart.JCValueLabel[] valList)
Converts list of value labels to a String for code generation. |
Methods inherited from class com.klg.jclass.chart.beans.RadioAxisWrapper |
setPropertyValues, setWrapperValues |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public String[] valuelabels
Constructor Detail |
public AxisValueLabelWrapper()
public AxisValueLabelWrapper(int size)
size
- public AxisValueLabelWrapper(String valueLabelString)
(x1 value)(y1 value)(x2 value)(y2 value)
.
valueLabelString
- value label String in above format. Values
are a Strings, each a list of point label pairs
separated by a newline (\n
). For example, the
series String might look like :
(x1 1.0,one\n2.0,two\n3.0,three)
Method Detail |
public void setWrapperArraySize(int size)
setWrapperArraySize
in class RadioAxisWrapper
size
- the size of the internal arrayspublic void setWrapperValue(int index, com.klg.jclass.chart.JCAxis axis)
setWrapperValue
in class RadioAxisWrapper
index
- the index of the array the corresponds to this axisaxis
- the axis that contains the properties for this indexpublic void setPropertyValue(int index, com.klg.jclass.chart.JCAxis axis)
setPropertyValue
in class RadioAxisWrapper
index
- the index where the values for this axis are storedaxis
- the axis that we need to set these values onpublic String toString()
toString
in class Object
public String valueLabelsToString(com.klg.jclass.chart.JCValueLabel[] valList)
valList
- array of JCValueLabel
instances to convert
public com.klg.jclass.chart.JCValueLabel[] stringToValueLabels(String s)
s
- String containing entire value label list.
Each line has a pair of the form value,label.
JCValueLabels
representing the list of value labelspublic boolean equals(Object obj)
equals
in class Object
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |