public class FwkMethodActionListener extends FwkListener implements FwkCommandActionInterface, java.awt.event.ActionListener
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
version |
fwkListener
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ev)
This method defines what action to perform.
|
void |
actionPerformed(FwkCommandInterface cmd)
Perform the action using the FwkCommandInterface only.
|
void |
executeMethod(java.lang.Object controller,
java.lang.String methodName)
Execute the method.
|
static FwkListener |
getInstance()
Deprecated.
Use FwkMethodCommand instead.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
getSingelton, menuCanceled, menuDeselected, menuSelected
getPresentationString, getPresentationString
getNiceVersion, release
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPresentationString, getPresentationString
release
public static final java.lang.String version
public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class FwkListener
public static FwkListener getInstance()
public void actionPerformed(FwkCommandInterface cmd)
actionPerformed
in interface FwkCommandActionInterface
actionPerformed
in class FwkListener
cmd
- The FwkCommand.public void actionPerformed(java.awt.event.ActionEvent ev)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class FwkListener
ev
- The action event.public void executeMethod(java.lang.Object controller, java.lang.String methodName)
controller
- The controller.methodName
- The name of the method to be executed.