public abstract class EditorField
extends java.lang.Object
Constructor and Description |
---|
EditorField(java.lang.Object label,
javax.swing.JComponent field) |
Modifier and Type | Method and Description |
---|---|
javax.swing.JComponent |
getField()
Return the GUI component that allows the user to edit a value
|
java.lang.Object |
getLabel()
Get the label that is to be applied to the editor field.
|
abstract void |
saveEdits()
Called when the editor should save the value from the field to the model
|
public EditorField(java.lang.Object label, javax.swing.JComponent field)
public java.lang.Object getLabel()
public javax.swing.JComponent getField()
public abstract void saveEdits()