Class ConfigureInteger_UI
- java.lang.Object
-
- org.processmining.plugins.petrinet.configurable.ui.widgets.Configuration_UI<ConfigurableParameter<?>,F>
-
- org.processmining.plugins.petrinet.configurable.ui.ConfigureFeature_UI<java.lang.Integer>
-
- org.processmining.plugins.petrinet.configurable.ui.impl.ConfigureInteger_UI
-
- All Implemented Interfaces:
Structured_UI<ConfigurableParameter<?>,java.lang.Integer>
public class ConfigureInteger_UI extends ConfigureFeature_UI<java.lang.Integer>
UI to represent aConfigurableIntegerFeaturefor configuring.- Author:
- dfahland
-
-
Field Summary
Fields Modifier and Type Field Description protected 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 ConfigureInteger_UI(java.lang.String label, ConfigurableParameter<java.lang.Integer> feature, int line_height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetConfigured()protected voidinitializeOptionsPanel(javax.swing.JPanel optionsPanel)The provided panel is filled with controls that set the values of this feature.voidsetValues(ConfigurableParameter<?> input)Fill controls of this panel based on the values in the feature.-
Methods inherited from class org.processmining.plugins.petrinet.configurable.ui.ConfigureFeature_UI
getFeature
-
Methods inherited from class org.processmining.plugins.petrinet.configurable.ui.widgets.Configuration_UI
getId, getPanel, getRoot, handlePanelIsActive, handlePanelIsInActive, initialize, setId, setIdEditable, setRoot, showOptions
-
-
-
-
Constructor Detail
-
ConfigureInteger_UI
public ConfigureInteger_UI(java.lang.String label, ConfigurableParameter<java.lang.Integer> feature, int line_height)
-
-
Method Detail
-
initializeOptionsPanel
protected void initializeOptionsPanel(javax.swing.JPanel optionsPanel)
Description copied from class:Configuration_UIThe provided panel is filled with controls that set the values of this feature.- Specified by:
initializeOptionsPanelin classConfiguration_UI<ConfigurableParameter<?>,java.lang.Integer>
-
setValues
public void setValues(ConfigurableParameter<?> input)
Description copied from interface:Structured_UIFill controls of this panel based on the values in the feature.
-
getConfigured
public java.lang.Integer getConfigured()
- Returns:
- object configured by this panel
-
-