org.processmining.plugins.petrinet.configurable.ui.impl
Class ParameterizedIntegerFeature_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,java.lang.Integer>
          extended by org.processmining.plugins.petrinet.configurable.ui.impl.ParameterizedIntegerFeature_UI<T>
Type Parameters:
T - node type of the ParameterizedIntegerFeature
All Implemented Interfaces:
Structured_UI<ConfigurableFeature<?,?>,ConfigurableFeature<?,?>>
Direct Known Subclasses:
ParameterizedIntegerFeature_UI.ParameterizedArcWeightFeature_UI, ParameterizedIntegerFeature_UI.ParameterizedPlaceMarkingFeature_UI

public abstract class ParameterizedIntegerFeature_UI<T extends org.processmining.models.graphbased.directed.DirectedGraphElement>
extends ConfigurableFeature_UI<T,java.lang.Integer>

UI to represent a ParameterizedIntegerFeature

Author:
dfahland

Nested Class Summary
 class ParameterizedIntegerFeature_UI.IntegerParameter_UI
           
static class ParameterizedIntegerFeature_UI.ParameterizedArcWeightFeature_UI
           
static class ParameterizedIntegerFeature_UI.ParameterizedPlaceMarkingFeature_UI
           
 
Field Summary
protected  org.processmining.framework.util.ui.widgets.ProMTextField expression
           
protected  org.processmining.framework.util.ui.widgets.ProMTextField maxValue
           
protected  org.processmining.framework.util.ui.widgets.ProMTextField minValue
           
 
Fields inherited from class org.processmining.plugins.petrinet.configurable.ui.widgets.Configuration_UI
BACKGROUND_ACTIVE, BACKGROUND_INACTIVE
 
Constructor Summary
ParameterizedIntegerFeature_UI(javax.swing.JComponent root, ParameterizedIntegerFeature<T> feature, int line_height)
           
 
Method Summary
protected  java.util.List<ConfigurableParameter<java.lang.Integer>> getInputParameters()
           
protected  void initializeFeatureOptionsPanel(javax.swing.JPanel optionsPanel)
           
 void resizeToContents()
           
 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

expression

protected org.processmining.framework.util.ui.widgets.ProMTextField expression

minValue

protected org.processmining.framework.util.ui.widgets.ProMTextField minValue

maxValue

protected org.processmining.framework.util.ui.widgets.ProMTextField maxValue
Constructor Detail

ParameterizedIntegerFeature_UI

public ParameterizedIntegerFeature_UI(javax.swing.JComponent root,
                                      ParameterizedIntegerFeature<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,java.lang.Integer>

resizeToContents

public void resizeToContents()

setValues

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


getInputParameters

protected java.util.List<ConfigurableParameter<java.lang.Integer>> getInputParameters()
                                                                               throws java.lang.Exception
Throws:
java.lang.Exception