org.gnu.gtk.event

Class UIManagerEvent

public class UIManagerEvent extends GtkEvent

An event represeting action by a {@link org.gnu.gtk.UIManager} object.

See Also: UIManagerListener UIManager

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)
Construct a UIManagerEvent object.

Method Detail

getAction

public Action getAction()

Returns: Returns the action.

getWidget

public Widget getWidget()

Returns: Returns the widget.

isOfType

public boolean isOfType(UIManagerEvent.Type aType)

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

setAction

public void setAction(Action action)

Parameters: action The action to set.

setWidget

public void setWidget(Widget widget)

Parameters: widget The widget to set.