gnu.awt.xlib

Class XFramePeer

Implemented Interfaces:
CanvasPeer, ComponentPeer, ContainerPeer, FramePeer, WindowPeer

public class XFramePeer
extends XCanvasPeer
implements FramePeer

FIXME: a lot of the code here should be moved down to XWindowPeer.

Field Summary

Fields inherited from class gnu.awt.xlib.XCanvasPeer

temporaryWindowwindow

Constructor Summary

XFramePeer(Frame frame)

Method Summary

void
beginLayout()
void
beginValidate()
void
endLayout()
void
endValidate()
Rectangle
getBoundsPrivate()
Insets
getInsets()
int
getState()
Insets
insets()
boolean
isPaintPending()
boolean
requestWindowFocus()
void
setAlwaysOnTop(boolean alwaysOnTop)
void
setBounds(int x, int y, int width, int height)
void
setBoundsPrivate(int x, int y, int width, int height)
void
setIconImage(Image image)
void
setMaximizedBounds(Rectangle r)
void
setMenuBar(MenuBar mb)
void
setModalBlocked(Dialog blocker, boolean blocked)
void
setResizable(boolean resizable)
void
setState(int state)
void
setTitle(String title)
void
toBack()
void
toFront()
void
updateAlwaysOnTop()
void
updateFocusableWindowState()
void
updateIconImages()
void
updateMinimumSize()

Methods inherited from class gnu.awt.xlib.XCanvasPeer

canDetermineObscurity, cancelPendingPaint, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, disable, dispose, enable, ensureFlush, flip, getBackBuffer, getBounds, getColorModel, getComponent, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, hide, isFocusTraversable, isFocusable, isObscured, isReparentSupported, isRestackSupported, layout, minimumSize, paint, preferredSize, prepareImage, print, repaint, reparent, requestFocus, requestFocus, requestFocus, reshape, restack, setBackground, setBounds, setBounds, setCursor, setEnabled, setEventMask, setFont, setForeground, setVisible, show, updateCursorImmediately

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

XFramePeer

public XFramePeer(Frame frame)

Method Details

beginLayout

public void beginLayout()
Specified by:
beginLayout in interface ContainerPeer

beginValidate

public void beginValidate()
Specified by:
beginValidate in interface ContainerPeer

endLayout

public void endLayout()
Specified by:
endLayout in interface ContainerPeer

endValidate

public void endValidate()
Specified by:
endValidate in interface ContainerPeer

getBoundsPrivate

public Rectangle getBoundsPrivate()
Specified by:
getBoundsPrivate in interface FramePeer

getInsets

public Insets getInsets()
Specified by:
getInsets in interface ContainerPeer

getState

public int getState()
Specified by:
getState in interface FramePeer

insets

public Insets insets()
Specified by:
insets in interface ContainerPeer

isPaintPending

public boolean isPaintPending()
Specified by:
isPaintPending in interface ContainerPeer

requestWindowFocus

public boolean requestWindowFocus()
Specified by:
requestWindowFocus in interface WindowPeer
Since:
1.5

setAlwaysOnTop

public void setAlwaysOnTop(boolean alwaysOnTop)
Specified by:
setAlwaysOnTop in interface WindowPeer

setBounds

public void setBounds(int x,
                      int y,
                      int width,
                      int height)
Specified by:
setBounds in interface ComponentPeer
Overrides:
setBounds in interface XCanvasPeer

setBoundsPrivate

public void setBoundsPrivate(int x,
                             int y,
                             int width,
                             int height)
Specified by:
setBoundsPrivate in interface FramePeer
Since:
1.5

setIconImage

public void setIconImage(Image image)
Specified by:
setIconImage in interface FramePeer

setMaximizedBounds

public void setMaximizedBounds(Rectangle r)
Specified by:
setMaximizedBounds in interface FramePeer

setMenuBar

public void setMenuBar(MenuBar mb)
Specified by:
setMenuBar in interface FramePeer

setModalBlocked

public void setModalBlocked(Dialog blocker,
                            boolean blocked)
Specified by:
setModalBlocked in interface WindowPeer

setResizable

public void setResizable(boolean resizable)
Specified by:
setResizable in interface FramePeer

setState

public void setState(int state)
Specified by:
setState in interface FramePeer

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface FramePeer

toBack

public void toBack()
Specified by:
toBack in interface WindowPeer

toFront

public void toFront()
Specified by:
toFront in interface WindowPeer

updateAlwaysOnTop

public void updateAlwaysOnTop()
Specified by:
updateAlwaysOnTop in interface WindowPeer
Since:
1.5

updateFocusableWindowState

public void updateFocusableWindowState()
Specified by:
updateFocusableWindowState in interface WindowPeer

updateIconImages

public void updateIconImages()
Specified by:
updateIconImages in interface WindowPeer

updateMinimumSize

public void updateMinimumSize()
Specified by:
updateMinimumSize in interface WindowPeer

Copyright (C) 2000, 2002, 2003 Free Software Foundation This file is part of libgcj. This software is copyrighted work licensed under the terms of the Libgcj License. Please consult the file "LIBGCJ_LICENSE" for details.