Class ConfigurableIntegerFeature_UI<T extends org.processmining.models.graphbased.directed.DirectedGraphElement>
- java.lang.Object
-
- org.processmining.plugins.petrinet.configurable.ui.widgets.Configuration_UI<ConfigurableFeature<?,?>,ConfigurableFeature<?,?>>
-
- org.processmining.plugins.petrinet.configurable.ui.ConfigurableFeature_UI<T,java.lang.Integer>
-
- org.processmining.plugins.petrinet.configurable.ui.impl.ConfigurableIntegerFeature_UI<T>
-
- Type Parameters:
T- node type of thisConfigurableIntegerFeature
- All Implemented Interfaces:
java.awt.event.FocusListener,java.util.EventListener,Structured_UI<ConfigurableFeature<?,?>,ConfigurableFeature<?,?>>
- Direct Known Subclasses:
ConfigurableIntegerFeature_UI.ConfigurableArcWeightFeature_UI,ConfigurableIntegerFeature_UI.ConfigurablePlaceMarkingFeature_UI
public abstract class ConfigurableIntegerFeature_UI<T extends org.processmining.models.graphbased.directed.DirectedGraphElement> extends ConfigurableFeature_UI<T,java.lang.Integer> implements java.awt.event.FocusListener
UI element to represent aConfigurableIntegerFeature- Author:
- dfahland
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfigurableIntegerFeature_UI.ConfigurableArcWeightFeature_UIstatic classConfigurableIntegerFeature_UI.ConfigurablePlaceMarkingFeature_UI
-
Field Summary
Fields Modifier and Type Field Description protected org.processmining.framework.util.ui.widgets.ProMTextFieldmaxValueprotected org.processmining.framework.util.ui.widgets.ProMTextFieldminValueprotected com.fluxicon.slickerbox.components.NiceIntegerSliderslider-
Fields inherited from class org.processmining.plugins.petrinet.configurable.ui.widgets.Configuration_UI
BACKGROUND_ACTIVE, BACKGROUND_INACTIVE
-
-
Constructor Summary
Constructors Constructor Description ConfigurableIntegerFeature_UI(javax.swing.JComponent root, ConfigurableIntegerFeature<T> feature, int line_height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfocusGained(java.awt.event.FocusEvent e)voidfocusLost(java.awt.event.FocusEvent e)protected voidinitializeFeatureOptionsPanel(javax.swing.JPanel optionsPanel)voidsetValues(ConfigurableFeature<?,?> input)Fill controls of this panel based on the values in the feature.protected voidupdateSliderFromMinMax()-
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
-
-
-
-
Constructor Detail
-
ConfigurableIntegerFeature_UI
public ConfigurableIntegerFeature_UI(javax.swing.JComponent root, ConfigurableIntegerFeature<T> feature, int line_height)
-
-
Method Detail
-
initializeFeatureOptionsPanel
protected void initializeFeatureOptionsPanel(javax.swing.JPanel optionsPanel)
- Specified by:
initializeFeatureOptionsPanelin classConfigurableFeature_UI<T extends org.processmining.models.graphbased.directed.DirectedGraphElement,java.lang.Integer>
-
setValues
public void setValues(ConfigurableFeature<?,?> input)
Description copied from interface:Structured_UIFill controls of this panel based on the values in the feature.- Specified by:
setValuesin interfaceStructured_UI<ConfigurableFeature<?,?>,ConfigurableFeature<?,?>>
-
focusGained
public void focusGained(java.awt.event.FocusEvent e)
- Specified by:
focusGainedin interfacejava.awt.event.FocusListener
-
focusLost
public void focusLost(java.awt.event.FocusEvent e)
- Specified by:
focusLostin interfacejava.awt.event.FocusListener
-
updateSliderFromMinMax
protected void updateSliderFromMinMax()
-
-