|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
DHTML API provides the API interface for users. With DHTML API, user can easily embed the DHTML page or components into the JSP of themselves. All the methods in this interface can be invoked by remote server (RMI).
| Field Summary |
| Fields inherited from interface jet.web.dhtml.DHTMLConstant |
FLAG_DRILL, FLAG_EXPORT, FLAG_FILTER, FLAG_NAVIBAR, FLAG_NAVIGATE, FLAG_POPUP, FLAG_PRINT, FLAG_REFRESH, FLAG_RESET, FLAG_SAVE, FLAG_SEARCH, FLAG_SHOWMSTRPT, FLAG_SKIN, FLAG_SORT, FLAG_STYLE, FLAG_TOC, FLAG_TOOLBAR, FLAG_UNREDO, FLAG_USERBAR, FLAG_ZOOM, SCROLLAUTO, SCROLLNO, SCROLLYES |
| Method Summary | |
void |
addExpiryListener(java.lang.String id)
Adds the ExpiryListener to the specified UserSession. |
int |
checkUser(java.lang.String id,
java.lang.String name)
Creates a user when the specified user doesn't exists. |
byte[] |
copyOctet(java.lang.String id,
java.lang.String translate)
Copies the content of the specified binary file to a byte array. |
byte[] |
copyRstFile(java.lang.String id)
Copy a part result file into the byte array. |
char[] |
copyText(java.lang.String id,
java.lang.String translate)
Copies the content of the specified text file to a char array. |
void |
destroy()
Destroys DHTML API when exit. |
java.util.Vector |
dispatch(java.lang.String id,
java.util.Hashtable params)
Responses and processes all the requests from DHTML client. |
void |
expire(java.lang.String id)
Destroys user session when it expires. |
boolean |
getAutoRefresh()
Gets refresh informations. |
DHTMLToolkit |
getDHTMLToolkit()
Gets the DHTMLToolkit. |
java.lang.String |
getHelpImagePath()
Gets the physical path of user guide image resources. |
java.lang.String |
getHostName()
Gets the host name, |
java.lang.String |
getImagePath()
Gets the physical path of the image resources. |
java.lang.String |
getJS_CSSPath()
Gets the physical path of the java script and css file. |
java.lang.String |
getMainPage()
Get the path and filename of user main page. |
int |
getOpenedReports(java.lang.String uid)
Gets the number of opened reports. |
java.lang.String |
getPath()
Gets the parent dir of rscUri dir. |
int |
getRefreshInterval(java.lang.String id)
Return the user expiring time, in seconds. |
java.lang.String |
getReportName(java.lang.String uid,
int index)
Gets the report name by index. |
int |
getReportScroll(java.lang.String id)
Gets the report frame scrollbar type. |
java.lang.String |
getRscPath()
Gets the RscPath. |
java.lang.String |
getRscUri()
Gets the RscUri. |
java.lang.String |
getRstFileName(java.lang.String id)
Gets the save result file name. |
java.lang.String |
getRSTRemoteFullPath(java.lang.String id)
get the RST remote full path |
java.lang.String[] |
getStyle()
Gets the style name list. |
java.lang.String |
getTitle()
Gets current Browser's title text. |
java.lang.String |
getTitle(java.lang.String id)
Gets current Browser's title text. |
java.lang.String |
getURI()
Gets the uri. |
boolean |
getUserAutoRefresh(java.lang.String uid)
Gets the user refresh informations according to the user id. |
java.lang.String |
getUserEncoding(java.lang.String uid)
Gets the user encoding informations according to the user id. |
void |
initMainPage(java.lang.String userId,
java.util.Hashtable params)
init the mainpage |
boolean |
isAdvanceUserEnabled()
Determines whether the advanceuser mode is enabled. |
boolean |
isAdvanceUserEnabled(java.lang.String id)
Determines whether the advanceuser mode is enabled. |
boolean |
isCreateEnabled()
Determines whether the new feature is enabled. |
boolean |
isCreateEnabled(java.lang.String id)
Determines whether the new feature is enabled. |
boolean |
isDetailReport(java.lang.String uid)
Determines whether the current report is the detail report. |
boolean |
isDrillEnabled()
Determines whether the drill feature is enabled. |
boolean |
isDrillEnabled(java.lang.String id)
Determines whether the drill feature is enabled. |
boolean |
isExportEnabled()
Determines whether the export feature is enabled. |
boolean |
isExportEnabled(java.lang.String id)
Determines whether the export feature is enabled. |
boolean |
isFilterEnabled()
Determines whether filter is enabled |
boolean |
isFilterEnabled(java.lang.String id)
Determines whether filter is enabled |
boolean |
isFirstDetail(java.lang.String uid)
Determines whether the current detail report is the first detail report. |
boolean |
isIgnoreServerSetting()
Determines whether the server settings are ignored. |
boolean |
isLastDetail(java.lang.String uid)
Determines whether the current detail report is the last detail report. |
boolean |
isLocalSave(java.lang.String id)
Determines whether the save location is local. |
boolean |
isMenuEnabled()
Determines whether the menu feature is enabled. |
boolean |
isMenuEnabled(java.lang.String id)
Determines whether the menu feature is enabled. |
boolean |
isNavEnabled()
Determines whether the navigation feature is enabled. |
boolean |
isNavEnabled(java.lang.String id)
Determines whether the navigation feature is enabled. |
boolean |
isNavibarVisible(java.lang.String id)
Determines whether the Navigation bar is visible. |
boolean |
isPopupMenuEnabled()
Determines whether the pop up menu is enabled. |
boolean |
isPopupMenuEnabled(java.lang.String id)
Determines whether the pop up menu is enabled. |
boolean |
isPrintEnabled()
Determines whether print is enabled. |
boolean |
isPrintEnabled(java.lang.String id)
Determines whether print is enabled. |
boolean |
isRefreshEnabled()
Determines whether the refresh feature is enabled. |
boolean |
isRefreshEnabled(java.lang.String id)
Determines whether the refresh feature is enabled. |
boolean |
isResetEnabled()
Determines whether the reset feature is enabled. |
boolean |
isResetEnabled(java.lang.String id)
Determines whether the reset feature is enabled. |
boolean |
isSaveEnabled()
Determines whether the save feature is enabled. |
boolean |
isSaveEnabled(java.lang.String id)
Determines whether the save feature is enabled. |
boolean |
isSaveResultEnabled()
Determines whether the save result feature is enabled. |
boolean |
isSaveResultEnabled(java.lang.String id)
Determines whether the save result feature is enabled. |
boolean |
isSearchEnabled()
Determines whether the search feature is enabled. |
boolean |
isSearchEnabled(java.lang.String id)
Determines whether the search feature is enabled. |
boolean |
isSkinEnabled()
Determines whether the skin feature is enabled. |
boolean |
isSkinEnabled(java.lang.String id)
Determines whether the skin feature is enabled. |
boolean |
isSortEnabled()
Determines whether sort is enabled. |
boolean |
isSortEnabled(java.lang.String id)
Determines whether sort is enabled. |
boolean |
isStyleEnabled()
Determines whether the style feature is enabled. |
boolean |
isStyleEnabled(java.lang.String id)
Determines whether the style feature is enabled. |
boolean |
isSupport(java.lang.String user_agent)
Determines whether the user agent (browser) is supported. |
boolean |
isTocEnabled()
Determines whether Table Of Content is enabled |
boolean |
isTocEnabled(java.lang.String id)
Determines whether Table Of Content is enabled. |
boolean |
isTocGroupbyNameVisible()
Determines whether display Groupby field name before each TOC entry feature is enabled. |
boolean |
isTocGroupbyNameVisible(java.lang.String id)
Determines whether display Groupby field name before each TOC entry feature is enabled. |
boolean |
isTocVisible(java.lang.String id)
Determines whether the Table Of Content is visible. |
boolean |
isToolbarEnabled()
Determines whether the toolbar feature is enabled. |
boolean |
isToolbarEnabled(java.lang.String id)
Determines whether the toolbar feature is enabled. |
boolean |
isToolbarVisible(java.lang.String id)
Determines whether the Toolbar is visible. |
boolean |
isUnredoEnabled()
Determines whether the undo/redo feature is enabled. |
boolean |
isUnredoEnabled(java.lang.String id)
Determines whether the undo/redo feature is enabled. |
boolean |
isUserbarEnabled()
Determines whether user information panel is enabled |
boolean |
isUserbarEnabled(java.lang.String id)
Determines whether user information panel is enabled |
boolean |
isUserbarVisible(java.lang.String id)
Determines whether the user information panel is visible. |
boolean |
isZoomEnabled()
Determines whether the zoom feature is enabled. |
boolean |
isZoomEnabled(java.lang.String id)
Determines whether the zoom feature is enabled. |
char[] |
mainPage(java.lang.String id)
Writes the content of the DHTML default main page to a char array. |
char[] |
publishRptCss(java.lang.String id)
Writes the CSS definition list of current report to a char array. |
void |
setAdvanceUserEnabled(boolean b)
Sets the advanceuser mode enabled. |
void |
setAdvanceUserEnabled(java.lang.String id,
boolean b)
Sets the advanceuser mode enabled. |
void |
setAutoRefresh(boolean autoRefresh)
Sets refresh informations. |
void |
setContextPath(java.lang.String strPath)
Set the server context path |
void |
setCreateEnabled(boolean b)
Sets the new feature enabled. |
void |
setCreateEnabled(java.lang.String id,
boolean b)
Sets the new feature enabled. |
void |
setCssFolder(java.lang.String folderName)
set the DHTML css folder name. |
void |
setDebug(boolean b)
Sets the debug mode. |
void |
setDHTMLJSPPath(java.lang.String pathName)
set the DHTML JSP path name. |
void |
setDrillEnabled(boolean b)
Sets the drill feature enabled. |
void |
setDrillEnabled(java.lang.String id,
boolean b)
Sets the drill feature enabled. |
void |
setExportEnabled(boolean b)
Sets the export feature enabled. |
void |
setExportEnabled(java.lang.String id,
boolean b)
Sets the export feature enabled. |
void |
setFilterEnabled(boolean b)
Sets the filter enabled. |
void |
setFilterEnabled(java.lang.String id,
boolean b)
Sets the filter enabled. |
void |
setHelpImagePath(java.lang.String path)
Sets the physical path of user guide image resources. |
void |
setHostName(java.lang.String host)
Sets the host name, used by server monitor manager. |
void |
setIgnoreServerSetting(boolean b)
Sets whether to ignore server settings. |
void |
setImageFolder(java.lang.String folderName)
set the DHTML image folder name. |
void |
setImagePath(java.lang.String path)
Sets the physical path of the image resources. |
void |
setJS_CSSPath(java.lang.String path)
Sets the physical path of the java script and css file. |
void |
setJsFolder(java.lang.String folderName)
set the DHTML javascript folder name. |
void |
setMainPage(java.lang.String filePath)
Sets the path and filename for the user main page, which is used to customize the user's own main page. |
void |
setMenuEnabled(boolean b)
Sets the menu feature enabled. |
void |
setMenuEnabled(java.lang.String id,
boolean b)
Sets the menu feature enabled. |
void |
setNavEnabled(boolean b)
Sets the navigation feature enabled. |
void |
setNavEnabled(java.lang.String id,
boolean b)
Sets the navigation feature enabled. |
void |
setNavibarVisible(java.lang.String id,
boolean b)
Sets the Navigation bar visible. |
void |
setPath(java.lang.String path)
Sets the parent dir of rscUri dir. |
void |
setPopupMenuEnabled(boolean b)
Sets the pop up menu enabled. |
void |
setPopupMenuEnabled(java.lang.String id,
boolean b)
Sets the pop up menu enabled. |
void |
setPrintEnabled(boolean b)
Sets the print feature enabled. |
void |
setPrintEnabled(java.lang.String id,
boolean b)
Sets the print feature enabled. |
void |
setRefreshEnabled(boolean b)
Sets the refresh feature enabled. |
void |
setRefreshEnabled(java.lang.String id,
boolean b)
Sets the refresh feature enabled. |
void |
setRefreshInterval(java.lang.String id,
int timeout)
Sets the user session expiring time, in seconds. |
void |
setReportScroll(java.lang.String id,
int type)
Sets the report frame scrollbar type. |
void |
setResetEnabled(boolean b)
Sets the reset feature enabled. |
void |
setResetEnabled(java.lang.String id,
boolean b)
Sets the reset feature enabled. |
void |
setSaveEnabled(boolean b)
Sets the save feature enabled. |
void |
setSaveEnabled(java.lang.String id,
boolean b)
Sets the save feature enabled. |
void |
setSaveResultEnabled(boolean b)
Sets the save result feature enabled. |
void |
setSaveResultEnabled(java.lang.String id,
boolean b)
Sets the save result feature enabled. |
void |
setSearchEnabled(boolean b)
Sets the search feature enabled. |
void |
setSearchEnabled(java.lang.String id,
boolean b)
Sets the search feature enabled. |
void |
setSkinEnabled(boolean b)
Sets the skin feature enabled. |
void |
setSkinEnabled(java.lang.String id,
boolean b)
Sets the skin feature enabled. |
void |
setSkins(java.lang.String path,
java.lang.String name)
Sets the skin file path and file name. |
void |
setSortEnabled(boolean b)
Sets the sort enabled. |
void |
setSortEnabled(java.lang.String id,
boolean b)
Sets the sort enabled. |
void |
setStyle(java.lang.String[] styles)
Sets the names of the report style, which should be defined in JReport Designer. |
void |
setStyleEnabled(boolean b)
Sets the style feature enabled. |
void |
setStyleEnabled(java.lang.String id,
boolean b)
Sets the style feature enabled. |
void |
setTitle(java.lang.String title)
Sets the Browser's title text. |
void |
setTitle(java.lang.String id,
java.lang.String title)
Sets the Browser's title text. |
void |
setTocEnabled(boolean b)
Sets the Table Of Content enabled. |
void |
setTocEnabled(java.lang.String id,
boolean b)
Sets the Table Of Content enabled. |
void |
setTocGroupbyNameVisible(boolean b)
Sets feature that display groupby field name before each TOC entry enabled. |
void |
setTocGroupbyNameVisible(java.lang.String id,
boolean b)
Sets feature that display groupby field name before each TOC entry enabled. |
void |
setTocVisible(java.lang.String id,
boolean b)
Sets the Table Of Content visible. |
void |
setToolbarEnabled(boolean b)
Sets the toolbar feature enabled. |
void |
setToolbarEnabled(java.lang.String id,
boolean b)
Sets the toolbar feature enabled. |
void |
setToolbarVisible(java.lang.String id,
boolean b)
Sets the Toolbar visible. |
void |
setUnredoEnabled(boolean b)
Sets the undo/redo feature enabled. |
void |
setUnredoEnabled(java.lang.String id,
boolean b)
Sets the undo/redo feature enabled. |
void |
setURI(java.lang.String uri)
Sets the uri. |
void |
setUserAgent(java.lang.String user_agent)
Sets the user agent infomation. |
void |
setUserAutoRefresh(java.lang.String uid,
boolean autoRefresh)
Sets the user refresh informations according to the user id. |
void |
setUserbarEnabled(boolean b)
Sets the user information panel enabled. |
void |
setUserbarEnabled(java.lang.String id,
boolean b)
Sets the user information panel enabled. |
void |
setUserbarVisible(java.lang.String id,
boolean b)
Sets the user information panel visible. |
void |
setZoomEnabled(boolean b)
Sets the zoom feature enabled. |
void |
setZoomEnabled(java.lang.String id,
boolean b)
Sets the zoom feature enabled. |
char[] |
welcomePage(java.lang.String id,
java.util.Hashtable params)
Writes the content of the DHTML default welcome page to a char array. |
| Method Detail |
public void setPath(java.lang.String path)
path - - the physical dir on disk.public java.lang.String getPath()
public void setURI(java.lang.String uri)
throws java.io.IOException
uri - - the URI string
java.io.IOExceptionpublic java.lang.String getURI()
public java.lang.String getRscUri()
public java.lang.String getRscPath()
public void setSkins(java.lang.String path,
java.lang.String name)
throws java.io.IOException
path - skin file pathname - skin file name
java.io.IOExceptionpublic void setTitle(java.lang.String title)
title - the browser's title textpublic java.lang.String getTitle()
public void setTitle(java.lang.String id,
java.lang.String title)
id - the session idtitle - the browser's title textpublic java.lang.String getTitle(java.lang.String id)
id - the session id
public void setStyle(java.lang.String[] styles)
styles - the style name list.public java.lang.String[] getStyle()
public void setHostName(java.lang.String host)
public java.lang.String getHostName()
public int checkUser(java.lang.String id,
java.lang.String name)
throws RptServerException,
java.io.IOException
id - the session id.name - user name.
RptServerException
java.io.IOExceptionpublic void expire(java.lang.String id)
id - the session id.public void setJS_CSSPath(java.lang.String path)
path - the absolute path.public java.lang.String getJS_CSSPath()
public void setImagePath(java.lang.String path)
public java.lang.String getImagePath()
public void setHelpImagePath(java.lang.String path)
public java.lang.String getHelpImagePath()
public char[] copyText(java.lang.String id,
java.lang.String translate)
throws java.io.IOException
id - the session idtranslate - the text file name
java.io.IOException
public byte[] copyOctet(java.lang.String id,
java.lang.String translate)
throws java.io.IOException
id - the session idtranslate - the binary file name
java.io.IOException
public char[] publishRptCss(java.lang.String id)
throws java.io.IOException
id - the session id
java.io.IOException
public char[] mainPage(java.lang.String id)
throws java.io.IOException,
RptServerException
id - the session id
java.io.IOException
RptServerException
public char[] welcomePage(java.lang.String id,
java.util.Hashtable params)
throws java.io.IOException,
RptServerException
id - the session idparams - parameters needed to run the report
java.io.IOException
RptServerException
public java.util.Vector dispatch(java.lang.String id,
java.util.Hashtable params)
throws RptServerException,
java.io.IOException
id - the session idparams - client request query in hashtable type
RptServerException
java.io.IOExceptionpublic void destroy()
public void setDebug(boolean b)
public void setUserbarEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwisepublic boolean isUserbarEnabled()
public void setUserbarEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwisepublic boolean isUserbarEnabled(java.lang.String id)
id - the session id
public void setTocEnabled(boolean b)
b - If true, this DHTML feature is enabled; otherwise this DHTML feature is disabled.public boolean isTocEnabled()
public void setTocEnabled(java.lang.String id,
boolean b)
id - the session id.b - If true, this DHTML feature is enabled; otherwise this DHTML feature is disabled.public boolean isTocEnabled(java.lang.String id)
id - the session id
public void setFilterEnabled(boolean b)
b - If true, this DHTML feature is enabled; otherwise this DHTML feature is disabled.
public void setFilterEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; otherwise this DHTML feature is disabled.public boolean isFilterEnabled()
public boolean isFilterEnabled(java.lang.String id)
id - the session id
public void setSortEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise
public void setSortEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwisepublic boolean isSortEnabled()
public boolean isSortEnabled(java.lang.String id)
id - the session id
public void setSaveEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise.
public void setSaveEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwise.public boolean isSaveEnabled()
public boolean isSaveEnabled(java.lang.String id)
id - the session id
public void setSaveResultEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise.
public void setSaveResultEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwise.public boolean isSaveResultEnabled()
public boolean isSaveResultEnabled(java.lang.String id)
id - the session id
public void setExportEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise
public void setExportEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwisepublic boolean isExportEnabled()
public boolean isExportEnabled(java.lang.String id)
id - the session id
public void setPrintEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise.
public void setPrintEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwise.public boolean isPrintEnabled()
public boolean isPrintEnabled(java.lang.String id)
id - the session id
public void setSearchEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise.
public void setSearchEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwise.public boolean isSearchEnabled()
public boolean isSearchEnabled(java.lang.String id)
id - the session id
public void setStyleEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise.
public void setStyleEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwise.public boolean isStyleEnabled()
public boolean isStyleEnabled(java.lang.String id)
public void setZoomEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise.
public void setZoomEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwise.public boolean isZoomEnabled()
public boolean isZoomEnabled(java.lang.String id)
id - the session id
public void setSkinEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise
public void setSkinEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwisepublic boolean isSkinEnabled()
public boolean isSkinEnabled(java.lang.String id)
id - the session id
public void setPopupMenuEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise
public void setPopupMenuEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwisepublic boolean isPopupMenuEnabled()
public boolean isPopupMenuEnabled(java.lang.String id)
id - the session id
public void setDrillEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise
public void setDrillEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwisepublic boolean isDrillEnabled()
public boolean isDrillEnabled(java.lang.String id)
id - the session id
public void setRefreshEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise
public void setRefreshEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwisepublic boolean isRefreshEnabled()
public boolean isRefreshEnabled(java.lang.String id)
id - the session id
public void setResetEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise
public void setResetEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwisepublic boolean isResetEnabled()
public boolean isResetEnabled(java.lang.String id)
id - the session id
public void setUnredoEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise
public void setUnredoEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwisepublic boolean isUnredoEnabled()
public boolean isUnredoEnabled(java.lang.String id)
id - the session id
public void setNavEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise
public void setNavEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwisepublic boolean isNavEnabled()
public boolean isNavEnabled(java.lang.String id)
id - the session id
public void setCreateEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise
public void setCreateEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwisepublic boolean isCreateEnabled()
public boolean isCreateEnabled(java.lang.String id)
id - the session id
public void setMenuEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise
public void setMenuEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwisepublic boolean isMenuEnabled()
public boolean isMenuEnabled(java.lang.String id)
id - the session id
public void setToolbarEnabled(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise
public void setToolbarEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwisepublic boolean isToolbarEnabled()
public boolean isToolbarEnabled(java.lang.String id)
id - the session id
public void setAdvanceUserEnabled(boolean b)
b - If true, this DHTML mode is enabled; disabled otherwise
public void setAdvanceUserEnabled(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML mode is enabled; disabled otherwisepublic boolean isAdvanceUserEnabled()
public boolean isAdvanceUserEnabled(java.lang.String id)
id - the session id
public void setTocGroupbyNameVisible(boolean b)
b - If true, this DHTML feature is enabled; disabled otherwise
public void setTocGroupbyNameVisible(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML feature is enabled; disabled otherwisepublic boolean isTocGroupbyNameVisible()
public boolean isTocGroupbyNameVisible(java.lang.String id)
id - the session id
public void setTocVisible(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML component is visible; invisible otherwisepublic boolean isTocVisible(java.lang.String id)
id - the session id
public void setToolbarVisible(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML component is visible; invisible otherwisepublic boolean isToolbarVisible(java.lang.String id)
id - the session id
public void setUserbarVisible(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML component is visible; invisible otherwisepublic boolean isUserbarVisible(java.lang.String id)
id - the session id
public void setNavibarVisible(java.lang.String id,
boolean b)
id - the session idb - If true, this DHTML component is visible; invisible otherwisepublic boolean isNavibarVisible(java.lang.String id)
id - the session id
public void setRefreshInterval(java.lang.String id,
int timeout)
throws java.io.IOException
timeout - the user session expiring time, in seconds.
java.io.IOExceptionpublic int getRefreshInterval(java.lang.String id)
public boolean isLocalSave(java.lang.String id)
id - the session id.
public java.lang.String getRstFileName(java.lang.String id)
id - the session id.
public byte[] copyRstFile(java.lang.String id)
throws java.io.IOException
id - the session id.
java.io.IOExceptionpublic boolean isSupport(java.lang.String user_agent)
user_agent - name string of User Agent
public void setUserAgent(java.lang.String user_agent)
user_agent - name string of User Agentpublic void addExpiryListener(java.lang.String id)
id - the session idpublic void setMainPage(java.lang.String filePath)
filePath - the path and filename of the user main pagepublic java.lang.String getMainPage()
public void setReportScroll(java.lang.String id,
int type)
id - the session idtype - DHTMLConstant.SCROLLAUTO, DHTMLConstant.SCROLLYES, DHTMLConstant.SCROLLNOpublic int getReportScroll(java.lang.String id)
id - the session id
public void setIgnoreServerSetting(boolean b)
b - true to ignore server settings; false otherwisepublic boolean isIgnoreServerSetting()
public java.lang.String getUserEncoding(java.lang.String uid)
uid - the user id
public DHTMLToolkit getDHTMLToolkit()
DHTMLToolkitpublic int getOpenedReports(java.lang.String uid)
uid - the user session id.
public java.lang.String getReportName(java.lang.String uid,
int index)
uid - the user session id.index - the report index.
public boolean isFirstDetail(java.lang.String uid)
uid - the user session id.
public boolean isLastDetail(java.lang.String uid)
uid - the user session id.
public boolean isDetailReport(java.lang.String uid)
uid - the user session id.
public void setJsFolder(java.lang.String folderName)
public void setCssFolder(java.lang.String folderName)
public void setImageFolder(java.lang.String folderName)
public void setDHTMLJSPPath(java.lang.String pathName)
public void setUserAutoRefresh(java.lang.String uid,
boolean autoRefresh)
uid - the user idautoRefresh - If true, the DHTML page will be refreshed automatically; false otherwisepublic boolean getUserAutoRefresh(java.lang.String uid)
uid - the user id
public void setAutoRefresh(boolean autoRefresh)
autoRefresh - If true, the DHTML page will be refreshed automatically; false otherwisepublic boolean getAutoRefresh()
public void setContextPath(java.lang.String strPath)
strPath - the server context path
public void initMainPage(java.lang.String userId,
java.util.Hashtable params)
throws java.io.IOException,
RptServerException
java.io.IOException
RptServerExceptionpublic java.lang.String getRSTRemoteFullPath(java.lang.String id)
id - the session id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||