|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpt.moredata.dataentry.action.AbstractAction
Company MoreData
| Field Summary | |
protected DataEntry |
_dataEntry
Entrada de dados. |
protected boolean |
_enable
Indica se a acao esta activada ou não. |
protected ActionEvent |
_event
Evento associado a accao. |
protected RequestMessage |
_request
Pedido efectuadao a classe que implementa a acção. |
| Constructor Summary | |
AbstractAction()
|
|
| Method Summary | |
abstract ResponseMessage |
actionPerformed()
Invoked when an action occurs. |
ResponseMessage |
actionPerformed(ActionEvent event)
Invoked when an action occurs. |
protected void |
init(ActionEvent event)
Description of the Method |
boolean |
isEnabled()
Returns the enabled state of the Action. |
void |
setEnabled(boolean b)
Sets the enabled state of the Action. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean _enable
protected RequestMessage _request
protected DataEntry _dataEntry
protected ActionEvent _event
| Constructor Detail |
public AbstractAction()
| Method Detail |
protected void init(ActionEvent event)
event - Description of the Parameterpublic ResponseMessage actionPerformed(ActionEvent event)
actionPerformed in interface Actionevent - Description of the Parameter
public abstract ResponseMessage actionPerformed()
public boolean isEnabled()
Action. When enabled, any
component associated with this object is active and able to fire this
object's actionPerformed method.
isEnabled in interface ActionAction is enabledpublic void setEnabled(boolean b)
Action. When enabled, any
component associated with this object is active and able to fire this
object's actionPerformed method. If the value has changed,
a PropertyChangeEvent is sent to listeners.
setEnabled in interface Actionb - true to enable this Action, false to disable it
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||