public interface KeyEditor
Modifier and Type | Method and Description |
---|---|
JComponent |
getComponent()
Returns the editor component used to display the key editor in the GUI.
|
int |
getLabelWidth()
Returns the width of the label component.
|
boolean |
isDefined()
Checks whether the key is defined locally in the report configuration of the editor.
|
boolean |
isEnabled()
Returns true, if the editor component is enabled, false otherwise.
|
void |
reset()
Resets the value to the original value from the report configuration.
|
void |
setEnabled(boolean b)
Defines, whether the key editor should be enabled.
|
void |
setLabelWidth(int width)
Sets the width of the label for the editor component.
|
void |
store()
Stores the value into the report configuration.
|
void setEnabled(boolean b)
b
- true, if the editor should be enabled, false otherwise.boolean isEnabled()
void setLabelWidth(int width)
width
- the preferred width for the label.int getLabelWidth()
boolean isDefined()
JComponent getComponent()
void reset()
void store()