private static class StrategySelectionView.StrategySelectionComponents extends Object
StrategySelectionView#getStrategySelectionComponents() for direct
access to created user interface components.| Modifier and Type | Field and Description |
|---|---|
private JButton |
defaultButton
The
JButton which restores default values. |
private MaxRuleAppSlider |
maxRuleAppSlider
The
MaxRuleAppSlider in which the maximal number of steps is
edited. |
private Map<String,List<JRadioButton>> |
propertyButtons
Maps a property key to the
JRadioButtons which defines the
values. |
private Map<String,ButtonGroup> |
propertyGroups
Maps a property to the used
ButtonGroup. |
private JComboBox<String> |
strategyPredefSettingsCmb
The
JComboBox for choosing a predefined value set. |
| Modifier | Constructor and Description |
|---|---|
private |
StrategySelectionComponents() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyButton(JRadioButton button,
String key)
Registers the given
JRadioButton for the given key. |
void |
addPropertyGroup(String property,
ButtonGroup group)
Adds the property group.
|
JButton |
getDefaultButton()
Returns the
JButton which restores default values. |
MaxRuleAppSlider |
getMaxRuleAppSlider()
Returns the
MaxRuleAppSlider in which the maximal number of
steps is edited. |
Map<String,List<JRadioButton>> |
getPropertyButtons()
Returns the mapping of property keys to the
JRadioButtons
which defines the values. |
Map<String,ButtonGroup> |
getPropertyGroups()
Returns the
Map of properties to ButtonGroups. |
JComboBox<String> |
getStrategyPredefSettingsCmb() |
void |
setDefaultButton(JButton defaultButton)
Sets the
JButton which restores default values. |
void |
setMaxRuleAppSlider(MaxRuleAppSlider maxRuleAppSlider)
Sets the
MaxRuleAppSlider in which the maximal number of
steps is edited. |
void |
setPredefsChoiceCmb(JComboBox<String> strategyPredefSettingsCmb)
Sets the
JComboBox for choosing a predefined value set. |
private MaxRuleAppSlider maxRuleAppSlider
MaxRuleAppSlider in which the maximal number of steps is
edited.private final Map<String,List<JRadioButton>> propertyButtons
JRadioButtons which defines the
values.private final Map<String,ButtonGroup> propertyGroups
ButtonGroup.public MaxRuleAppSlider getMaxRuleAppSlider()
MaxRuleAppSlider in which the maximal number of
steps is edited.MaxRuleAppSlider in which the maximal number of
steps is edited.public void setMaxRuleAppSlider(MaxRuleAppSlider maxRuleAppSlider)
MaxRuleAppSlider in which the maximal number of
steps is edited.maxRuleAppSlider - The MaxRuleAppSlider in which the maximal number
of steps is edited.public void addPropertyButton(JRadioButton button, String key)
JRadioButton for the given key.button - The JRadioButton.key - The key.public Map<String,List<JRadioButton>> getPropertyButtons()
JRadioButtons
which defines the values.JRadioButtons
which defines the values.public JButton getDefaultButton()
JButton which restores default values.JButton which restores default values.public JComboBox<String> getStrategyPredefSettingsCmb()
JComboBox for choosing a predefined value set.public void setDefaultButton(JButton defaultButton)
JButton which restores default values.defaultButton - The JButton which restores default values.public void setPredefsChoiceCmb(JComboBox<String> strategyPredefSettingsCmb)
JComboBox for choosing a predefined value set.strategyPredefSettingsCmb - The JComboBox for choosing a predefined value set.public Map<String,ButtonGroup> getPropertyGroups()
Map of properties to ButtonGroups.Map of properties to ButtonGroups.public void addPropertyGroup(String property, ButtonGroup group)
property - The property.group - The ButtonGroup.