org.gnu.gtk

Class EventBox


public class EventBox
extends Bin

The EventBox widget is a container with a seethrough window that can receive events for the container widget - normally one that cannot recvieve its own. Events are sent to the windows, so a widget without windows cannot recieve events.

Constructor Summary

EventBox()
Construct a new EventBox object.
EventBox(Handle handle)
Construct an eventbox using a handle to a native resource.

Method Summary

boolean
getAboveChild()
Returns whether the EventBox is above the window of its' child.
static EventBox
getEventBox(Handle handle)
Internal static factory method to be used by Java-Gnome only.
static Type
getType()
Retrieve the runtime type used by the GLib library.
boolean
getWindowVisible()
Returns whether the EventBox has a visible window
void
setAboveChild(boolean aboveChild)
Returns whether the EventBox is above or below the windows of its' child.
void
setWindowVisible(boolean isVisible)
Sets whether the EventBox has a visible window.

Methods inherited from class org.gnu.gtk.Bin

getChild, getType

Methods inherited from class org.gnu.gtk.Container

add, addListener, getBooleanChildProperty, getBorderWidth, getChildProperty, getChildren, getEventListenerClass, getEventType, getIntChildProperty, getResizeMode, getType, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, setResizeMode

Methods inherited from class org.gnu.gtk.Widget

activate, addAccelerator, addEvents, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, draw, drawArea, drawArea, finish, getAccessible, getAllocation, getCanFocus, getColormap, getContext, getData, getDisplay, getDragData, getEventListenerClass, getEventType, getExtensionEvents, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getScreen, getSensitive, getStyle, getToplevel, getType, getWidget, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeAccelerator, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setCanFocus, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setEvents, setExtensionEvents, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight, unHighlight

Methods inherited from class org.gnu.gtk.GtkObject

destroy, getType, sink

Methods inherited from class org.gnu.glib.GObject

addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getEventListenerClass, getEventType, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getPixbufProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify

Constructor Details

EventBox

public EventBox()
Construct a new EventBox object.

EventBox

public EventBox(Handle handle)
Construct an eventbox using a handle to a native resource.

Method Details

getAboveChild

public boolean getAboveChild()
Returns whether the EventBox is above the window of its' child.

getEventBox

public static EventBox getEventBox(Handle handle)
Internal static factory method to be used by Java-Gnome only.

getType

public static Type getType()
Retrieve the runtime type used by the GLib library.
Overrides:
getType in interface Bin

getWindowVisible

public boolean getWindowVisible()
Returns whether the EventBox has a visible window
Returns:
true if the EventBox has a visible window.

setAboveChild

public void setAboveChild(boolean aboveChild)
Returns whether the EventBox is above or below the windows of its' child.
Parameters:
aboveChild -

setWindowVisible

public void setWindowVisible(boolean isVisible)
Sets whether the EventBox has a visible window.
Parameters:
isVisible -