org.jfree.ui.tabbedui
Class DetailEditor
JComponent
org.jfree.ui.tabbedui.DetailEditor
A detail editor.
abstract void | clear() - Clears the editor.
|
protected abstract void | fillObject() - Edits the object.
|
Object | getObject() - Returns the object.
|
boolean | isConfirmed() - Returns the confirmed flag.
|
protected static int | parseInt(String text, int def) - Parses an integer.
|
protected void | setConfirmed(boolean confirmed) - Sets the confirmed flag.
|
void | setObject(Object object) - Sets the object to be edited.
|
void | update() - Updates the object.
|
protected abstract void | updateObject(Object object) - Updates the object.
|
clear
public abstract void clear()
Clears the editor.
fillObject
protected abstract void fillObject()
Edits the object. The object itself should not be modified, until
update or create was called.
getObject
public Object getObject()
Returns the object.
isConfirmed
public boolean isConfirmed()
Returns the confirmed flag.
parseInt
protected static int parseInt(String text,
int def)
Parses an integer.
text
- the text.def
- the default value.
- The parsed integer, or the default value if the string didn't contain a
value.
setConfirmed
protected void setConfirmed(boolean confirmed)
Sets the confirmed flag.
confirmed
- the confirmed flag.
setObject
public void setObject(Object object)
Sets the object to be edited.
update
public void update()
Updates the object.
updateObject
protected abstract void updateObject(Object object)
Updates the object.