Package jmri.jmrit.logixng.util.swing
Class LogixNG_SelectNamedBeanSwing<E extends NamedBean>
- java.lang.Object
-
- jmri.jmrit.logixng.util.swing.LogixNG_SelectNamedBeanSwing<E>
-
- Type Parameters:
E
- the type of the named bean
public class LogixNG_SelectNamedBeanSwing<E extends NamedBean> extends java.lang.Object
Swing class for jmri.jmrit.logixng.util.LogixNG_SelectNamedBean.
-
-
Constructor Summary
Constructors Constructor Description LogixNG_SelectNamedBeanSwing(Manager<E> manager, 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 l)
javax.swing.JPanel
createPanel(LogixNG_SelectNamedBean<E> selectNamedBean)
javax.swing.JPanel
createPanel(LogixNG_SelectNamedBean<E> selectNamedBean, java.util.function.Predicate<E> filter)
void
dispose()
NamedBeanAddressing
getAddressing()
E
getBean()
BeanSelectPanel<E>
getBeanSelectPanel()
void
removeAddressingListener(javax.swing.event.ChangeListener l)
void
updateObject(LogixNG_SelectNamedBean<E> selectNamedBean)
boolean
validate(LogixNG_SelectNamedBean<E> selectNamedBean, java.util.List<java.lang.String> errorMessages)
-
-
-
Constructor Detail
-
LogixNG_SelectNamedBeanSwing
public LogixNG_SelectNamedBeanSwing(@Nonnull Manager<E> manager, @Nonnull javax.swing.JDialog dialog, @Nonnull SwingConfiguratorInterface swi)
-
-
Method Detail
-
createPanel
public javax.swing.JPanel createPanel(@CheckForNull LogixNG_SelectNamedBean<E> selectNamedBean)
-
createPanel
public javax.swing.JPanel createPanel(@CheckForNull LogixNG_SelectNamedBean<E> selectNamedBean, @CheckForNull java.util.function.Predicate<E> filter)
-
validate
public boolean validate(@Nonnull LogixNG_SelectNamedBean<E> selectNamedBean, @Nonnull java.util.List<java.lang.String> errorMessages)
-
updateObject
public void updateObject(@Nonnull LogixNG_SelectNamedBean<E> selectNamedBean)
-
getBeanSelectPanel
public BeanSelectPanel<E> getBeanSelectPanel()
-
getAddressing
public NamedBeanAddressing getAddressing()
-
addAddressingListener
public void addAddressingListener(javax.swing.event.ChangeListener l)
-
removeAddressingListener
public void removeAddressingListener(javax.swing.event.ChangeListener l)
-
dispose
public void dispose()
-
-