org.processmining.plugins.petrinet.configurable.ui.impl
Class ConfigurableGraphElement_UI<T extends org.processmining.models.graphbased.directed.DirectedGraphElement>

java.lang.Object
  extended by org.processmining.plugins.petrinet.configurable.ui.widgets.Configuration_UI<ConfigurableFeature<?,?>,ConfigurableFeature<?,?>>
      extended by org.processmining.plugins.petrinet.configurable.ui.ConfigurableFeature_UI<T,ConfigurableGraphElementOption>
          extended by org.processmining.plugins.petrinet.configurable.ui.impl.ConfigurableGraphElement_UI<T>
Type Parameters:
T - node type of this ConfigurableGraphElementFeature
All Implemented Interfaces:
Structured_UI<ConfigurableFeature<?,?>,ConfigurableFeature<?,?>>
Direct Known Subclasses:
ConfigurableGraphElement_UI.ConfigurableArc_UI, ConfigurableGraphElement_UI.ConfigurablePlace_UI, ConfigurableGraphElement_UI.ConfigurableTransition_UI

public abstract class ConfigurableGraphElement_UI<T extends org.processmining.models.graphbased.directed.DirectedGraphElement>
extends ConfigurableFeature_UI<T,ConfigurableGraphElementOption>

Abstract class to represent a ConfigurableGraphElementFeature

Author:
dfahland

Nested Class Summary
static class ConfigurableGraphElement_UI.ConfigurableArc_UI
           
static class ConfigurableGraphElement_UI.ConfigurablePlace_UI
           
static class ConfigurableGraphElement_UI.ConfigurableTransition_UI
           
 
Field Summary
 javax.swing.JCheckBox config_allow
           
 javax.swing.JCheckBox config_block
           
 javax.swing.JComboBox config_default
           
 javax.swing.JCheckBox config_skip
           
 boolean definesValuesForGroup
           
 
Fields inherited from class org.processmining.plugins.petrinet.configurable.ui.widgets.Configuration_UI
BACKGROUND_ACTIVE, BACKGROUND_INACTIVE
 
Constructor Summary
ConfigurableGraphElement_UI(javax.swing.JComponent root, ConfigurableGraphElementFeature<T> feature, int line_height)
           
 
Method Summary
protected  ConfigurableGraphElementOption getDefaultValue()
           
protected  ConfigurableGraphElementOption[] getPossibleValues()
           
protected  void initializeFeatureOptionsPanel(javax.swing.JPanel optionsPanel)
           
 void setValues(ConfigurableFeature<?,?> input)
          Fill controls of this panel based on the values in the feature.
 
Methods inherited from class org.processmining.plugins.petrinet.configurable.ui.ConfigurableFeature_UI
getConfiguredElement, handlePanelIsActive, handlePanelIsInActive, initializeOptionsPanel, installFeatureRemoveHandler
 
Methods inherited from class org.processmining.plugins.petrinet.configurable.ui.widgets.Configuration_UI
getId, getPanel, getRoot, initialize, setId, setIdEditable, setRoot, showOptions
 
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
 

Field Detail

config_allow

public javax.swing.JCheckBox config_allow

config_block

public javax.swing.JCheckBox config_block

config_skip

public javax.swing.JCheckBox config_skip

config_default

public javax.swing.JComboBox config_default

definesValuesForGroup

public boolean definesValuesForGroup
Constructor Detail

ConfigurableGraphElement_UI

public ConfigurableGraphElement_UI(javax.swing.JComponent root,
                                   ConfigurableGraphElementFeature<T> feature,
                                   int line_height)
Method Detail

initializeFeatureOptionsPanel

protected void initializeFeatureOptionsPanel(javax.swing.JPanel optionsPanel)
Specified by:
initializeFeatureOptionsPanel in class ConfigurableFeature_UI<T extends org.processmining.models.graphbased.directed.DirectedGraphElement,ConfigurableGraphElementOption>

setValues

public void setValues(ConfigurableFeature<?,?> input)
Description copied from interface: Structured_UI
Fill controls of this panel based on the values in the feature.


getPossibleValues

protected ConfigurableGraphElementOption[] getPossibleValues()

getDefaultValue

protected ConfigurableGraphElementOption getDefaultValue()