|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
antsnest.antbeans.StringListPropertyEditor
public class StringListPropertyEditor
A way to customize a list of strings
| Constructor Summary | |
|---|---|
StringListPropertyEditor()
A null constructor |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Called if an action is performed |
Component |
getCustomEditor()
Gets the editor used to edit the list |
Object |
getValue()
Gets the object being edited by this editor |
boolean |
isPaintable()
|
void |
paintValue(Graphics g,
Rectangle box)
|
void |
setValue(Object obj)
Sets the object being edited by this editor |
boolean |
supportsCustomEditor()
Whether this editor provides a custom editor |
| Methods inherited from class java.beans.PropertyEditorSupport |
|---|
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, removePropertyChangeListener, setAsText, setSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringListPropertyEditor()
| Method Detail |
|---|
public void setValue(Object obj)
setValue in interface PropertyEditorsetValue in class PropertyEditorSupportobj - the object being editedpublic Object getValue()
getValue in interface PropertyEditorgetValue in class PropertyEditorSupportpublic Component getCustomEditor()
getCustomEditor in interface PropertyEditorgetCustomEditor in class PropertyEditorSupportpublic boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorsupportsCustomEditor in class PropertyEditorSupportpublic boolean isPaintable()
isPaintable in interface PropertyEditorisPaintable in class PropertyEditorSupport
public void paintValue(Graphics g,
Rectangle box)
paintValue in interface PropertyEditorpaintValue in class PropertyEditorSupportpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - the event that caused the call
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||