|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JInternalFrame | +--com.klg.jclass.swing.JCMDIFrame
Extends Swing's basic internal frame class to make it possible to associate a
toolbar with an internal frame, as well as with the menu bar that is
supported by the basic JInternalFrame
.
Nested Class Summary |
Nested classes inherited from class javax.swing.JInternalFrame |
JInternalFrame.AccessibleJInternalFrame, JInternalFrame.JDesktopIcon |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
protected Container |
container
Substitute for content pane to make maximization easier. |
protected JMenuBar |
mDIMenubar
The menubar associated with this frame. |
protected JToolBar |
mDIToolbar
The toolbar associated with this frame. |
Fields inherited from class javax.swing.JInternalFrame |
closable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, frameIcon, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTY |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
JCMDIFrame()
|
|
JCMDIFrame(String title)
|
|
JCMDIFrame(String title,
boolean resizable)
|
|
JCMDIFrame(String title,
boolean resizable,
boolean closable)
|
|
JCMDIFrame(String title,
boolean resizable,
boolean closable,
boolean maximizable)
|
|
JCMDIFrame(String title,
boolean resizable,
boolean closable,
boolean maximizable,
boolean iconifiable)
|
Method Summary | |
String |
getAbout()
Returns vendor information. |
Container |
getContentPane()
Overrides getContentPane to provide a container one level
removed; this allows the frame to be maximized by reparenting its
children to a different parent. |
JMenuBar |
getMDIMenuBar()
Gets the menu bar associated with this frame. |
JToolBar |
getMDIToolBar()
Sets the toolbar associated with this frame. |
void |
restoreContainer(Container container)
Internal use only |
void |
setAbout(String s)
Provided for Beans property editors - has no effect. |
void |
setMDIMenuBar(JMenuBar menubar)
Sets the menu bar associated with this frame. |
void |
setMDIToolBar(JToolBar toolbar)
Sets the toolbar associated with this frame. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected JMenuBar mDIMenubar
protected JToolBar mDIToolbar
protected Container container
Constructor Detail |
public JCMDIFrame()
public JCMDIFrame(String title)
public JCMDIFrame(String title, boolean resizable)
public JCMDIFrame(String title, boolean resizable, boolean closable)
public JCMDIFrame(String title, boolean resizable, boolean closable, boolean maximizable)
public JCMDIFrame(String title, boolean resizable, boolean closable, boolean maximizable, boolean iconifiable)
Method Detail |
public void setAbout(String s)
s
- public String getAbout()
public void setMDIMenuBar(JMenuBar menubar)
If the parent of this frame
is a JCMDIPane
, then when this frame becomes active, its menu
bar will become the containing frame's menu bar.
menubar
- getMDIMenuBar()
,
setMDIToolBar(javax.swing.JToolBar)
,
getMDIToolBar()
public JMenuBar getMDIMenuBar()
If the parent of this
frame is a JCMDIPane
, then when this frame becomes active, its
menu bar will become the containing frame's menu bar.
setMDIMenuBar(javax.swing.JMenuBar)
,
setMDIToolBar(javax.swing.JToolBar)
,
getMDIToolBar()
public void setMDIToolBar(JToolBar toolbar)
If the parent of this frame is a JCMDIPane
, then when this
frame becomes active, its toolbar will become the containing frame's.
toolbar
- getMDIToolBar()
,
setMDIMenuBar(javax.swing.JMenuBar)
,
getMDIMenuBar()
public JToolBar getMDIToolBar()
If the parent of this frame is a JCMDIPane
, then when this
frame becomes active, its toolbar will become the containing frame's.
setMDIToolBar(javax.swing.JToolBar)
,
setMDIMenuBar(javax.swing.JMenuBar)
,
getMDIMenuBar()
public Container getContentPane()
getContentPane
to provide a container one level
removed; this allows the frame to be maximized by reparenting its
children to a different parent.
getContentPane
in interface RootPaneContainer
getContentPane
in class JInternalFrame
public void restoreContainer(Container container)
.
Method used by JCMDIPane
when unmaximizing.
container
-
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |