org.xnap.commons.gui.util
Class EnableListener
java.lang.Object
org.xnap.commons.gui.util.EnableListener
- All Implemented Interfaces:
- ItemListener, EventListener
public class EnableListener
- extends Object
- implements ItemListener
Enables or disables a set of components.
- Author:
- Steffen Pingel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnableListener
public EnableListener(Component... components)
- Disables
components
.
- Parameters:
components
-
setComponentsEnabled
public void setComponentsEnabled(boolean state)
itemStateChanged
public void itemStateChanged(ItemEvent event)
- Specified by:
itemStateChanged
in interface ItemListener
Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.