Class ConfigurableFeatureGroup_UI
- java.lang.Object
-
- org.processmining.plugins.petrinet.configurable.ui.ConfigurableFeatureGroup_UI
-
public class ConfigurableFeatureGroup_UI extends java.lang.ObjectUI for aConfigurableFeatureGroup- Author:
- dfahland
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classConfigurableFeatureGroup_UI.RemoveFeatureHandlerRemove panel to configure a feature from this feature group - will remove feature from the group as well.
-
Field Summary
Fields Modifier and Type Field Description org.processmining.framework.util.ui.widgets.ProMTextFieldconfig_feature_idbooleandefinesValuesForGroupjava.util.List<ConfigurableFeature_UI<?,?>>features_uijava.lang.StringgroupID
-
Constructor Summary
Constructors Constructor Description ConfigurableFeatureGroup_UI(javax.swing.JComponent root, PetrinetGraph net, ConfigurableFeatureGroup group)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddFeature(ConfigurableFeature_UI<?,?> feat_ui)ConfigurableFeatureGroupgetFeatureGroup()protected AddFeatureWizardPage.NetElement[]getNetElements()javax.swing.JPanelgetPanel()protected javax.swing.JComponentgetRoot()voidinstallGroupRemoveHandler(java.awt.event.ActionListener handler)Add handler that handles the removal of this group from a surrounding component or environmentprotected voidremoveFeature(ConfigurableFeature_UI<?,?> feat_ui)voidsetValues(ConfigurableFeatureGroup group, java.util.List<ConfigurableFeature_UI<?,?>> features_ui)
-
-
-
Field Detail
-
config_feature_id
public org.processmining.framework.util.ui.widgets.ProMTextField config_feature_id
-
groupID
public java.lang.String groupID
-
features_ui
public java.util.List<ConfigurableFeature_UI<?,?>> features_ui
-
definesValuesForGroup
public boolean definesValuesForGroup
-
-
Constructor Detail
-
ConfigurableFeatureGroup_UI
public ConfigurableFeatureGroup_UI(javax.swing.JComponent root, PetrinetGraph net, ConfigurableFeatureGroup group)
-
-
Method Detail
-
addFeature
protected void addFeature(ConfigurableFeature_UI<?,?> feat_ui)
-
setValues
public void setValues(ConfigurableFeatureGroup group, java.util.List<ConfigurableFeature_UI<?,?>> features_ui)
-
removeFeature
protected void removeFeature(ConfigurableFeature_UI<?,?> feat_ui)
-
getFeatureGroup
public ConfigurableFeatureGroup getFeatureGroup() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getPanel
public javax.swing.JPanel getPanel()
- Returns:
- panel containing all controls
-
getRoot
protected javax.swing.JComponent getRoot()
- Returns:
- root component to update in case of changes in the visualization
-
installGroupRemoveHandler
public void installGroupRemoveHandler(java.awt.event.ActionListener handler)
Add handler that handles the removal of this group from a surrounding component or environment- Parameters:
handler-
-
getNetElements
protected AddFeatureWizardPage.NetElement[] getNetElements()
-
-