org.gnu.gtk.event
public class ToolBarEvent 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.
This event is used to identify when a ToolBar receives an event| Nested Class Summary | |
|---|---|
| static class | ToolBarEvent.Type |
| Constructor Summary | |
|---|---|
| ToolBarEvent(Object source, EventType type)
Constructor for ToolBarEvent.
| |
| Method Summary | |
|---|---|
| int | getButtonNumber() |
| Orientation | getOrientation() |
| ToolBarStyle | getStyle() |
| int | getX() |
| int | getY() |
| boolean | isOfType(ToolBarEvent.Type aType) |
| void | setButtonNumber(int buttonNumber) |
| void | setOrientation(Orientation orientation) |
| void | setStyle(ToolBarStyle style) |
| void | setX(int x) |
| void | setY(int y) |
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.
Constructor for ToolBarEvent.Parameters: source 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.
Returns: Returns the buttonNumber.
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 orientation.
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 style.
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 x.
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 y.
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.
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: buttonNumber The buttonNumber to set.
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: orientation The orientation to set.
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: style The style to set.
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: x The x to set.
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: y The y to set.