Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Std. Ed. v1.3.1

javax.swing.plaf.basic
Class BasicRootPaneUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.RootPaneUI
              |
              +--javax.swing.plaf.basic.BasicRootPaneUI
All Implemented Interfaces:
EventListener, PropertyChangeListener

public class BasicRootPaneUI
extends RootPaneUI
implements PropertyChangeListener

Basic implementation of RootPaneUI, there is one shared between all JRootPane instances.


Constructor Summary
BasicRootPaneUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
           
protected  void installComponents(JRootPane root)
           
protected  void installDefaults(JRootPane c)
           
protected  void installKeyboardActions(JRootPane root)
           
protected  void installListeners(JRootPane root)
           
 void installUI(JComponent c)
           
 void propertyChange(PropertyChangeEvent e)
          Invoked when a property changes on the root pane.
protected  void uninstallComponents(JRootPane root)
           
protected  void uninstallDefaults(JRootPane root)
           
protected  void uninstallKeyboardActions(JRootPane root)
           
protected  void uninstallListeners(JRootPane root)
           
 void uninstallUI(JComponent c)
           
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicRootPaneUI

public BasicRootPaneUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

installUI

public void installUI(JComponent c)
Overrides:
installUI in class ComponentUI

uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class ComponentUI

installDefaults

protected void installDefaults(JRootPane c)

installComponents

protected void installComponents(JRootPane root)

installListeners

protected void installListeners(JRootPane root)

installKeyboardActions

protected void installKeyboardActions(JRootPane root)

uninstallDefaults

protected void uninstallDefaults(JRootPane root)

uninstallComponents

protected void uninstallComponents(JRootPane root)

uninstallListeners

protected void uninstallListeners(JRootPane root)

uninstallKeyboardActions

protected void uninstallKeyboardActions(JRootPane root)

propertyChange

public void propertyChange(PropertyChangeEvent e)
Invoked when a property changes on the root pane. If the event indicates the defaultButton has changed, this will reinstall the keyboard actions.
Specified by:
propertyChange in interface PropertyChangeListener
Following copied from interface: java.beans.PropertyChangeListener
Parameters:
evt - A PropertyChangeEvent object describing the event source and the property that has changed.

JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

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

free hit counter