Constructor Summary
Constructors
protected
Constructs an ItemHandler
.
Method Summary
All Methods Instance Methods Concrete Methods
void
Invoked when an item has been selected or deselected by the user.
Methods declared in class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
ItemHandler
protected ItemHandler ()
Constructs an ItemHandler
.
Method Details
itemStateChanged
Invoked when an item has been selected or deselected by the user.
The code written for this method performs the operations
that need to occur when an item is selected (or deselected).
Specified by:
itemStateChanged
in interface ItemListener
Parameters:
e
- the event to be processed
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2024, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .