Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.java.awt.peer.gtk
Class GtkContainerPeer  view GtkContainerPeer download GtkContainerPeer.java

java.lang.Object
  extended bygnu.java.awt.peer.gtk.GtkGenericPeer
      extended bygnu.java.awt.peer.gtk.GtkComponentPeer
          extended bygnu.java.awt.peer.gtk.GtkContainerPeer
All Implemented Interfaces:
java.awt.peer.ComponentPeer, java.awt.peer.ContainerPeer
Direct Known Subclasses:
GtkPanelPeer, GtkScrollPanePeer, GtkWindowPeer

public class GtkContainerPeer
extends GtkComponentPeer
implements java.awt.peer.ContainerPeer


Nested Class Summary
 
Nested classes inherited from class gnu.java.awt.peer.gtk.GtkComponentPeer
 
Field Summary
(package private)  java.awt.Container c
           
 
Fields inherited from class gnu.java.awt.peer.gtk.GtkComponentPeer
awtComponent, backBuffer, caps, insets
 
Fields inherited from class gnu.java.awt.peer.gtk.GtkGenericPeer
awtWidget, native_state
 
Constructor Summary
GtkContainerPeer(java.awt.Container c)
           
 
Method Summary
 void beginLayout()
           
 void beginValidate()
           
 void cancelPendingPaint(int x, int y, int width, int height)
          Cancel a pending paint event on a region of this container.
 void endLayout()
           
 void endValidate()
           
 java.awt.Insets getInsets()
           
 java.awt.Insets insets()
           
 boolean isPaintPending()
           
 boolean isRestackSupported()
          Check if this container peer can be restacked.
 void restack()
          Restack the component peers in this container peer.
 void setBackground(java.awt.Color c)
          Sets the background color of the component.
 void setBounds(int x, int y, int width, int height)
          Notifies the peer that the bounds of this component have changed.
 void setFont(java.awt.Font f)
          Sets the font of the component.
 
Methods inherited from class gnu.java.awt.peer.gtk.GtkComponentPeer
canDetermineObscurity, checkImage, coalescePaintEvent, connectSignals, create, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, disable, enable, flip, getBackBuffer, getBackground, getBounds, getColorModel, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, gtkWidgetDispatchKeyEvent, gtkWidgetGetBackground, gtkWidgetGetDimensions, gtkWidgetGetForeground, gtkWidgetGetLocationOnScreen, gtkWidgetGetPreferredDimensions, gtkWidgetRequestFocus, gtkWidgetSetBackground, gtkWidgetSetCursor, gtkWidgetSetCursorUnlocked, gtkWidgetSetForeground, gtkWidgetSetParent, gtkWidgetSetSensitive, gtkWindowGetLocationOnScreen, handleEvent, handlesWheelScrolling, hide, isEnabled, isFocusable, isFocusTraversable, isObscured, isRealized, isReparentSupported, layout, minimumSize, modalHasGrab, paint, paintComponent, postExposeEvent, postFocusEvent, postItemEvent, postKeyEvent, postMouseEvent, postMouseWheelEvent, postTextEvent, preferredSize, prepareImage, print, realize, repaint, reparent, requestFocus, requestFocus, reshape, setBounds, setComponentBounds, setCursor, setCursor, setEnabled, setEventMask, setForeground, setNativeBounds, setNativeEventMask, setParent, setParentAndBounds, setVisible, setVisibleAndEnabled, setVisibleNative, setVisibleNativeUnlocked, show, toString, updateComponent, updateCursorImmediately
 
Methods inherited from class gnu.java.awt.peer.gtk.GtkGenericPeer
dispose, getUniqueInteger, gtkWidgetModifyFont, gtkWidgetModifyFont, postActionEvent, printCurrentThread, q
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.peer.ComponentPeer
canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, disable, dispose, enable, flip, getBackBuffer, getBounds, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, hide, isFocusable, isFocusTraversable, isObscured, isReparentSupported, layout, minimumSize, paint, preferredSize, prepareImage, print, repaint, reparent, requestFocus, requestFocus, reshape, setBounds, setCursor, setEnabled, setEventMask, setForeground, setVisible, show, updateCursorImmediately
 

Field Detail

c

java.awt.Container c
Constructor Detail

GtkContainerPeer

public GtkContainerPeer(java.awt.Container c)
Method Detail

beginValidate

public void beginValidate()
Specified by:
beginValidate in interface java.awt.peer.ContainerPeer

endValidate

public void endValidate()
Specified by:
endValidate in interface java.awt.peer.ContainerPeer

getInsets

public java.awt.Insets getInsets()
Specified by:
getInsets in interface java.awt.peer.ContainerPeer

insets

public java.awt.Insets insets()
Specified by:
insets in interface java.awt.peer.ContainerPeer

setBounds

public void setBounds(int x,
                      int y,
                      int width,
                      int height)
Description copied from interface: java.awt.peer.ComponentPeer
Notifies the peer that the bounds of this component have changed. This is called by Component.setBounds(int, int, int, int)>Component.setBounds(int, int, int, int) 55 .

Specified by:
setBounds in interface java.awt.peer.ComponentPeer
Overrides:
setBounds in class GtkComponentPeer

setFont

public void setFont(java.awt.Font f)
Description copied from interface: java.awt.peer.ComponentPeer
Sets the font of the component. This is called by Component.setFont(Font)>Component.setFont(Font) 55 .

Specified by:
setFont in interface java.awt.peer.ComponentPeer
Overrides:
setFont in class GtkComponentPeer

beginLayout

public void beginLayout()
Specified by:
beginLayout in interface java.awt.peer.ContainerPeer

endLayout

public void endLayout()
Specified by:
endLayout in interface java.awt.peer.ContainerPeer

isPaintPending

public boolean isPaintPending()
Specified by:
isPaintPending in interface java.awt.peer.ContainerPeer

setBackground

public void setBackground(java.awt.Color c)
Description copied from interface: java.awt.peer.ComponentPeer
Sets the background color of the component. This is called by Component.setBackground(Color)>Component.setBackground(Color) 55 .

Specified by:
setBackground in interface java.awt.peer.ComponentPeer
Overrides:
setBackground in class GtkComponentPeer

isRestackSupported

public boolean isRestackSupported()
Description copied from interface: java.awt.peer.ContainerPeer
Check if this container peer can be restacked.

Specified by:
isRestackSupported in interface java.awt.peer.ContainerPeer

cancelPendingPaint

public void cancelPendingPaint(int x,
                               int y,
                               int width,
                               int height)
Description copied from interface: java.awt.peer.ContainerPeer
Cancel a pending paint event on a region of this container.

Specified by:
cancelPendingPaint in interface java.awt.peer.ContainerPeer

restack

public void restack()
Description copied from interface: java.awt.peer.ContainerPeer
Restack the component peers in this container peer.

Specified by:
restack in interface java.awt.peer.ContainerPeer