pt.moredata.dataentry.event
Class ActionEvent
java.lang.Object
java.util.EventObject
pt.moredata.dataentry.event.ActionEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ActionEvent
- extends java.util.EventObject
Company MoreData
- Version:
- $Revision: 1.3 $
- Author:
- pcarmo
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
ActionEvent(java.lang.Object source,
java.lang.String command,
RequestMessage message)
Cria um novo evento associado a uma menssagem com um pedido para ser
tratado pelo dataentry. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ActionEvent
public ActionEvent(java.lang.Object source,
java.lang.String command,
RequestMessage message)
- Cria um novo evento associado a uma menssagem com um pedido para ser
tratado pelo dataentry.
- Parameters:
source - Objecto que gerou o evento associado a accao.command - Comando associado a accao.message - Menssagem de pedido associada a accao.
getRequestMessage
public RequestMessage getRequestMessage()
- Devolve a menssagem que contem o pedido.
- Returns:
- Devolve a mensagem de pedido associada ao evento.
getActionCommand
public java.lang.String getActionCommand()
- Returns the command string associated with this action.
This string allows a "modal" component to specify one of several
commands, depending on its state. For example, a single button might
toggle between "show details" and "hide details". The source object
and the event would be the same in each case, but the command string
would identify the intended action.
- Returns:
- the string identifying the command for this event
getDataEntry
public DataEntry getDataEntry()
- Return the dataEntry associated with the RequestMessage.
- Returns:
- The dataEntry associated with the RequestMessage (may be null)
or null if the request message is null.