org.gnu.gtk.event
Class ToolBarEvent
- Serializable
public class ToolBarEvent
This event is used to identify when a ToolBar receives an event
ToolBarEvent(Object source, EventType type) - Constructor for ToolBarEvent.
|
ToolBarEvent
public ToolBarEvent(Object source,
EventType type)
Constructor for ToolBarEvent.
getButtonNumber
public int getButtonNumber()
- Returns the buttonNumber.
isOfType
public boolean isOfType(ToolBarEvent.Type aType)
- True if the type of this event is the same as that stated.
setButtonNumber
public void setButtonNumber(int buttonNumber)
buttonNumber
- The buttonNumber to set.
setOrientation
public void setOrientation(Orientation orientation)
orientation
- The orientation to set.
setStyle
public void setStyle(ToolBarStyle style)
style
- The style to set.
setX
public void setX(int x)
setY
public void setY(int y)