swingwt.awt
Class Frame

java.lang.Object
  extended byswingwt.awt.Component
      extended byswingwt.awt.Container
          extended byswingwt.awt.Window
              extended byswingwt.awt.Frame
All Implemented Interfaces:
ImageObserver, MenuContainer
Direct Known Subclasses:
JFrame

public class Frame
extends Window
implements MenuContainer

note: MenuContainer methods are actually implemented in Window, contrary to AWT/Swing. Still, add the interface here.


Field Summary
static int ICONIFIED
           
protected  boolean isResizable
           
static int MAXIMIZED_BOTH
           
static int MAXIMIZED_HORIZ
           
static int MAXIMIZED_VERT
           
static int NORMAL
           
 
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.Container
composite, comps, containerListeners, layout, queuedValidateRequest
 
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
 
Fields inherited from interface swingwt.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
Frame()
           
Frame(GraphicsConfiguration gc)
           
Frame(java.lang.String title)
           
 
Method Summary
protected  int getSWTFrameType()
           
 boolean isResizable()
           
 void remove(MenuComponent menuComponent)
           
 void setResizable(boolean b)
           
 
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, registerWindowEvents, remove, removeMouseListener, removeWindowListener, repaintFix, setBounds, setBounds, setCachedProperties, 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
 
Methods inherited from interface swingwt.awt.MenuContainer
getFont
 

Field Detail

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

isResizable

protected boolean isResizable
Constructor Detail

Frame

public Frame()

Frame

public Frame(GraphicsConfiguration gc)

Frame

public Frame(java.lang.String title)
Method Detail

getSWTFrameType

protected int getSWTFrameType()
Overrides:
getSWTFrameType in class Window

setResizable

public void setResizable(boolean b)

isResizable

public boolean isResizable()

remove

public void remove(MenuComponent menuComponent)
Specified by:
remove in interface MenuContainer
Overrides:
remove in class Component