|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use POCodes.Button | |
---|---|
hermes | |
hermes.postoffice |
Uses of POCodes.Button in hermes |
---|
Methods in hermes with parameters of type POCodes.Button | |
---|---|
void |
World.subscribe(MouseSubscriber sub,
POCodes.Button button)
Registers a subscription to messages sent by a specific mouse button. |
void |
World.subscribe(MouseSubscriber sub,
POCodes.Button button,
HShape region)
A version of registerMouseSubscription that subscribes only to the requested button events that occur in the given region. |
Uses of POCodes.Button in hermes.postoffice |
---|
Methods in hermes.postoffice that return POCodes.Button | |
---|---|
POCodes.Button |
MouseMessage.getButton()
Gets the button pressed on the mouse. |
static POCodes.Button |
PostOffice.getMouseButton(java.awt.event.MouseEvent e)
Finds the proper mouse button code from a Swing mouse event. |
static POCodes.Button |
POCodes.Button.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static POCodes.Button[] |
POCodes.Button.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in hermes.postoffice with parameters of type POCodes.Button | |
---|---|
void |
PostOffice.subscribe(MouseSubscriber sub,
POCodes.Button button)
Registers a subscription to messages sent by a specific mouse button. |
void |
PostOffice.subscribe(MouseSubscriber sub,
POCodes.Button button,
HShape region)
A version of registerMouseSubscription that subscribes only to the requested button events that occur in the given region. |
Constructors in hermes.postoffice with parameters of type POCodes.Button | |
---|---|
MouseMessage(POCodes.Button buttonClicked,
POCodes.Click actionType,
int x,
int y)
Creates a new MouseMessage. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |