public class FormActionEvent extends FormEvent
A specific event class for dealing with action events.
Action events are triggered by components like buttons. They usually cause the application to perform a certain action. As an additional property a command string is provided.
source
Constructor and Description |
---|
FormActionEvent(Object source,
ComponentHandler<?> handler,
String name,
String cmd)
Creates a new instance of
FormActionEvent and initializes
it. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
This base implementation tests the handler and name
properties.
|
String |
getCommand()
Returns the action command string.
|
int |
hashCode()
Returns a hash code for this object.
|
getHandler, getName
getSource, toString
public FormActionEvent(Object source, ComponentHandler<?> handler, String name, String cmd)
FormActionEvent
and initializes
it.source
- the original eventhandler
- the component handlername
- the component's namecmd
- the action command stringpublic String getCommand()
public int hashCode()
public boolean equals(Object obj)
Copyright © 2016 The JGUIraffe Team. All rights reserved.