|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.beans.PropertyEditorSupport
|
+--com.elegantj.editors.IntegerEditor
This class edits the integer properties which are displayed in a combo box as a descriptive strings.
| Field Summary | |
protected int[] |
nValues
|
protected java.lang.String[] |
strDisplay
|
protected java.lang.String[] |
strInit
|
protected java.lang.String |
strJavaInitializationStringPrefix
Protected prefix string. |
| Constructor Summary | |
IntegerEditor()
|
|
IntegerEditor(java.lang.String[] init,
java.lang.String[] display,
int[] value)
Constructors. |
|
| Method Summary | |
java.lang.String |
getAsText()
Internal, The implementation of the interface PropertyEditorSupport. |
protected java.lang.String[] |
getDisplayArray()
|
protected java.lang.String[] |
getInitArray()
|
protected java.lang.Integer |
getIntValue()
|
java.lang.String |
getJavaInitializationString()
Internal, The implementation of the interface PropertyEditorSupport. |
java.lang.String[] |
getTags()
Internal, The implementation of the interface PropertyEditorSupport. |
protected int[] |
getValueArray()
|
void |
setAsText(java.lang.String text)
Internal, The implementation of the interface PropertyEditorSupport. |
protected void |
setIntValue(java.lang.Integer val)
|
| Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String[] strInit
protected java.lang.String[] strDisplay
protected int[] nValues
protected java.lang.String strJavaInitializationStringPrefix
| Constructor Detail |
public IntegerEditor(java.lang.String[] init,
java.lang.String[] display,
int[] value)
throws IntegerEditorInvalidArraysException
public IntegerEditor()
| Method Detail |
public java.lang.String getJavaInitializationString()
getJavaInitializationString in interface java.beans.PropertyEditorgetJavaInitializationString in class java.beans.PropertyEditorSupportpublic java.lang.String[] getTags()
getTags in interface java.beans.PropertyEditorgetTags in class java.beans.PropertyEditorSupportpublic void setAsText(java.lang.String text)
setAsText in interface java.beans.PropertyEditorsetAsText in class java.beans.PropertyEditorSupportpublic java.lang.String getAsText()
getAsText in interface java.beans.PropertyEditorgetAsText in class java.beans.PropertyEditorSupportprotected void setIntValue(java.lang.Integer val)
protected java.lang.Integer getIntValue()
protected java.lang.String[] getDisplayArray()
protected int[] getValueArray()
protected java.lang.String[] getInitArray()
|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||