Package jmri.jmrit.logixng.util.swing
Class LogixNG_SelectComboBoxSwing
- java.lang.Object
-
- jmri.jmrit.logixng.util.swing.LogixNG_SelectComboBoxSwing
-
public class LogixNG_SelectComboBoxSwing extends java.lang.Object
Swing class for jmri.jmrit.logixng.util.LogixNG_SelectComboBox.
-
-
Constructor Summary
Constructors Constructor Description LogixNG_SelectComboBoxSwing(javax.swing.JDialog dialog, SwingConfiguratorInterface swi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAddressingListener(javax.swing.event.ChangeListener listener)
void
addEnumListener(java.awt.event.ActionListener listener)
javax.swing.JPanel
createPanel(LogixNG_SelectComboBox selectComboBox)
javax.swing.JPanel
createPanel(LogixNG_SelectComboBox selectComboBox, java.lang.String defaultValue)
void
dispose()
NamedBeanAddressing
getAddressing()
java.lang.String
getValue()
boolean
isValueSelected(java.lang.String value)
boolean
isValueSelectedOrIndirectAddressing(java.lang.String value)
void
setValue(java.lang.String value)
void
setValues(java.lang.String[] valuesArray)
void
updateObject(LogixNG_SelectComboBox selectComboBox)
boolean
validate(LogixNG_SelectComboBox selectComboBox, java.util.List<java.lang.String> errorMessages)
-
-
-
Constructor Detail
-
LogixNG_SelectComboBoxSwing
public LogixNG_SelectComboBoxSwing(@Nonnull javax.swing.JDialog dialog, @Nonnull SwingConfiguratorInterface swi)
-
-
Method Detail
-
createPanel
public javax.swing.JPanel createPanel(@Nonnull LogixNG_SelectComboBox selectComboBox)
-
createPanel
public javax.swing.JPanel createPanel(@Nonnull LogixNG_SelectComboBox selectComboBox, java.lang.String defaultValue)
-
addAddressingListener
public void addAddressingListener(javax.swing.event.ChangeListener listener)
-
addEnumListener
public void addEnumListener(java.awt.event.ActionListener listener)
-
validate
public boolean validate(@Nonnull LogixNG_SelectComboBox selectComboBox, @Nonnull java.util.List<java.lang.String> errorMessages)
-
updateObject
public void updateObject(@Nonnull LogixNG_SelectComboBox selectComboBox)
-
isValueSelected
public boolean isValueSelected(java.lang.String value)
-
isValueSelectedOrIndirectAddressing
public boolean isValueSelectedOrIndirectAddressing(java.lang.String value)
-
getAddressing
public NamedBeanAddressing getAddressing()
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
setValues
public void setValues(java.lang.String[] valuesArray)
-
dispose
public void dispose()
-
-