public interface FieldEditor<T> extends ToolWindow
FieldPanel
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the content of the editor.
|
T |
getValue()
Returns the current value or null if no content exists.
|
boolean |
isEmpty()
Tells whether the editor has any content.
|
boolean |
isInputValid()
Performs a check whether the editor's input is valid.
|
boolean |
isLocked()
Tells whether the editor is currently locked.
|
boolean |
isNotNull()
Tells whether the editor requires input.
|
void |
popup(javax.swing.JComponent hook,
T value)
Pops up the editor to become visible (it is usually a dialog or a frame).
|
void |
setInsertDefaultValue()
Requests the editor to lookup for an insert default value and loads it.
|
void |
setLocked(boolean b)
Locks the editor and makes editing impossible.
|
void |
setNotNull(boolean b)
Sets the editor's input to mandatory.
|
void |
setValue(T value)
Loads the data content which refers to a particular object.
|
getLocation, getMinimumHeight, getMinimumWidth, getSize, getTitle, getToolkit, isPacked, pack, popup, setLocation, setLocationRelativeTo, setMinimumSize, setPreferredSize, shiftLocation
toDumpString, toDumpString, toString, toString
void setValue(T value)
T getValue()
void clear()
boolean isInputValid()
boolean isLocked()
boolean isNotNull()
boolean isEmpty()
void setLocked(boolean b)
void setNotNull(boolean b)
void setInsertDefaultValue()
void popup(javax.swing.JComponent hook, T value)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.