|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DHTMLToolkit
This an API of JReport ver. 7. It is recommended to use APIs of ver. 8 or JSP/tags. DHTML API provides the API interface for users.
Support multi-report running in one session
Descriptions of some key terms:
runtime id: the key of all reports running in server(generated by server automatically when you run a report). Methods using runtime id must be called after the code "Map tmpmap = DHTMLUtil.runReport(request, params);" in dhtml.jsp.
session id: the key of the session in server(generated by server automatically when you login). Methods using session id must be called before the code "Map tmpmap = DHTMLUtil.runReport(request, params);" in dhtml.jsp.
| Method Summary | |
|---|---|
java.lang.StringBuffer |
getBody(int left,
int top,
int scroll,
java.lang.String onload,
java.lang.String onresize,
java.lang.String id)
Gets the content of DHTML mainpage body. |
java.lang.StringBuffer |
getBody(java.lang.String bodyId,
int left,
int top,
int scroll,
java.lang.String onload,
java.lang.String onresize,
java.lang.String id)
Gets the content of DHTML mainpage body. |
java.lang.StringBuffer |
getBody(java.lang.String bodyId,
int left,
int top,
java.lang.String bgcolor,
int scroll,
java.lang.String onload,
java.lang.String onresize,
java.lang.String id)
Gets the content of DHTML mainpage body. |
java.lang.StringBuffer |
getBody(java.lang.String bodyId,
int left,
int top,
java.lang.String bgcolor,
int scroll,
java.lang.String onload,
java.lang.String onresize,
java.lang.String onunload,
java.lang.String id)
Gets the content of DHTML mainpage body. |
char[] |
getChars(java.lang.StringBuffer buf)
Converts the content of the specified StringBuffer to a char array. |
java.lang.StringBuffer |
getConnectFrame(java.lang.String id,
java.lang.String indent,
int count)
Gets the content of DHTML connect frame. |
java.lang.StringBuffer |
getConnectFrame(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
Gets the content of DHTML connect frame. |
java.lang.String |
getExcelDialogAct(java.lang.String id,
boolean modal,
java.lang.String title,
int width,
int height)
Gets the command string of the "show Export to Excel Dialog" action. |
java.lang.StringBuffer |
getExec(java.lang.String id,
java.lang.String indent,
java.lang.String[] function)
Gets the executeable javascript code fragment based on the specified functions |
java.lang.String |
getExitAct(java.lang.String id)
Gets the command string of the exit action. |
java.lang.StringBuffer |
getFilterPanel(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
Gets the content of DHTML Filter Panel. |
java.lang.StringBuffer |
getFooter()
Gets the content of DHTML footer. |
java.lang.StringBuffer |
getFooter(boolean pageLoaded)
Gets the content of DHTML footer. |
java.lang.StringBuffer |
getGroupSortPanel(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
Gets the content of DHTML group Sort Panel. |
java.lang.StringBuffer |
getHeader(java.lang.String title,
java.lang.String encoding,
java.lang.String[][] js,
java.lang.String[][] css,
java.lang.String id)
Gets the content of DHTML header. |
java.lang.StringBuffer |
getHeader(java.lang.String title,
java.lang.String encoding,
java.lang.String[] meta,
java.lang.String[][] js,
java.lang.String[][] css,
java.lang.String id)
Gets the content of DHTML header. |
java.lang.StringBuffer |
getMainPage(java.lang.String id)
Gets the content of DHTML mainpage. |
java.lang.StringBuffer |
getMainPageHeader(java.lang.String id,
java.lang.String indent,
int count,
int scroll)
Gets the content of DHTML mainpage pageheader. |
java.lang.StringBuffer |
getMenu(java.lang.String id,
java.lang.String indent,
int count)
Gets the content of DHTML menu. |
java.lang.StringBuffer |
getMenu(java.lang.String id,
java.lang.String indent,
int count,
int top)
Gets the content of DHTML menu. |
java.lang.StringBuffer |
getMenu(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
Gets the content of DHTML Menu. |
java.lang.StringBuffer |
getNavibar(java.lang.String id,
java.lang.String indent,
int count,
int top)
Gets the content of DHTML Toolbar. |
java.lang.StringBuffer |
getNavibar(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
Gets the content of DHTML Navigation bar. |
java.lang.String |
getPageCloseBtn(java.lang.String id,
java.lang.String indent,
int count,
boolean popwin)
|
java.lang.String |
getPageFilterBtn(java.lang.String id,
java.lang.String indent,
int count)
|
java.lang.String |
getPageHelpBtn(java.lang.String id,
java.lang.String indent,
int count)
|
java.lang.String |
getPageLockBtn(java.lang.String id,
java.lang.String indent,
int count)
|
java.lang.String |
getPageMenuBtn(java.lang.String id,
java.lang.String indent,
int count)
customize mainpage components |
java.lang.String |
getPageNavBtn(java.lang.String id,
java.lang.String indent,
int count)
|
java.lang.String |
getPagePrintBtn(java.lang.String id,
java.lang.String indent,
int count)
|
java.lang.String |
getPageRefreshBtn(java.lang.String id,
java.lang.String indent,
int count)
|
java.lang.String |
getPageResetBtn(java.lang.String id,
java.lang.String indent,
int count)
|
java.lang.String |
getPageSaveBtn(java.lang.String id,
java.lang.String indent,
int count)
|
java.lang.String |
getPageSearchBtn(java.lang.String id,
java.lang.String indent,
int count)
|
java.lang.String |
getPageSortBtn(java.lang.String id,
java.lang.String indent,
int count)
|
java.lang.String |
getPageTocBtn(java.lang.String id,
java.lang.String indent,
int count)
|
java.lang.String |
getPageZoomSelect(java.lang.String id,
java.lang.String indent,
int count)
|
java.lang.String |
getPrintDialogAct()
Gets the command string of the "show Print Dialog" action. |
java.lang.StringBuffer |
getPrintObject(java.lang.String indent,
int count)
Gets the print object. |
java.lang.StringBuffer |
getReportBrowser(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
Gets the content of DHTML Report Browser. |
java.lang.StringBuffer |
getReportBrowser(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height,
boolean isDisplay,
java.lang.String bgcolor)
Gets the html which the DHTML's Report Browser |
java.lang.StringBuffer |
getReportTabbar(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width)
Gets the content of DHTML Report tab bar. |
java.lang.StringBuffer |
getRequiredHTML(java.lang.String id)
Gets the Required HTML information,include js file,css file and some System Information. |
java.lang.String |
getSaveAsDialogAct(java.lang.String id)
Gets the command string of the "show Save as Dialog" action. |
java.lang.String |
getSaveRstDialogAct(java.lang.String id)
Gets the command string of the "show Save Result Dialog" action. |
java.lang.String |
getSearchDialogAct(java.lang.String id)
Gets the command string of the "show Search Dialog" action. |
java.lang.StringBuffer |
getSortPanel(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
Gets the content of DHTML Sort Panel. |
java.lang.StringBuffer |
getTOCBrowser(java.lang.String id,
int left,
int top,
int width,
int height,
boolean isDisplay,
java.lang.String bgColor)
Gets the content of DHTML Table Of Content. |
java.lang.StringBuffer |
getTOCBrowser(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
Gets the content of DHTML Table Of Content. |
java.lang.StringBuffer |
getTOCBrowser(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height,
java.lang.String tocId,
java.lang.String fid,
boolean isDisplay,
java.lang.String bgColor)
Gets the content of DHTML Table Of Content. |
java.lang.StringBuffer |
getTOCTree(java.lang.String id,
java.lang.String indent,
int count)
|
java.lang.StringBuffer |
getToolbar(java.lang.String id,
java.lang.String indent,
int count,
int top)
Gets the content of DHTML Toolbar. |
java.lang.StringBuffer |
getToolbar(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
Gets the content of DHTML Toolbar. |
java.lang.StringBuffer |
getToolbar(java.lang.String id,
java.lang.String indent,
int count,
int top,
java.lang.String toolbarId)
Gets the content of DHTML Toolbar. |
java.lang.StringBuffer |
getUserbar(java.lang.String id,
java.lang.String indent,
int count,
int top)
Gets the content of DHTML user information panel. |
java.lang.StringBuffer |
getUserbar(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
Gets the content of DHTML user information panel. |
java.lang.StringBuffer |
getVSplitbar(java.lang.String indent,
int count,
int top,
int height)
Gets the content of DHTML Split bar. |
java.lang.StringBuffer |
getWaiting(java.lang.String indent)
Gets the content of DHTML waiting div. |
void |
indent(java.lang.StringBuffer buffer,
java.lang.String indent,
int count)
Indents the content of specified StringBuffer. |
void |
setLayoutFunction(java.lang.String jsName,
java.lang.String funName)
Sets the javascript file name and function name that are used to format the UI layout. |
void |
setProperty(java.lang.String id,
java.lang.String objectId,
java.util.Hashtable properties)
|
void |
setProperty(java.lang.String id,
java.lang.String objectId,
java.lang.String propertyKey,
double propertyValue)
|
void |
setProperty(java.lang.String id,
java.lang.String objectId,
java.lang.String propertyKey,
float propertyValue)
|
void |
setProperty(java.lang.String id,
java.lang.String objectId,
java.lang.String propertyKey,
int propertyValue)
|
void |
setProperty(java.lang.String id,
java.lang.String objectId,
java.lang.String propertyKey,
java.lang.String propertyValue)
Set the component's property |
void |
toolbarButton(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
java.lang.String onmouseover,
java.lang.String onmouseout,
boolean enable,
java.lang.String onclick,
java.lang.String onmousedown,
java.lang.String onmouseup,
java.lang.String buttonId,
java.lang.String src,
java.lang.String title,
java.lang.StringBuffer buffer)
Generates the content of toolbar button to the specified StringBuffer. |
| Method Detail |
|---|
java.lang.StringBuffer getMainPage(java.lang.String id)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.
java.lang.StringBuffer getMainPageHeader(java.lang.String id,
java.lang.String indent,
int count,
int scroll)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersscroll - the scroll option, can be SCROLLAUTO, SCROLLYES, or SCROLLNO
java.lang.StringBuffer getBody(int left,
int top,
int scroll,
java.lang.String onload,
java.lang.String onresize,
java.lang.String id)
left - the left margin of mainpage body, measured in pixelstop - the top margin of mainpage body, measured in pixelsscroll - the scroll option, can be SCROLLAUTO, SCROLLYES, or SCROLLNOonload - specifies the method names of the javasript that you want to invoke when the page body is being loaded.onresize - specifies the method names of the javasript that you want to invoke when the browser is being resized.id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.
java.lang.StringBuffer getBody(java.lang.String bodyId,
int left,
int top,
int scroll,
java.lang.String onload,
java.lang.String onresize,
java.lang.String id)
bodyId - the body element idleft - the left margin of mainpage body, measured in pixelstop - the top margin of mainpage body, measured in pixelsscroll - the scroll option, can be SCROLLAUTO, SCROLLYES, or SCROLLNOonload - specifies the method names of the javasript that you want to invoke when page body is being loaded.onresize - specifies the method names of the javasript that you want to invoke when the browser is being resized.id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.
java.lang.StringBuffer getBody(java.lang.String bodyId,
int left,
int top,
java.lang.String bgcolor,
int scroll,
java.lang.String onload,
java.lang.String onresize,
java.lang.String id)
bodyId - the body element idbgcolor - the background color of bodyleft - the left margin of mainpage body, measured in pixelstop - the top margin of mainpage body, measured in pixelsscroll - the scroll option, can be SCROLLAUTO, SCROLLYES, or SCROLLNOonload - specifies the method names of the javasript that you want to invoke when page body is being loaded.onresize - specifies the method names of the javasript that you want to invoke when the browser is being resized.id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.
java.lang.StringBuffer getBody(java.lang.String bodyId,
int left,
int top,
java.lang.String bgcolor,
int scroll,
java.lang.String onload,
java.lang.String onresize,
java.lang.String onunload,
java.lang.String id)
bodyId - the body element idbgcolor - the background color of bodyleft - the left margin of mainpage body, measured in pixelstop - the top margin of mainpage body, measured in pixelsscroll - the scroll option, can be SCROLLAUTO, SCROLLYES, or SCROLLNOonload - specifies the method names of the javasript that you want to invoke when the page body is being loaded.onresize - specifies the method names of the javasript that you want to invoke when the browser is being resized.onunload - specifies the method names of the javasript that you want to invoke when the page body is being unloaded.id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.
java.lang.StringBuffer getConnectFrame(java.lang.String id,
java.lang.String indent,
int count)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbers
java.lang.StringBuffer getWaiting(java.lang.String indent)
indent - the indent that is used to format output content
java.lang.StringBuffer getConnectFrame(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of connect frame, measured in pixelstop - the top position of connect frame, measured in pixelswidth - the width of connect frame, measured in pixelsheight - the height of connect frame, measured in pixels
java.lang.StringBuffer getPrintObject(java.lang.String indent,
int count)
indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbers
java.lang.StringBuffer getUserbar(java.lang.String id,
java.lang.String indent,
int count,
int top)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numberstop - the top position of user information panel, measured in pixels
java.lang.StringBuffer getUserbar(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of user information panel, measured in pixelstop - the top position of user information panel, measured in pixelswidth - the width of user information panel, measured in pixelsheight - the height of user information panel, measured in pixels
java.lang.StringBuffer getMenu(java.lang.String id,
java.lang.String indent,
int count,
int top)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of menu, measured in pixelstop - the top position of menu, measured in pixels
java.lang.StringBuffer getMenu(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of Menu, measured in pixelstop - the top position of Menu, measured in pixelswidth - the width of Menu, measured in pixelsheight - the height of Menu, measured in pixels
java.lang.StringBuffer getMenu(java.lang.String id,
java.lang.String indent,
int count)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbers
java.lang.StringBuffer getVSplitbar(java.lang.String indent,
int count,
int top,
int height)
indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numberstop - the top position of Menu, measured in pixelsheight - the height of Menu, measured in pixels
java.lang.StringBuffer getReportTabbar(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of Menu, measured in pixelstop - the top position of Menu, measured in pixelswidth - the width of Menu, measured in pixels
java.lang.StringBuffer getToolbar(java.lang.String id,
java.lang.String indent,
int count,
int top)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of Toolbar, measured in pixelstop - the top position of Toolbar, measured in pixels
java.lang.StringBuffer getToolbar(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of Toolbar, measured in pixelstop - the top position of Toolbar, measured in pixelswidth - the width of Toolbar, measured in pixelsheight - the height of Toolbar, measured in pixels
java.lang.StringBuffer getToolbar(java.lang.String id,
java.lang.String indent,
int count,
int top,
java.lang.String toolbarId)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of Toolbar, measured in pixelstop - the top position of Toolbar, measured in pixelstoolbarId - the ID of Toolbar
java.lang.StringBuffer getNavibar(java.lang.String id,
java.lang.String indent,
int count,
int top)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of Toolbar, measured in pixelstop - the top position of Toolbar, measured in pixelswidth - the width of Toolbar, measured in pixelsheight - the height of Toolbar, measured in pixels
java.lang.StringBuffer getNavibar(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of Navigation bar, measured in pixelstop - the top position of Navigation bar, measured in pixelswidth - the width of Navigation bar, measured in pixelsheight - the height of Navigation bar, measured in pixels
java.lang.StringBuffer getTOCBrowser(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of table of content, measured in pixelstop - the top position of Table Of Content, measured in pixelswidth - the width of Table Of Content, measured in pixelsheight - the height of Table Of Content, measured in pixels
java.lang.StringBuffer getTOCTree(java.lang.String id,
java.lang.String indent,
int count)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbers
java.lang.StringBuffer getReportBrowser(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of Report Browser, measured in pixelstop - the top position of Report Browser, measured in pixelswidth - the width of Report Browser, measured in pixelsheight - the height of Report Browser, measured in pixels
java.lang.StringBuffer getFilterPanel(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of Filter Panel, measured in pixelstop - the top position of Filter Panel, measured in pixelswidth - the width of Filter Panel, measured in pixelsheight - the height of Filter Panel, measured in pixels
java.lang.StringBuffer getSortPanel(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of Sort Panel, measured in pixelstop - the top position of Sort Panel, measured in pixelswidth - the width of Sort Panel, measured in pixelsheight - the height of Sort Panel, measured in pixels
java.lang.StringBuffer getGroupSortPanel(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of Sort Panel, measured in pixelstop - the top position of Sort Panel, measured in pixelswidth - the width of Sort Panel, measured in pixelsheight - the height of Sort Panel, measured in pixels
java.lang.StringBuffer getHeader(java.lang.String title,
java.lang.String encoding,
java.lang.String[][] js,
java.lang.String[][] css,
java.lang.String id)
title - the page titleencoding - the page encodingjs - the javascripts included in this page, in which the js names are stored in the 1st element of the 2nd dimension,
and the js IDs are stored in the 2nd element of the 2nd dimension, like {{name, id},{name, id},...}css - the CSS files included in this page, in which the CSS names are stored in the 1st element of the 2nd dimension,
and the CSS IDs are stored in the 2nd element of the 2nd dimension, like {{name, id},{name, id},...}id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.
java.lang.StringBuffer getHeader(java.lang.String title,
java.lang.String encoding,
java.lang.String[] meta,
java.lang.String[][] js,
java.lang.String[][] css,
java.lang.String id)
title - the page titleencoding - the page encodingmeta - the page meta elementsjs - the javascripts included in this page, in which the js names are stored in the 1st element of the 2nd dimension,
and the js IDs are stored in the 2nd element of the 2nd dimension, like {{name, id},{name, id},...}css - the CSS files included in this page, in which the CSS names are stored in the 1st element of the 2nd dimension,
and the CSS IDs are stored in the 2nd element of the 2nd dimension, like {{name, id},{name, id},...}id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.
java.lang.StringBuffer getFooter()
java.lang.StringBuffer getFooter(boolean pageLoaded)
pageLoaded - specifies whether to generate the page loaded flag
java.lang.StringBuffer getExec(java.lang.String id,
java.lang.String indent,
java.lang.String[] function)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentthe - function names
void toolbarButton(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
java.lang.String onmouseover,
java.lang.String onmouseout,
boolean enable,
java.lang.String onclick,
java.lang.String onmousedown,
java.lang.String onmouseup,
java.lang.String buttonId,
java.lang.String src,
java.lang.String title,
java.lang.StringBuffer buffer)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of toolbar button, measured in pixelstop - the top position of toolbar button, measured in pixelsonmouseover - specifies the method names of the javasript that you want to invoke when the mouse is hanging over the button.onmouseout - specifies the method names of the javasript that you want to invoke when the mouse is moving out of the button.enable - specifies the button status, enabled or disabledonclick - specifies the method names of the javasript that you want to invoke when the button is being clicked.onmousedown - specifies the method names of the javasript that you want to invoke when the button is being pressed down.onmouseup - specifies the method names of the javasript that you want to invoke when the button is being released.buttonId - the button element idsrc - the button image file nametitle - the button tooltipthe - StringBuffer where to generates the content of toolbar button
java.lang.String getExcelDialogAct(java.lang.String id,
boolean modal,
java.lang.String title,
int width,
int height)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.
java.lang.String getPrintDialogAct()
java.lang.String getSearchDialogAct(java.lang.String id)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.
java.lang.String getSaveRstDialogAct(java.lang.String id)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.
java.lang.String getSaveAsDialogAct(java.lang.String id)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.
java.lang.String getExitAct(java.lang.String id)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.
void indent(java.lang.StringBuffer buffer,
java.lang.String indent,
int count)
buffer - the StringBufferindent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numberschar[] getChars(java.lang.StringBuffer buf)
buf - the StringBuffer
void setLayoutFunction(java.lang.String jsName,
java.lang.String funName)
jsName - the javascript file namefunName - the function name
java.lang.StringBuffer getTOCBrowser(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height,
java.lang.String tocId,
java.lang.String fid,
boolean isDisplay,
java.lang.String bgColor)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - the indent that is used to format output contentcount - the distance between start position and the leftmost column, measured in Tab numbersleft - the left position of table of content, measured in pixelstop - the top position of Table Of Content, measured in pixelswidth - the width of Table Of Content, measured in pixelsheight - the height of Table Of Content, measured in pixelstocId - the toc element id.fid - isDisplay - bgColor -
java.lang.StringBuffer getTOCBrowser(java.lang.String id,
int left,
int top,
int width,
int height,
boolean isDisplay,
java.lang.String bgColor)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.left - the left position of table of content, measured in pixelstop - the top position of Table Of Content, measured in pixelswidth - the width of Table Of Content, measured in pixelsheight - the height of Table Of Content, measured in pixelsisDisplay - bgColor -
java.lang.StringBuffer getReportBrowser(java.lang.String id,
java.lang.String indent,
int count,
int left,
int top,
int width,
int height,
boolean isDisplay,
java.lang.String bgcolor)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.indent - count - left - the left position of table of content, measured in pixelstop - the top position of Table Of Content, measured in pixelswidth - the width of Table Of Content, measured in pixelsheight - the height of Table Of Content, measured in pixelsisDisplay - whether the iframe is visible.bgColor - whate color the iframe.
java.lang.String getPageMenuBtn(java.lang.String id,
java.lang.String indent,
int count)
java.lang.String getPageTocBtn(java.lang.String id,
java.lang.String indent,
int count)
java.lang.String getPageZoomSelect(java.lang.String id,
java.lang.String indent,
int count)
java.lang.String getPageNavBtn(java.lang.String id,
java.lang.String indent,
int count)
java.lang.String getPageSearchBtn(java.lang.String id,
java.lang.String indent,
int count)
java.lang.String getPageSortBtn(java.lang.String id,
java.lang.String indent,
int count)
java.lang.String getPageFilterBtn(java.lang.String id,
java.lang.String indent,
int count)
java.lang.String getPageSaveBtn(java.lang.String id,
java.lang.String indent,
int count)
java.lang.String getPageResetBtn(java.lang.String id,
java.lang.String indent,
int count)
java.lang.String getPagePrintBtn(java.lang.String id,
java.lang.String indent,
int count)
java.lang.String getPageRefreshBtn(java.lang.String id,
java.lang.String indent,
int count)
java.lang.String getPageLockBtn(java.lang.String id,
java.lang.String indent,
int count)
java.lang.String getPageHelpBtn(java.lang.String id,
java.lang.String indent,
int count)
java.lang.String getPageCloseBtn(java.lang.String id,
java.lang.String indent,
int count,
boolean popwin)
void setProperty(java.lang.String id,
java.lang.String objectId,
java.lang.String propertyKey,
java.lang.String propertyValue)
throws java.lang.Exception
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.objectId - the component's idkey - the property name.propertyValue - the property value.
java.lang.Exception
void setProperty(java.lang.String id,
java.lang.String objectId,
java.lang.String propertyKey,
int propertyValue)
throws java.lang.Exception
java.lang.Exception
void setProperty(java.lang.String id,
java.lang.String objectId,
java.lang.String propertyKey,
float propertyValue)
throws java.lang.Exception
java.lang.Exception
void setProperty(java.lang.String id,
java.lang.String objectId,
java.lang.String propertyKey,
double propertyValue)
throws java.lang.Exception
java.lang.Exception
void setProperty(java.lang.String id,
java.lang.String objectId,
java.util.Hashtable properties)
throws java.lang.Exception
java.lang.Exceptionjava.lang.StringBuffer getRequiredHTML(java.lang.String id)
id - can be the report runtime id or the user session id.
When it is the user session id(Deprecated, it can't be used in multiple reports mode), it indicates the only report in session.
When it is the report runtime id, it indicates the report specified by this runtime id in session.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||