|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.actionprovider.ActionProviderEvent
public class ActionProviderEvent
ActionProviderEvent is fired by HttpActionProvider or SwingActionProvider whenever a command is executed that implements the ContentsChangedInterface and its isContentsChanged() method returns true.
If provided by the command, the eventInfo Map contains information about the commands's previous operation that is specific to the event's source.
A basic understanding of the ActionProvider Framework, of which this class is a part, is recommended before attempting to use this class.
For general information on the ActionProvider Framework, including an overview of how
the primary classes of the framework work together, refer to the
package documentation.
com.sas.actionprovider
For examples demonstrating how to use the ActionProvider Framework, including how to override default Actions or add new custom Actions, refer to the Samples Site.
Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site .
HttpActionProvider.fireContentsChanged(com.sas.actionprovider.ActionProviderEvent)
,
SwingActionProvider.fireContentsChanged(com.sas.actionprovider.ActionProviderEvent)
,
ContentsChangedInterface
,
Serialized FormField Summary | |
---|---|
protected java.util.Map |
eventInfo
The map containing information about the operation that was performed on the event's source. |
Constructor Summary | |
---|---|
ActionProviderEvent(java.lang.Object source)
Source Constructor |
|
ActionProviderEvent(java.lang.Object source,
java.util.Map eventInfo)
Source and eventInfo Constructor |
Method Summary | |
---|---|
java.util.Map |
getEventInfo()
Returns the map containing information about the operation that was performed on the event's source. |
void |
setEventInfo(java.util.Map eventInfo)
Sets the the map containing information about the operation that was performed on the event's source. |
Field Detail |
---|
protected java.util.Map eventInfo
Constructor Detail |
---|
public ActionProviderEvent(java.lang.Object source)
Source Constructor
source
- The object on which the operation took place.public ActionProviderEvent(java.lang.Object source, java.util.Map eventInfo)
Source and eventInfo Constructor
source
- The object on which the operation took place.eventInfo
- The map containing information about the operation that was performed on the
event's source.Method Detail |
---|
public java.util.Map getEventInfo()
The map contains information from the executed command.
setEventInfo(java.util.Map)
public void setEventInfo(java.util.Map eventInfo)
Sets the the map containing information about the operation that was performed on the event's source.
eventInfo
- The map containing information about the operation that was performed on the
event's source.getEventInfo()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |