INPUT
- OUTPUT
- public abstract class Configuration_UI<INPUT,OUTPUT> extends java.lang.Object implements Structured_UI<INPUT,OUTPUT>
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
BACKGROUND_ACTIVE |
static java.awt.Color |
BACKGROUND_INACTIVE |
Constructor and Description |
---|
Configuration_UI() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId() |
javax.swing.JPanel |
getPanel() |
javax.swing.JComponent |
getRoot() |
protected void |
handlePanelIsActive()
called when the mouse enters the panel
|
protected void |
handlePanelIsInActive()
called when the mouse leaves the panel
|
protected void |
initialize(java.lang.String label,
int line_height) |
protected abstract void |
initializeOptionsPanel(javax.swing.JPanel optionsPanel)
The provided panel is filled with controls that set the values of this feature.
|
void |
setId(java.lang.String name)
Set name set for this feature (either fixed or editable)
|
void |
setIdEditable(boolean editable)
Toggle whether name of this feature is editable
|
void |
setRoot(javax.swing.JComponent root)
Set the root component of this ui element.
|
void |
showOptions(boolean show)
Whether to show the options provided by this panel
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfigured, setValues
public static final java.awt.Color BACKGROUND_INACTIVE
public static final java.awt.Color BACKGROUND_ACTIVE
protected void initialize(java.lang.String label, int line_height)
public void setIdEditable(boolean editable)
editable
- public java.lang.String getId()
public void setId(java.lang.String name)
name
- protected abstract void initializeOptionsPanel(javax.swing.JPanel optionsPanel)
optionsPanel
- public void showOptions(boolean show)
show
- public javax.swing.JPanel getPanel()
public void setRoot(javax.swing.JComponent root)
root
- public javax.swing.JComponent getRoot()
protected void handlePanelIsActive()
protected void handlePanelIsInActive()