java.awt.peer
Interface FramePeer

All Superinterfaces:
ComponentPeer, ContainerPeer, WindowPeer

public interface FramePeer
extends WindowPeer

Disabled: no SafeJ information.

The peer interface for Frame. This adds a couple of frame specific methods to the WindowPeer interface. The peer interfaces are intended only for use in porting the AWT. They are not intended for use by application developers, and developers should not implement peers nor invoke any of the peer methods directly on the peer instances.


Field Summary
 
Fields inherited from interface java.awt.peer.ComponentPeer
DEFAULT_OPERATION, NO_EMBEDDED_CHECK, RESET_OPERATION, SET_BOUNDS, SET_CLIENT_SIZE, SET_LOCATION, SET_SIZE
 
Method Summary
 Rectangle getBoundsPrivate()
          Returns the size and location for embedded frames.
 int getState()
          Returns the current state of the frame.
 void setBoundsPrivate(int x, int y, int width, int height)
          Sets the size and location for embedded frames.
 void setMaximizedBounds(Rectangle bounds)
          Sets the bounds of the frame when it becomes maximized.
 void setMenuBar(MenuBar mb)
          Sets the menu bar for the frame.
 void setResizable(boolean resizeable)
          Sets if the frame should be resizable or not.
 void setState(int state)
          Changes the state of the frame.
 void setTitle(String title)
          Sets the title on the frame.
 
Methods inherited from interface java.awt.peer.WindowPeer
repositionSecurityWarning, setAlwaysOnTop, setModalBlocked, setOpacity, setOpaque, toBack, toFront, updateFocusableWindowState, updateIconImages, updateMinimumSize, updateWindow
 
Methods inherited from interface java.awt.peer.ContainerPeer
beginLayout, beginValidate, endLayout, endValidate, getInsets
 
Methods inherited from interface java.awt.peer.ComponentPeer
applyShape, canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, dispose, flip, getBackBuffer, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, isFocusable, isObscured, isReparentSupported, layout, paint, prepareImage, print, reparent, requestFocus, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, setZOrder, updateCursorImmediately, updateGraphicsData
 

Method Detail

setTitle

void setTitle(String title)
Class is disabled.

Sets the title on the frame.

Parameters:
title - the title to set
See Also:
Frame.setTitle(String)

setMenuBar

void setMenuBar(MenuBar mb)
Class is disabled.

Sets the menu bar for the frame.

Parameters:
mb - the menu bar to set
See Also:
Frame.setMenuBar(MenuBar)

setResizable

void setResizable(boolean resizeable)
Class is disabled.

Sets if the frame should be resizable or not.

Parameters:
resizeable - true when the frame should be resizable, false if not
See Also:
Frame.setResizable(boolean)

setState

void setState(int state)
Class is disabled.

Changes the state of the frame.

Parameters:
state - the new state
See Also:
Frame.setExtendedState(int)

getState

int getState()
Class is disabled.

Returns the current state of the frame.

Returns:
the current state of the frame
See Also:
Frame.getExtendedState()

setMaximizedBounds

void setMaximizedBounds(Rectangle bounds)
Class is disabled.

Sets the bounds of the frame when it becomes maximized.

Parameters:
bounds - the maximized bounds of the frame
See Also:
Frame.setMaximizedBounds(Rectangle)

setBoundsPrivate

void setBoundsPrivate(int x,
                      int y,
                      int width,
                      int height)
Class is disabled.

Sets the size and location for embedded frames. (On embedded frames, setLocation() and setBounds() always set the frame to (0,0) for backwards compatibility.

Parameters:
x - the X location
y - the Y location
width - the width of the frame
height - the height of the frame
See Also:
EmbeddedFrame.setBoundsPrivate(int, int, int, int)

getBoundsPrivate

Rectangle getBoundsPrivate()
Class is disabled.

Returns the size and location for embedded frames. (On embedded frames, setLocation() and setBounds() always set the frame to (0,0) for backwards compatibility.

Returns:
the bounds of an embedded frame
See Also:
EmbeddedFrame.getBoundsPrivate()