|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpt.moredata.dataentry.action.TestAction
Classe de teste.
| Constructor Summary | |
TestAction()
|
|
| Method Summary | |
ResponseMessage |
actionPerformed(ActionEvent event)
Description of the Method |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChange listener. |
java.lang.Object |
getValue(java.lang.String key)
Gets one of this object's properties using the associated key. |
boolean |
isEnabled()
Returns the enabled state of the Action. |
void |
putValue(java.lang.String key,
java.lang.Object value)
Sets one of this object's properties using the associated key. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a PropertyChange listener. |
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 |
| Constructor Detail |
public TestAction()
| Method Detail |
public ResponseMessage actionPerformed(ActionEvent event)
actionPerformed in interface Actionevent - Description of the Parameter
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
PropertyChange listener. Containers and attached
components use these methods to register interest in this Action
object. When its enabled state or other property changes, the registered
listeners are informed of the change.
listener - a PropertyChangeListener objectpublic java.lang.Object getValue(java.lang.String key)
key - Description of the Parameter
putValue(java.lang.String, java.lang.Object)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 enabled
public void putValue(java.lang.String key,
java.lang.Object value)
PropertyChangeEvent is sent to
listeners.
key - a String containing the keyvalue - an Object valuepublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
PropertyChange listener.
listener - a PropertyChangeListener objectaddPropertyChangeListener(java.beans.PropertyChangeListener)public 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 | ||||||||||