Package quadbase.chart.designer
Class QbChartDesigner
java.lang.Object
quadbase.chart.designer.QbChartDesigner
-
Constructor Summary
ConstructorsConstructorDescriptionQbChartDesigner(Object parent) QbChartDesigner(Object parent, String chtFile) QbChartDesigner(Object parent, String dataRegistry, boolean newChart) QbChartDesigner(Object parent, String dataRegistry, boolean newChart, String[] imagesPath) QbChartDesigner(Object parent, String chtFile, String[] imagesPath) QbChartDesigner(Object parent, quadbase.chart.designer.ChartMain chartMain) Internal use onlyQbChartDesigner(Object parent, quadbase.common.util.internal.DBInfoBasic dbInfo, boolean newChart) QbChartDesigner(Object parent, quadbase.common.util.internal.DBInfoBasic dbInfo, quadbase.common.paramquery.QueryInParamSet inSet, boolean newChart) QbChartDesigner(Object parent, quadbase.common.util.internal.DBInfoBasic dbInfo, quadbase.common.paramquery.QueryInParamSet inSet, boolean newChart, String[] imagesPath) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddispose()booleanexit()Gets a BrowseDirectories object that can be used to set the default browsing directories for different browse dialogs.String[]static Stringreturn servlet contextbooleanbooleanvoidif QbDesignerPassword is required for server, using [-QbDesignerPassword] flag please pass in QbDesigner password to login QbReportDesigner before calling setVisible(...) or getDesigner(...) methodsvoidif server requires login, using [-RequireLogin] flag please pass in userName and password to login QbReportDesigner before calling setVisible(...) or getDesigner(...) methodsvoidvoidsave()voidvoidsaveAs()static voidsetBackgroundImagePath(String path) voidsetByPassSaveAsIO(IByPassSaveAsForChart saveAsIO) Sets by pass save as IO by implementing IByPassSaveAsForChart interfacevoidsetChartIO(IChartIO chartIO) Sets where and how charts gets saved by passing in an argument chartIO that holds information on how to perform chart file IO.voidsetDataRegistry(String dataRegistry) static voidsetDebugMode(int mode) set debug mode to display debug statementstatic voidsetDebugMode(String mode) set debug mode to display debug statementvoidsetDefaultParamNames(String[] names) Internal use only.voidsetExitOnCancel(boolean state) static voidsetImagePath(String path) voidsetRootDirectoryForBrowse(String browseRoot) Sets a root directory for the user.voidsetSaveOnExitEnabled(boolean b) static voidsetServerAddress(String address) Set the server address of EspressManager.static voidsetServerHosts(Vector hostnames) Set the list of host names for EspressManager when tunneling is used.static voidsetServerPortNumber(int port) Set the port number of EspressManager.static voidsetServletContext(String context) static voidsetServletRunner(String comm_url) Set servlet runner hostname and port number Note: this static method MUST be called before any QbChart constructorvoidsetVisible(boolean b) static voiduseServlet(boolean b) Determines whether to use SOCKET or HTTP or SERVLET for chart server connection Note that this static method MUST be called before any QbChart constructor.
-
Constructor Details
-
QbChartDesigner
Internal use only -
QbChartDesigner
-
QbChartDesigner
-
QbChartDesigner
-
QbChartDesigner
public QbChartDesigner(Object parent, quadbase.common.util.internal.DBInfoBasic dbInfo, boolean newChart) -
QbChartDesigner
public QbChartDesigner(Object parent, quadbase.common.util.internal.DBInfoBasic dbInfo, quadbase.common.paramquery.QueryInParamSet inSet, boolean newChart) -
QbChartDesigner
-
QbChartDesigner
-
QbChartDesigner
-
-
Method Details
-
setDebugMode
public static void setDebugMode(int mode) set debug mode to display debug statement -
setDebugMode
set debug mode to display debug statement -
setDataRegistry
-
setChartIO
Sets where and how charts gets saved by passing in an argument chartIO that holds information on how to perform chart file IO. -
setByPassSaveAsIO
Sets by pass save as IO by implementing IByPassSaveAsForChart interface -
getDesigner
-
setVisible
public void setVisible(boolean b) -
login
if server requires login, using [-RequireLogin] flag please pass in userName and password to login QbReportDesigner before calling setVisible(...) or getDesigner(...) methods -
login
if QbDesignerPassword is required for server, using [-QbDesignerPassword] flag please pass in QbDesigner password to login QbReportDesigner before calling setVisible(...) or getDesigner(...) methods -
setRootDirectoryForBrowse
Sets a root directory for the user. The user is prohibited from browsing any directory above the root directory. -
getBrowseDirectories
Gets a BrowseDirectories object that can be used to set the default browsing directories for different browse dialogs. -
getChartMenuBar
-
getChartToolBar
-
dispose
public void dispose() -
saveAs
public void saveAs() -
save
public void save() -
save
-
exit
- Throws:
Exception
-
setExitOnCancel
public void setExitOnCancel(boolean state) -
isExitOnCancel
public boolean isExitOnCancel() -
setSaveOnExitEnabled
public void setSaveOnExitEnabled(boolean b) -
isSaveOnExitEnabled
public boolean isSaveOnExitEnabled() -
setDefaultParamNames
Internal use only. Specify a preset list of parameters to be used when defining parameters in a query. -
getDefaultParamNames
-
addDataSourceManagerListener
-
removeDataSourceManagerListener
-
setServerAddress
Set the server address of EspressManager. Use this address instead of the one provided in the espressmanager.cfg file. It also eliminates the need of the espressmanager.cfg file in the working directory.- Throws:
UnknownHostException
-
setServerPortNumber
public static void setServerPortNumber(int port) Set the port number of EspressManager. Use this port number instead of the one provided in the espressmanager.cfg file. It also eliminates the need of the espressmanager.cfg file in the working directory. -
setServerHosts
Set the list of host names for EspressManager when tunneling is used. Use these hosts along with the ones provided in the espressmanager.cfg file. If the espressmanager.cfg file is not present, then only these hosts will be used. -
setServletContext
-
getServletContext
return servlet context -
setServletRunner
Set servlet runner hostname and port number Note: this static method MUST be called before any QbChart constructor- Parameters:
comm_url- servlet runner hostname and port number
-
useServlet
public static void useServlet(boolean b) Determines whether to use SOCKET or HTTP or SERVLET for chart server connection Note that this static method MUST be called before any QbChart constructor.- Parameters:
b- If true use SERVLET connection, otherwise use other connection The default value is false.
-
setImagePath
-
setBackgroundImagePath
-