Example usage for Java javax.swing JRootPane fields, constructors, methods, implement or subclass
The text is from its open source code.
int | FRAME Constant used for the windowDecorationStyle property. |
int | PLAIN_DIALOG Constant used for the windowDecorationStyle property. |
int | ERROR_DIALOG Constant used for the windowDecorationStyle property. |
int | FILE_CHOOSER_DIALOG Constant used for the windowDecorationStyle property. |
JRootPane() Creates a JRootPane , setting up its glassPane , layeredPane , and contentPane . |
Component | add(String name, Component comp) Adds the specified component to this container. |
ActionMap | getActionMap() Returns the ActionMap used to determine what Action to fire for particular KeyStroke binding. |
Object | getClientProperty(Object key) Returns the value of the property with the specified key. |
Component | getComponent(int n) Gets the nth component in this container. |
Container | getContentPane() Returns the content pane -- the container that holds the components parented by the root pane. |
Component | getGlassPane() Returns the current glass pane for this JRootPane . |
InputMap | getInputMap(int condition) Returns the InputMap that is used during condition . |
JLayeredPane | getLayeredPane() Gets the layered pane used by the root pane. |
Toolkit | getToolkit() Gets the toolkit of this component. |
void | putClientProperty(Object key, Object value) Adds an arbitrary key/value "client property" to this component. |
void | registerKeyboardAction(ActionListener anAction, KeyStroke aKeyStroke, int aCondition) This method is now obsolete, please use a combination of getActionMap() and getInputMap() for similar behavior. |
void | setCursor(Cursor cursor) Sets the cursor image to the specified cursor. |
void | setDefaultButton(JButton defaultButton) Sets the defaultButton property, which determines the current default button for this JRootPane . |
void | setGlassPane(Component glass) Sets a specified Component to be the glass pane for this root pane. |
void | setJMenuBar(JMenuBar menu) Adds or changes the menu bar used in the layered pane. |
void | setLayout(LayoutManager mgr) Sets the layout manager for this container. |
void | validate() Validates this container and all of its subcomponents. |