站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Class BasicMenuUI.ChangeHandler - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

javax.swing.plaf.basic
Class BasicMenuUI.ChangeHandler

java.lang.Object
  |
  +--javax.swing.plaf.basic.BasicMenuUI.ChangeHandler
Enclosing class:
BasicMenuUI

public class BasicMenuUI.ChangeHandler
extends Object
implements ChangeListener


Field Summary
 boolean isSelected
           
 JMenu menu
           
 BasicMenuUI ui
           
 Component wasFocused
           
 
Constructor Summary
BasicMenuUI.ChangeHandler(JMenu m, BasicMenuUI ui)
           
 
Method Summary
 void stateChanged(ChangeEvent e)
          Invoked when the target of the listener has changed its state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

menu

public JMenu menu

ui

public BasicMenuUI ui

isSelected

public boolean isSelected

wasFocused

public Component wasFocused
Constructor Detail

BasicMenuUI.ChangeHandler

public BasicMenuUI.ChangeHandler(JMenu m,
                                 BasicMenuUI ui)
Method Detail

stateChanged

public void stateChanged(ChangeEvent e)
Description copied from interface: ChangeListener
Invoked when the target of the listener has changed its state.
Specified by:
stateChanged in interface ChangeListener
Tags copied from interface: ChangeListener
Parameters:
e - a ChangeEvent object

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.