Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
Field Summary |
Fields inherited from class gnu.java.awt.peer.gtk.GtkWindowPeer | |
GDK_WINDOW_TYPE_HINT_DESKTOP , GDK_WINDOW_TYPE_HINT_DIALOG , GDK_WINDOW_TYPE_HINT_DOCK , GDK_WINDOW_TYPE_HINT_MENU , GDK_WINDOW_TYPE_HINT_NORMAL , GDK_WINDOW_TYPE_HINT_SPLASHSCREEN , GDK_WINDOW_TYPE_HINT_TOOLBAR , GDK_WINDOW_TYPE_HINT_UTILITY , windowState |
Fields inherited from class gnu.java.awt.peer.gtk.GtkGenericPeer | |
awtWidget |
Constructor Summary | |
|
Method Summary | |
Rectangle | |
int |
|
protected void |
|
protected void |
|
boolean |
|
void |
|
void |
|
void |
|
void | |
void |
|
void |
|
void |
|
Methods inherited from class gnu.java.awt.peer.gtk.GtkWindowPeer | |
dispose , getBounds , getGraphics , getLocationOnScreen , postConfigureEvent , postExposeEvent , postInsetsChangedEvent , postMouseEvent , requestFocus , requestWindowFocus , setAlwaysOnTop , setBounds , setLocation , setModalBlocked , setResizable , setSize , setTitle , setVisibleNative , setVisibleNativeUnlocked , show , toBack , toFront , updateAlwaysOnTop , updateFocusableWindowState , updateIconImages , updateMinimumSize |
Methods inherited from class gnu.java.awt.peer.gtk.GtkContainerPeer | |
beginLayout , beginValidate , cancelPendingPaint , endLayout , endValidate , getInsets , insets , isPaintPending , isRestackSupported , restack , setBackground , setBounds , setFont |
Methods inherited from class gnu.java.awt.peer.gtk.GtkGenericPeer | |
dispose , gtkWidgetModifyFont , gtkWidgetModifyFont , postActionEvent |
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public Rectangle getBoundsPrivate()
- Specified by:
- getBoundsPrivate in interface FramePeer
protected void postConfigureEvent(int x, int y, int width, int height)
- Overrides:
- postConfigureEvent in interface GtkWindowPeer
protected void postInsetsChangedEvent(int top, int left, int bottom, int right)
- Overrides:
- postInsetsChangedEvent in interface GtkWindowPeer
public boolean requestWindowFocus()
Request that this window peer be given the window focus.
- Specified by:
- requestWindowFocus in interface WindowPeer
- Overrides:
- requestWindowFocus in interface GtkWindowPeer
- Returns:
- true if the window received focus, false otherwise
- Since:
- 1.5
public void setBounds(int x, int y, int width, int height)
Notifies the peer that the bounds of this component have changed. This is called byComponent.setBounds(int,int,int,int)
.
- Specified by:
- setBounds in interface ComponentPeer
- Overrides:
- setBounds in interface GtkWindowPeer
- Parameters:
x
- the X coordinate of the upper left corner of the componenty
- the Y coordinate of the upper left corner of the componentwidth
- the width of the componentheight
- the height of the component
public void setBoundsPrivate(int x, int y, int width, int height)
Sets the bounds of this frame peer.
- Specified by:
- setBoundsPrivate in interface FramePeer
- Parameters:
x
- the new x co-ordinatey
- the new y co-ordinatewidth
- the new widthheight
- the new height
- Since:
- 1.5
public void setMaximizedBounds(Rectangle r)
- Specified by:
- setMaximizedBounds in interface FramePeer
public void setResizable(boolean resizable)
Needed by both GtkFramePeer and GtkDialogPeer subclasses, so implemented here. But never actually called on a GtkWindowPeer itself.
- Specified by:
- setResizable in interface FramePeer
- Overrides:
- setResizable in interface GtkWindowPeer