| java.lang.Object sun.awt.gtk.GComponentPeer sun.awt.gtk.GContainerPeer sun.awt.gtk.GPanelPeer sun.awt.gtk.GWindowPeer
All known Subclasses: sun.awt.gtk.GFramePeer, sun.awt.gtk.GDialogPeer,
Method Summary | |
Insets | calculateInsets() Calculates the insets using any values appropriate (such as borders). | native protected void | create() | public Graphics | getGraphics() | public Point | getLocationOnScreen() | int | getOriginX() | int | getOriginY() | void | initBorders() Sets up border values to some sensible values for this window. | void | postMouseEvent(int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int nativeEvent) | void | postPaintEvent(int x, int y, int width, int height) | protected void | postWindowEvent(int type) Posts the required window event to the queue. | native public void | requestFocus() This has been overridden because calling gtk_widget_grab_focus on a window does not take
focus away from a component. | public void | setBounds(int x, int y, int w, int h) This is overridden to set the bounds on the window manager's frame. | native protected void | setBoundsNative(int x, int y, int w, int h) Sets the bounds for the X window for this widget. | void | setDefaultBorders(int top, int left, int bottom, int right) Sets the default border values to be used for future windows. | native public void | setResizable(boolean resizeable) | public void | show() This is necessary to make sure the window manager's X window is in the correct place
after showing the window. | native public void | toBack() | native public void | toFront() |
topBorderleftBorderbottomBorderrightBorder | int topBorderleftBorderbottomBorderrightBorder(Code) | | |
calculateInsets | Insets calculateInsets()(Code) | | Calculates the insets using any values appropriate (such as borders).
|
create | native protected void create()(Code) | | |
getLocationOnScreen | public Point getLocationOnScreen()(Code) | | |
getOriginX | int getOriginX()(Code) | | |
getOriginY | int getOriginY()(Code) | | |
initBorders | void initBorders()(Code) | | Sets up border values to some sensible values for this window.
|
postMouseEvent | void postMouseEvent(int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int nativeEvent)(Code) | | |
postPaintEvent | void postPaintEvent(int x, int y, int width, int height)(Code) | | |
postWindowEvent | protected void postWindowEvent(int type)(Code) | | Posts the required window event to the queue.
|
requestFocus | native public void requestFocus()(Code) | | This has been overridden because calling gtk_widget_grab_focus on a window does not take
focus away from a component. We have to explicity set the focus component to NULL using
gtk_window_set_focus.
|
setBounds | public void setBounds(int x, int y, int w, int h)(Code) | | This is overridden to set the bounds on the window manager's frame.
|
setBoundsNative | native protected void setBoundsNative(int x, int y, int w, int h)(Code) | | Sets the bounds for the X window for this widget.
|
setDefaultBorders | void setDefaultBorders(int top, int left, int bottom, int right)(Code) | | Sets the default border values to be used for future windows.
|
setResizable | native public void setResizable(boolean resizeable)(Code) | | |
show | public void show()(Code) | | This is necessary to make sure the window manager's X window is in the correct place
after showing the window. It's not very elegant but it seems to be the only way to get
the right size and position of the actual outer frame under Gtk with any window manager.
|
toBack | native public void toBack()(Code) | | |
toFront | native public void toFront()(Code) | | |
Methods inherited from sun.awt.gtk.GComponentPeer | protected boolean canHavePixmapBackground()(Code)(Java Doc) public int checkImage(Image img, int w, int h, ImageObserver o)(Code)(Java Doc) abstract protected void create()(Code)(Java Doc) public Image createImage(ImageProducer producer)(Code)(Java Doc) public Image createImage(int width, int height)(Code)(Java Doc) public void dispose()(Code)(Java Doc) public ColorModel getColorModel()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) native public Point getLocationOnScreen()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) native public Dimension getPreferredSize()(Code)(Java Doc) public Toolkit getToolkit()(Code)(Java Doc) public void handleEvent(AWTEvent event)(Code)(Java Doc) native void hide()(Code)(Java Doc) public boolean isFocusTraversable()(Code)(Java Doc) public void lostOwnership(Clipboard clipboard, Transferable contents)(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) void postMouseEvent(int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int nativeEvent)(Code)(Java Doc) void postPaintEvent(int x, int y, int width, int height)(Code)(Java Doc) public boolean prepareImage(Image img, int w, int h, ImageObserver o)(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) native public void requestFocus()(Code)(Java Doc) public void setBackground(Color c)(Code)(Java Doc) public void setBounds(int x, int y, int width, int height)(Code)(Java Doc) native void setBoundsNative(int x, int y, int width, int height)(Code)(Java Doc) public void setCursor(Cursor cursor)(Code)(Java Doc) native public void setEnabled(boolean b)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setForeground(Color c)(Code)(Java Doc) public void setVisible(boolean b)(Code)(Java Doc) native void show()(Code)(Java Doc) protected byte[] stringToNulMultiByte(String string)(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void updateClient(Object arg)(Code)(Java Doc)
|
|
|