org.gnu.gtk.event

Class UIManagerEvent

public class UIManagerEvent extends GtkEvent

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. Signal handling an connection has been completely re-implemented in java-gnome 4.0, so you will need to refactor any code attempting to use this class.

An event represeting action by a UIManager object.

See Also: UIManagerListener

Nested Class Summary
static classUIManagerEvent.Type
Constructor Summary
UIManagerEvent(Object source, EventType type)
Construct a UIManagerEvent object.
Method Summary
ActiongetAction()
WidgetgetWidget()
booleanisOfType(UIManagerEvent.Type aType)
voidsetAction(Action action)
voidsetWidget(Widget widget)

Constructor Detail

UIManagerEvent

public UIManagerEvent(Object source, EventType type)

Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Construct a UIManagerEvent object.

Method Detail

getAction

public Action getAction()

Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Returns: Returns the action.

getWidget

public Widget getWidget()

Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Returns: Returns the widget.

isOfType

public boolean isOfType(UIManagerEvent.Type aType)

Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Returns: True if the type of this event is the same as that stated.

setAction

public void setAction(Action action)

Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Parameters: action The action to set.

setWidget

public void setWidget(Widget widget)

Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Parameters: widget The widget to set.