|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ViewerAction
This class defines a custom button on a viewer. ViewerAction classes can be registered on the server to add custom buttons to the viewer. To add a custom button to the report viewer, register the ViewerAction class in the Adm GUI. A button is added to the viewer. When user clicks on the button, the ViewerAction's actionPerformed() is invoked.
| Method Summary | |
|---|---|
RepletCommand |
actionPerformed(Object rid,
RepletRepository repo,
Replet replet,
RepletRequest req)
Handle the action. |
String |
getIconResource()
Get the resource name for an image to be used as a tool button in the viewer. |
String |
getLabel()
Get the button label. |
RepletParameters |
getParameters()
Get the parameters for this action. |
boolean |
isVisible(Object rid,
Principal user,
RepletRepository repo)
Check if this action should be displayed for this report. |
| Method Detail |
|---|
String getIconResource()
String getLabel()
boolean isVisible(Object rid,
Principal user,
RepletRepository repo)
rid - replet id.user - user object, an instance of SRPrincipal.repo - replet repository object.RepletParameters getParameters()
RepletCommand actionPerformed(Object rid,
RepletRepository repo,
Replet replet,
RepletRequest req)
rid - replet id.repo - replet repository object.replet - replet object.
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||