org.gnu.gtk.event

Class UIManagerEvent

Implemented Interfaces:
Serializable

public class UIManagerEvent
extends GtkEvent

An event represeting action by a UIManager object.
See Also:
UIManagerListener, UIManager

Nested Class Summary

static class
UIManagerEvent.Type

Constructor Summary

UIManagerEvent(Object source, EventType type)
Construct a UIManagerEvent object.

Method Summary

Action
getAction()
Widget
getWidget()
boolean
isOfType(UIManagerEvent.Type aType)
void
setAction(Action action)
void
setWidget(Widget widget)

Methods inherited from class org.gnu.gtk.event.GtkEvent

getSource, getType, toString

Constructor Details

UIManagerEvent

public UIManagerEvent(Object source,
                      EventType type)
Construct a UIManagerEvent object.

Method Details

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.