swingwtx.swing
Class JFrame
java.lang.Object
swingwt.awt.Component
swingwt.awt.Container
swingwt.awt.Window
swingwt.awt.Frame
swingwtx.swing.JFrame
- All Implemented Interfaces:
- ImageObserver, MenuContainer, RootPaneContainer, WindowConstants
- public class JFrame
- extends Frame
- implements WindowConstants, RootPaneContainer
Fields inherited from class swingwt.awt.Window |
delayPack, display, FRAME_DECORATION_HEIGHT, FRAME_DECORATION_WIDTH, iconImage, isClosed, isIcon, peer, pMenu, pMenuBar, rootPane, title, windowListeners |
Fields inherited from class swingwt.awt.Component |
accessibleContext, actionCommand, actionListeners, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, componentListeners, componentName, consumeAvailableHeight, consumeAvailableWidth, focusable, focusListeners, inputMethodListeners, isUserSetFont, keyListeners, layoutModifier, LEFT_ALIGNMENT, LOCK, mouseListeners, mouseMotionListeners, mouseWheelListeners, parent, pBackground, pCursor, pDoubleBuffered, pEnabled, pFont, pForeground, pLayoutData, pLocation, pMaxSize, pMinSize, ppeer, pPrefSize, pSize, pToolTipText, pVisible, RIGHT_ALIGNMENT, swingWTDefaultActionEventAdapter, swingWTEventAdapter, TOP_ALIGNMENT |
Methods inherited from class swingwt.awt.Window |
add, add, addMouseListener, addWindowListener, create, create, dispatchEvents, dispose, getBounds, getDefaultButton, getIconImage, getJMenuBar, getLayout, getLocationOnScreen, getMenuBar, getSize, getSWTPeer, getTitle, hide, isActive, pack, processWindowEvent, processWindowEvent, remove, removeMouseListener, removeWindowListener, repaintFix, setBounds, setBounds, setDefaultButton, setIconImage, setJMenuBar, setLayout, setLayout, setLocation, setLocation, setLocationRelativeTo, setMenuBar, setSize, setSize, setSwingWTParent, setTitle, setVisible, show, toBack, toFront |
Methods inherited from class swingwt.awt.Container |
add, add, add, addComponentToLayout, addContainerListener, debug_showContainmentTree, doAdd, doLayout, getComponent, getComponentCount, getComponentOrientation, getComponents, getComposite, getInsets, getMaximumSize, getMinimumSize, getParent, getPreferredSize, invalidate, minimumSize, preferredSize, processContainerEvent, processEvent, queuedValidate, remove, removeAll, removeComponentFromCache, removeContainerListener, revalidate, setLayoutImpl, setSwingWTParent, validate |
Methods inherited from class swingwt.awt.Component |
add, addActionListener, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseMotionListener, addMouseWheelListener, addNotify, calculatePreferredSize, componentOnlyDispose, computePreferredSize, contains, contains, createImage, createListenerArrayFromVector, createVolatileImage, dispatchEvent, getAccessibleContext, getActionCommand, getAlignmentX, getAlignmentY, getBackground, getCursor, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getListeners, getLocation, getName, getPeer, getPeerSize, getSize, getToolkit, getToolTipText, getTreeLock, getWidth, getX, getY, grabFocus, hasFocus, hasSetFont, imageUpdate, inside, isEnabled, isFocusable, isMinimumSizeSet, isShowing, isVisible, paint, paintComponent, processActionEvent, processComponentEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, processTraverseEvent, registerActionEvents, registerComponentEvents, registerEvents, registerExtendedModifyEvents, registerFocusEvents, registerKeyEvents, registerModifyEvents, registerMouseEvents, registerPaintEvents, registerTraversalEvents, removeActionListener, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, repaint, repaint, repaint, requestFocus, setActionCommand, setAlignmentX, setAlignmentY, setBackground, setComponentOrientation, setComponentRemoved, setCursor, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setFont, setForeground, setHeight, setMaximumSize, setMinimumSize, setName, setPreferredSize, setToolTipText, setWidth, transferFocus, transferFocusBackward, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NORMAL
public static final int NORMAL
- See Also:
- Constant Field Values
ICONIFIED
public static final int ICONIFIED
- See Also:
- Constant Field Values
MAXIMIZED_HORIZ
public static final int MAXIMIZED_HORIZ
- See Also:
- Constant Field Values
MAXIMIZED_VERT
public static final int MAXIMIZED_VERT
- See Also:
- Constant Field Values
MAXIMIZED_BOTH
public static final int MAXIMIZED_BOTH
- See Also:
- Constant Field Values
closeOperation
protected int closeOperation
isMax
protected boolean isMax
state
protected int state
JFrame
public JFrame()
JFrame
public JFrame(java.lang.String title)
JFrame
public JFrame(GraphicsConfiguration gc)
setCachedProperties
public void setCachedProperties()
- Description copied from class:
Component
- If the component has just been added to a container, but
properties were set in the meantime, this routine gets
called by JSWTComposite to set the cached properties.
- Overrides:
setCachedProperties
in class Window
getExtendedState
public int getExtendedState()
setExtendedState
public void setExtendedState(int state)
toggleWindowState
public void toggleWindowState()
- Handy for layout problems. Toggles the window between
max/norm according to what is set and guarantees
relayout of components
getDefaultCloseOperation
public int getDefaultCloseOperation()
setDefaultCloseOperation
public void setDefaultCloseOperation(int operation)
getContentPane
public Container getContentPane()
- Specified by:
getContentPane
in interface RootPaneContainer
getGlassPane
public Component getGlassPane()
- Specified by:
getGlassPane
in interface RootPaneContainer
getLayeredPane
public JLayeredPane getLayeredPane()
- Specified by:
getLayeredPane
in interface RootPaneContainer
getRootPane
public JRootPane getRootPane()
- Specified by:
getRootPane
in interface RootPaneContainer
setContentPane
public void setContentPane(Container contentPane)
- Specified by:
setContentPane
in interface RootPaneContainer
setGlassPane
public void setGlassPane(Component glassPane)
- Specified by:
setGlassPane
in interface RootPaneContainer
setLayeredPane
public void setLayeredPane(JLayeredPane layeredPane)
- Specified by:
setLayeredPane
in interface RootPaneContainer
registerWindowEvents
public void registerWindowEvents()
- Overrides:
registerWindowEvents
in class Window