|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.processmining.plugins.petrinet.configurable.ui.widgets.Configuration_UI<INPUT,OUTPUT>
INPUT - OUTPUT - public abstract class Configuration_UI<INPUT,OUTPUT>
Abstract class for configuration UIs providing a standard panel for controls used by all subclasses.
| Field Summary | |
|---|---|
static java.awt.Color |
BACKGROUND_ACTIVE
|
static java.awt.Color |
BACKGROUND_INACTIVE
|
| Constructor Summary | |
|---|---|
Configuration_UI()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.processmining.plugins.petrinet.configurable.ui.widgets.Structured_UI |
|---|
getConfigured, setValues |
| Field Detail |
|---|
public static final java.awt.Color BACKGROUND_INACTIVE
public static final java.awt.Color BACKGROUND_ACTIVE
| Constructor Detail |
|---|
public Configuration_UI()
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||