Package se.datadosen.component
Class ComponentUtilities
java.lang.Object
se.datadosen.component.ComponentUtilities
Keep the enabled state of listed components in sync with a JComboBox selection
or the selcted state of an AbstractButton, for instance a JCheckBox
- Since:
- 8.5
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
whenEqualsDisable
(JComboBox cbox, Object value, JComponent comp) static void
whenEqualsDisable
(JComboBox cbox, Object value, JComponent... comps) static void
whenEqualsEnable
(JComboBox cbox, Object value, JComponent comp) static void
whenEqualsEnable
(JComboBox cbox, Object value, JComponent... comps) static void
whenSelectedDisable
(AbstractButton button, JComponent comp) static void
whenSelectedDisable
(AbstractButton button, JComponent... comps) static void
whenSelectedEnable
(AbstractButton button, JComponent comp) static void
whenSelectedEnable
(AbstractButton button, JComponent... comps)
-
Constructor Details
-
ComponentUtilities
public ComponentUtilities()
-
-
Method Details
-
whenSelectedEnable
-
whenSelectedDisable
-
whenSelectedEnable
-
whenSelectedDisable
-
whenEqualsEnable
-
whenEqualsDisable
-
whenEqualsEnable
-
whenEqualsDisable
-