javax.swing
public class JRootPane extends JComponent implements Accessible
Nested Class Summary | |
---|---|
protected class | JRootPane.AccessibleJRootPane |
protected class | JRootPane.RootLayout |
Field Summary | |
---|---|
protected Container | contentPane DOCUMENT ME! |
static int | COLOR_CHOOSER_DIALOG |
protected JButton | defaultButton |
protected Action | defaultPressAction
This field is unused since JDK1.3. |
protected Action | defaultReleaseAction
This field is unused since JDK1.3. |
static int | ERROR_DIALOG |
static int | FILE_CHOOSER_DIALOG |
static int | FRAME |
protected Component | glassPane DOCUMENT ME! |
static int | INFORMATION_DIALOG |
protected JLayeredPane | layeredPane DOCUMENT ME! |
protected JMenuBar | menuBar DOCUMENT ME! |
static int | NONE |
static int | PLAIN_DIALOG |
static int | QUESTION_DIALOG |
static int | WARNING_DIALOG |
Constructor Summary | |
---|---|
JRootPane()
Creates a new JRootPane object. |
Method Summary | |
---|---|
protected void | addImpl(Component comp, Object constraints, int index)
DOCUMENT ME!
|
protected Container | createContentPane()
DOCUMENT ME!
|
protected Component | createGlassPane()
DOCUMENT ME!
|
protected JLayeredPane | createLayeredPane()
DOCUMENT ME!
|
protected LayoutManager | createRootLayout()
DOCUMENT ME!
|
AccessibleContext | getAccessibleContext()
Returns the accessible context for this JRootPane. |
Container | getContentPane()
DOCUMENT ME!
|
JButton | getDefaultButton() |
Component | getGlassPane()
DOCUMENT ME!
|
JMenuBar | getJMenuBar()
DOCUMENT ME!
|
JLayeredPane | getLayeredPane()
DOCUMENT ME!
|
JMenuBar | getMenuBar() |
RootPaneUI | getUI()
DOCUMENT ME!
|
String | getUIClassID()
DOCUMENT ME!
|
int | getWindowDecorationStyle() |
boolean | isOptimizedDrawingEnable()
This returns true if the glassPane is not
visible because then the root pane can guarantee to tile its children
(the only other direct child is a JLayeredPane which must figure its
optimizeDrawingEnabled state on its own).
|
boolean | isValidateRoot()
DOCUMENT ME!
|
void | setContentPane(Container p)
Sets the JRootPane's content pane. |
void | setDefaultButton(JButton newButton) |
void | setGlassPane(Component f)
DOCUMENT ME!
|
void | setJMenuBar(JMenuBar m)
DOCUMENT ME!
|
void | setLayeredPane(JLayeredPane f)
Set the layered pane for the root pane.
|
void | setMenuBar(JMenuBar m) |
void | setUI(RootPaneUI ui)
DOCUMENT ME!
|
void | setWindowDecorationStyle(int style) |
void | updateUI()
DOCUMENT ME! |
Deprecated: since JDK1.3
This field is unused since JDK1.3. To override the default action you should modify the JRootPane's ActionMap.UNKNOWN: the specs indicate that the type of this field is a package private inner class javax.swing.JRootPane.DefaultAction. I assume that the closest public superclass is javax.swing.Action.
Deprecated: since JDK1.3
This field is unused since JDK1.3. To override the default action you should modify the JRootPane's ActionMap.UNKNOWN: the specs indicate that the type of this field is a package private inner class javax.swing.JRootPane.DefaultAction. I assume that the closest public superclass is javax.swing.Action.
JRootPane
object.Parameters: comp DOCUMENT ME! constraints DOCUMENT ME! index DOCUMENT ME!
Returns: DOCUMENT ME!
Returns: DOCUMENT ME!
Returns: DOCUMENT ME!
Returns: DOCUMENT ME!
Returns: the accessible context for this JRootPane
Returns: DOCUMENT ME!
Returns: DOCUMENT ME!
Returns: DOCUMENT ME!
Returns: DOCUMENT ME!
Deprecated: Replaced by getJMenuBar()
Returns: DOCUMENT ME!
Returns: DOCUMENT ME!
Since: 1.4
true
if the glassPane
is not
visible because then the root pane can guarantee to tile its children
(the only other direct child is a JLayeredPane which must figure its
optimizeDrawingEnabled
state on its own).
Returns: true
if the glassPane
is not
visible
Returns: DOCUMENT ME!
Parameters: p the Container that will be the content pane
Throws: IllegalComponentStateException if p is null
Parameters: f DOCUMENT ME!
Parameters: m DOCUMENT ME!
Parameters: f The JLayeredPane to be used.
Throws: IllegalComponentStateException if JLayeredPane parameter is null.
Deprecated: Replaced by setJMenuBar()
Parameters: ui DOCUMENT ME!
Since: 1.4