|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.sree.RepletCommand
public class RepletCommand
A RepletCommand defines one or more replet actions. It can be used in the EventHandler to add client-side action, or returned from event listeners to specify the action for an event. The actions defined in RepletCommand are executed in the client-side report viewer.
| Nested Class Summary | |
|---|---|
static class |
RepletCommand.DataBinding
A command to bind data to element. |
static class |
RepletCommand.PromptParameters
A command to show a request dialog to prompt for parameter values. |
static class |
RepletCommand.Refresh
A command to refresh the contents on the viewer. |
static class |
RepletCommand.Reprint
A command to reprint the contents on the viewer. |
static class |
RepletCommand.ScrollTo
A command to scroll to a location in a replet. |
static class |
RepletCommand.SendRequest
A command to send a request to a replet (as a RequestEvent). |
static class |
RepletCommand.SetChanged
A command to reprint the contents on the viewer. |
static class |
RepletCommand.SetCursor
A command to change the cursor on the viewer. |
static class |
RepletCommand.ShowDrill
Command to show a drill. |
static class |
RepletCommand.ShowMenu
A command to show a popup menu. |
static class |
RepletCommand.ShowReplet
Command to show a replet. |
static class |
RepletCommand.ShowReport
Command to show a report. |
static class |
RepletCommand.ShowStatus
A command to show a message on the status bar of the viewer. |
static class |
RepletCommand.ShowURL
Command to show a web page. |
static class |
RepletCommand.ShowViewsheet
Command to show a viewsheet. |
| Constructor Summary | |
|---|---|
RepletCommand()
Create an empty command. |
|
| Method Summary | |
|---|---|
RepletCommand |
addCommand(RepletCommand cmd)
Add a sub-command to this command. |
RepletCommand |
addPromptParameters(String reqname)
Add a command to prompt users for parameters. |
RepletCommand |
addPromptParameters(String reqname,
Dimension size)
Add a command to prompt users for parameters. |
RepletCommand |
addRefresh()
Is a replet issues a refresh() command, its generate() method must handle a call with RepletRequest equals to null. |
RepletCommand |
addReprint()
Add a reprint request to format a report again. |
RepletCommand |
addScrollTo(String eid)
Add a command to scroll to the element. |
RepletCommand |
addScrollTo(String eid,
int row)
Add a command to scroll to the element and row. |
RepletCommand |
addSendRequest(RepletRequest req)
Add a command to send a request event to the server. |
RepletCommand |
addSetCursor(int cursor)
Add a command to change the cursor on viewer. |
RepletCommand |
addShowMenu(int x,
int y,
String[] items)
Add a command to popup a menu at the specified location. |
RepletCommand |
addShowMenu(int x,
int y,
String[] items,
String[] tips)
Add a command to popup a menu at the specified location. |
RepletCommand |
addShowMenu(String[] items)
Add a command to popup a menu. |
RepletCommand |
addShowMenu(String[] items,
String[] tips)
Add a command to popup a menu. |
RepletCommand |
addShowReplet(String name)
Add a show replet command. |
RepletCommand |
addShowReplet(String name,
RepletRequest param)
Add a command to show the specified replet on the viewer. |
RepletCommand |
addShowReplet(String name,
RepletRequest param,
String frame)
Add a command to show the specified replet on the viewer. |
RepletCommand |
addShowReport(String name)
Add a show report command. |
RepletCommand |
addShowReport(String name,
String frame)
Add a command to show the specified report on the viewer. |
RepletCommand |
addShowStatus(String msg)
Add a command to show status message at status bar. |
RepletCommand |
addShowURL(String url,
String target)
Add a command to show a web page. |
static RepletCommand |
dataBinding(String elementID,
String opFront)
Launch the data binding editing window. |
boolean |
equals(Object obj)
|
RepletCommand |
getCommand(Class type)
Get the command that matchs the specified command type. |
RepletCommand |
getCommand(int n)
Get the specified command. |
int |
getCommandCount()
Get the number of commands in this command. |
static RepletCommand |
promptParameters(String reqname)
Prompt users for parameters. |
static RepletCommand |
promptParameters(String reqname,
Dimension size)
Prompt users for parameters. |
static RepletCommand |
refresh()
If a replet issues a refresh() command, its generate() method must handle a call with RepletRequest equals to null. |
void |
removeCommand(Class type)
Remove all commands that matchs the specified command type. |
static RepletCommand |
reprint()
A reprint command causes a report to be printed (formatted) again. |
static RepletCommand |
scrollTo(String eid)
Scroll to the element. |
static RepletCommand |
scrollTo(String eid,
int row)
Scroll to the element and row. |
static RepletCommand |
sendRequest(RepletRequest req)
Send a request event to the server. |
static RepletCommand |
setChanged()
SetChanged command. |
static RepletCommand |
setCursor(int cursor)
Change the cursor on viewer. |
void |
setRepletRequest(RepletRequest req)
Set the request object used for this command. |
static RepletCommand |
showDrill(String name,
RepletRequest req,
String query,
String frame,
int linkType)
Show the specified drill on the viewer. |
static RepletCommand |
showMenu(int x,
int y,
String[] items)
Popup a menu at the specified location. |
static RepletCommand |
showMenu(int x,
int y,
String[] items,
String[] tips)
Popup a menu at the specified location. |
static RepletCommand |
showMenu(String[] items)
Popup a menu. |
static RepletCommand |
showMenu(String[] items,
String[] tips)
Popup a menu. |
static RepletCommand |
showReplet(String name)
Show the specified replet on the viewer. |
static RepletCommand |
showReplet(String name,
RepletRequest req)
Show the specified replet on the viewer. |
static RepletCommand |
showReplet(String name,
RepletRequest req,
String frame)
Show the specified replet on the viewer. |
static RepletCommand |
showReport(String name)
Show the specified report on the viewer. |
static RepletCommand |
showReport(String name,
String frame)
Show the specified report on the viewer. |
static RepletCommand |
showReport(String name,
String version,
String frame)
Show the specified report on the viewer. |
static RepletCommand |
showStatus(String msg)
Show status message at status bar. |
static RepletCommand |
showURL(String url,
String target)
Show the Web page referenced by the URL. |
static RepletCommand |
showViewsheet(String name,
RepletRequest req,
String frame,
String title)
Show the specified viewsheet on the viewer. |
static RepletCommand |
showViewsheet(String name,
RepletRequest req,
String frame,
String title,
String bookmarkName,
String bookmarkUser)
Show the specified viewsheet on the viewer. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RepletCommand()
| Method Detail |
|---|
public static RepletCommand showReport(String name)
name - report name.
public static RepletCommand showReport(String name,
String frame)
name - report name.frame - target frame name.
public static RepletCommand showReport(String name,
String version,
String frame)
name - report name.version - report version.frame - target frame name.public static RepletCommand showReplet(String name)
name - replet name.
public static RepletCommand showReplet(String name,
RepletRequest req)
name - replet name.req - replet request used to create the replet.
public static RepletCommand showReplet(String name,
RepletRequest req,
String frame)
name - replet name.req - replet request used to create the replet.frame - target frame name.
public static RepletCommand showViewsheet(String name,
RepletRequest req,
String frame,
String title)
name - replet name.req - replet request used to create the replet.frame - target frame name.title - label string.
public static RepletCommand showViewsheet(String name,
RepletRequest req,
String frame,
String title,
String bookmarkName,
String bookmarkUser)
name - replet name.req - replet request used to create the replet.frame - target frame name.title - label string.
public static RepletCommand showDrill(String name,
RepletRequest req,
String query,
String frame,
int linkType)
name - replet name.req - replet request used to create the replet.frame - target frame name.
public static RepletCommand dataBinding(String elementID,
String opFront)
public static RepletCommand showURL(String url,
String target)
url - URL string.target - target frame to display the document.public static RepletCommand showMenu(String[] items)
items - popup menu items.
public static RepletCommand showMenu(String[] items,
String[] tips)
items - popup menu items.tips - menu items tooltip texts.
public static RepletCommand showMenu(int x,
int y,
String[] items)
x - x coord.y - y coord.items - menu items.
public static RepletCommand showMenu(int x,
int y,
String[] items,
String[] tips)
x - x coord.y - y coord.items - menu items.tips - menu items tooltip texts.public static RepletCommand setCursor(int cursor)
cursor - predefined cursor style.public static RepletCommand promptParameters(String reqname)
reqname - name of the request to prompt for.
public static RepletCommand promptParameters(String reqname,
Dimension size)
reqname - name of the request to prompt for.size - the parameter window size.public static RepletCommand sendRequest(RepletRequest req)
req - replet request.public static RepletCommand refresh()
public static RepletCommand reprint()
public static RepletCommand setChanged()
public static RepletCommand scrollTo(String eid)
eid - element ID.
public static RepletCommand scrollTo(String eid,
int row)
eid - element ID.row - row number.public static RepletCommand showStatus(String msg)
msg - status message.public void setRepletRequest(RepletRequest req)
req - replet request object.public int getCommandCount()
public RepletCommand getCommand(int n)
n - command index.public RepletCommand getCommand(Class type)
type - type of the command to look for.public void removeCommand(Class type)
type - type of the command to remove;public RepletCommand addCommand(RepletCommand cmd)
cmd - sub-command.public RepletCommand addShowReplet(String name)
name - replet name.
public RepletCommand addShowReplet(String name,
RepletRequest param)
name - replet name.param - replet request used to create the replet.
public RepletCommand addShowReplet(String name,
RepletRequest param,
String frame)
name - replet name.param - replet request used to create the replet.frame - target frame name.public RepletCommand addShowReport(String name)
name - replet name.
public RepletCommand addShowReport(String name,
String frame)
name - report name.frame - target frame name.
public RepletCommand addShowURL(String url,
String target)
url - URL string.target - target frame name or null for current frame.public RepletCommand addShowMenu(String[] items)
items - popup menu items.
public RepletCommand addShowMenu(String[] items,
String[] tips)
items - popup menu items.tips - menu items tooltip texts.
public RepletCommand addShowMenu(int x,
int y,
String[] items)
x - x coord.y - y coord.items - menu items.
public RepletCommand addShowMenu(int x,
int y,
String[] items,
String[] tips)
x - x coord.y - y coord.items - menu items.tips - menu items tooltip texts.public RepletCommand addSetCursor(int cursor)
cursor - predefined cursor style.public RepletCommand addPromptParameters(String reqname)
reqname - name of the request to prompt for.
public RepletCommand addPromptParameters(String reqname,
Dimension size)
reqname - name of the request to prompt for.size - parameter window size.public RepletCommand addSendRequest(RepletRequest req)
req - replet request.public RepletCommand addRefresh()
public RepletCommand addReprint()
public RepletCommand addScrollTo(String eid)
eid - element ID.
public RepletCommand addScrollTo(String eid,
int row)
eid - element ID.row - row number.public RepletCommand addShowStatus(String msg)
msg - status message.public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class 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 | ||||||||