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