org.gnu.gtk

Class EventBox

public class EventBox extends Bin

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may in the future have an equivalent in java-gnome 4.0, try looking for org.gnome.gtk.EventBox. You should be aware that there is a considerably different API in the new library: the architecture is completely different and most notably internals are no longer exposed to public view.

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
booleangetAboveChild()
Returns whether the EventBox is above the window of its' child.
static EventBoxgetEventBox(Handle handle)
Internal static factory method to be used by Java-Gnome only.
static TypegetType()
Retrieve the runtime type used by the GLib library.
booleangetWindowVisible()
Returns whether the EventBox has a visible window
voidsetAboveChild(boolean aboveChild)
Returns whether the EventBox is above or below the windows of its' child.
voidsetWindowVisible(boolean isVisible)
Sets whether the EventBox has a visible window.

Constructor Detail

EventBox

public EventBox()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Construct a new EventBox object.

EventBox

public EventBox(Handle handle)

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Construct an eventbox using a handle to a native resource.

Method Detail

getAboveChild

public boolean getAboveChild()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Returns whether the EventBox is above the window of its' child.

getEventBox

public static EventBox getEventBox(Handle handle)

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Internal static factory method to be used by Java-Gnome only.

getType

public static Type getType()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Retrieve the runtime type used by the GLib library.

getWindowVisible

public boolean getWindowVisible()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Returns whether the EventBox has a visible window

Returns: true if the EventBox has a visible window.

setAboveChild

public void setAboveChild(boolean aboveChild)

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Returns whether the EventBox is above or below the windows of its' child.

Parameters: aboveChild

setWindowVisible

public void setWindowVisible(boolean isVisible)

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Sets whether the EventBox has a visible window.

Parameters: isVisible