|
ElegantJ Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
com.elegantj.editors.VectorEditor
This class provides the editor for the vector.
| Constructor Summary | |
VectorEditor()
Default constructor. |
|
| Method Summary | |
boolean |
addString(java.lang.String str)
Adds an string to the vector. |
boolean |
editString(java.lang.String str,
int nIndex)
Edits an string to the vector at specified position. |
void |
exchange(int nIndex1,
int nIndex2)
Exchanges two strings from the vector. |
java.lang.String |
getAsText()
|
java.awt.Component |
getCustomEditor()
|
java.lang.String |
getJavaInitializationString()
|
java.lang.Object |
getValue()
|
boolean |
isPaintable()
|
boolean |
moveItems(int dx,
int[] array)
|
void |
paintValue(java.awt.Graphics g,
java.awt.Rectangle r)
|
boolean |
removeAll()
Removes all strings from the vector. |
boolean |
removeItem(int nIndex)
Removes a string at specified index from the vector. |
boolean |
removeItems(int[] array)
|
boolean |
removeString(java.lang.String str)
Removes an string from the vector. |
void |
setValue(java.lang.Object vector)
|
boolean |
supportsCustomEditor()
|
java.lang.String |
toString()
make the string representation. |
| Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getTags, removePropertyChangeListener, setAsText |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public VectorEditor()
| Method Detail |
public boolean supportsCustomEditor()
public boolean isPaintable()
public void paintValue(java.awt.Graphics g,
java.awt.Rectangle r)
public java.awt.Component getCustomEditor()
public java.lang.String getJavaInitializationString()
public java.lang.String getAsText()
public void setValue(java.lang.Object vector)
public java.lang.Object getValue()
public boolean addString(java.lang.String str)
true if the string is successfully added.
public boolean editString(java.lang.String str,
int nIndex)
true if the string is successfully edited.public boolean removeString(java.lang.String str)
true if the string is successfully removed.public boolean removeItem(int nIndex)
true if the string is successfully removed.public boolean removeAll()
true if the all strings are
successfully removed.
public void exchange(int nIndex1,
int nIndex2)
public boolean removeItems(int[] array)
public boolean moveItems(int dx,
int[] array)
public java.lang.String toString()
|
ElegantJ Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||