public interface PropertyEditor
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(java.awt.event.ActionListener listener)
Adds a listener to be notified when the value of the property edited changed.
|
void |
addMessageListener(MessageListener listener)
Adds a listener to get notified about errors and similar.
|
void |
commitEdits()
When called, editor commits all current edits.
|
java.awt.Component |
getEditor()
Returns the UI element of the editor.
|
java.lang.Class<?>[] |
getSupportedTypes()
Get the property types supported by this editor.
|
boolean |
isFillSpace()
Returns true if this editor can fill up extra space.
|
void |
removeActionListener(java.awt.event.ActionListener listener)
Removes a previously added listener.
|
void |
removeMessageListener(MessageListener listener)
Removes a previously added listener
|
java.awt.Component getEditor()
void commitEdits() throws GenericException
GenericException
void addMessageListener(MessageListener listener)
listener
- message listener to add.void removeMessageListener(MessageListener listener)
listener
- message listener to remove.void addActionListener(java.awt.event.ActionListener listener)
listener
- action listener.void removeActionListener(java.awt.event.ActionListener listener)
listener
- listener to remove.boolean isFillSpace()
java.lang.Class<?>[] getSupportedTypes()