public abstract class ServletActionListener extends Object implements ActionListener
This class defines a server side action listener.
Constructor and Description |
---|
ServletActionListener()
Creates a new
ServletActionListener instance. |
ServletActionListener(boolean updateAll)
Creates a new
ServletActionListener instance. |
ServletActionListener(String[] parameters)
Creates a new
ServletActionListener instance. |
ServletActionListener(String[] parameters,
boolean updateAll)
Creates a new
ServletActionListener instance. |
ServletActionListener(String actionName,
String[] parameters)
Creates a new
ServletActionListener instance. |
ServletActionListener(String actionName,
String[] parameters,
boolean updateAll)
Creates a new
ServletActionListener instance. |
Modifier and Type | Method and Description |
---|---|
String |
getActionName()
Returns the name of the server side action to trigger.
|
String[] |
getAdditionalParameters()
Returns the additional parameters of this listener.
|
boolean |
isUpdateAll()
Returns whether refresh the image and capabilities or
the image only after the action.
|
void |
setActionName(String actionName)
Sets the name of the server side action to trigger.
|
void |
setAdditionalParameters(String[] parameters)
Sets the additional parameters of this listener.
|
void |
setUpdateAll(boolean updateAll)
Sets whether refresh the image and capabilities or the image only after the action.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
actionPerformed
public ServletActionListener(String actionName, String[] parameters, boolean updateAll)
Creates a new ServletActionListener
instance.
actionName
- The action name of the desired action.parameters
- The optional additional parameters.updateAll
- Whether refresh the image and capabilities or the image only.public ServletActionListener()
Creates a new ServletActionListener
instance.
public ServletActionListener(boolean updateAll)
Creates a new ServletActionListener
instance.
updateAll
- Whether refresh the image and capabilities or the image only.public ServletActionListener(String[] parameters)
Creates a new ServletActionListener
instance.
parameters
- The optional additional parameters.public ServletActionListener(String[] parameters, boolean updateAll)
Creates a new ServletActionListener
instance.
parameters
- The optional additional parameters.updateAll
- Whether refresh the image and capabilities or the image only.public String getActionName()
Returns the name of the server side action to trigger.
If this method returns null, the menu encoder will set the action name
of the default action listener that will call the actionPerformed
method of this object.
If the action name is not null, this action registered with the specified name on the servlet support will triggered.
public void setActionName(String actionName)
Sets the name of the server side action to trigger.
If this method returns null, the menu encoder will set the action name
of the default action listener that will call the actionPerformed
method of this object.
If the action name is not null, this action registered with the specified name on the servlet support will triggered.
actionName
- The action name.public String[] getAdditionalParameters()
public void setAdditionalParameters(String[] parameters)
parameters
- The additional parameters.public boolean isUpdateAll()
public void setUpdateAll(boolean updateAll)
updateAll
- Whether refresh the image and capabilities or the image only after the action.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.