public class QbChartDesigner
extends java.lang.Object
Constructor and Description |
---|
QbChartDesigner(java.lang.Object parent) |
QbChartDesigner(java.lang.Object parent,
quadbase.chart.designer.ChartMain chartMain)
Internal use only
|
QbChartDesigner(java.lang.Object parent,
quadbase.common.util.internal.DBInfoBasic dbInfo,
boolean newChart) |
QbChartDesigner(java.lang.Object parent,
quadbase.common.util.internal.DBInfoBasic dbInfo,
quadbase.common.paramquery.QueryInParamSet inSet,
boolean newChart) |
QbChartDesigner(java.lang.Object parent,
quadbase.common.util.internal.DBInfoBasic dbInfo,
quadbase.common.paramquery.QueryInParamSet inSet,
boolean newChart,
java.lang.String[] imagesPath) |
QbChartDesigner(java.lang.Object parent,
java.lang.String chtFile) |
QbChartDesigner(java.lang.Object parent,
java.lang.String dataRegistry,
boolean newChart) |
QbChartDesigner(java.lang.Object parent,
java.lang.String dataRegistry,
boolean newChart,
java.lang.String[] imagesPath) |
QbChartDesigner(java.lang.Object parent,
java.lang.String chtFile,
java.lang.String[] imagesPath) |
Modifier and Type | Method and Description |
---|---|
void |
addDataSourceManagerListener(DataSourceManagerListener listener) |
void |
dispose() |
boolean |
exit() |
BrowseDirectories |
getBrowseDirectories()
Gets a BrowseDirectories object that can be used to set the default browsing directories for
different browse dialogs.
|
javax.swing.JMenuBar |
getChartMenuBar() |
javax.swing.JToolBar |
getChartToolBar() |
java.lang.String[] |
getDefaultParamNames() |
javax.swing.JFrame |
getDesigner() |
static java.lang.String |
getServletContext()
return servlet context
|
boolean |
isExitOnCancel() |
boolean |
isSaveOnExitEnabled() |
void |
login(java.lang.String designerPassword)
if QbDesignerPassword is required for server, using [-QbDesignerPassword] flag please pass in
QbDesigner password to login QbReportDesigner before calling setVisible(...) or
getDesigner(...) methods
|
void |
login(java.lang.String userName,
java.lang.String password)
if server requires login, using [-RequireLogin] flag please pass in userName and password to
login QbReportDesigner before calling setVisible(...) or getDesigner(...) methods
|
void |
removeDataSourceManagerListener(DataSourceManagerListener listener) |
void |
save() |
void |
save(java.lang.String fileLocation) |
void |
saveAs() |
static void |
setBackgroundImagePath(java.lang.String path) |
void |
setByPassSaveAsIO(IByPassSaveAsForChart saveAsIO)
Sets by pass save as IO by implementing IByPassSaveAsForChart interface
|
void |
setChartIO(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.
|
void |
setDataRegistry(java.lang.String dataRegistry) |
static void |
setDebugMode(int mode)
set debug mode to display debug statement
|
static void |
setDebugMode(java.lang.String mode)
set debug mode to display debug statement
|
void |
setDefaultParamNames(java.lang.String[] names)
Internal use only.
|
void |
setExitOnCancel(boolean state) |
static void |
setImagePath(java.lang.String path) |
void |
setRootDirectoryForBrowse(java.lang.String browseRoot)
Sets a root directory for the user.
|
void |
setSaveOnExitEnabled(boolean b) |
static void |
setServerAddress(java.lang.String address)
Set the server address of EspressManager.
|
static void |
setServerHosts(java.util.Vector hostnames)
Set the list of host names for EspressManager when tunneling is used.
|
static void |
setServerPortNumber(int port)
Set the port number of EspressManager.
|
static void |
setServletContext(java.lang.String context) |
static void |
setServletRunner(java.lang.String comm_url)
Set servlet runner hostname and port number Note: this static method MUST be called before
any QbChart constructor
|
void |
setVisible(boolean b) |
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.
|
public QbChartDesigner(java.lang.Object parent, quadbase.chart.designer.ChartMain chartMain)
public QbChartDesigner(java.lang.Object parent)
public QbChartDesigner(java.lang.Object parent, java.lang.String chtFile)
public QbChartDesigner(java.lang.Object parent, java.lang.String chtFile, java.lang.String[] imagesPath)
public QbChartDesigner(java.lang.Object parent, quadbase.common.util.internal.DBInfoBasic dbInfo, boolean newChart)
public QbChartDesigner(java.lang.Object parent, quadbase.common.util.internal.DBInfoBasic dbInfo, quadbase.common.paramquery.QueryInParamSet inSet, boolean newChart)
public QbChartDesigner(java.lang.Object parent, quadbase.common.util.internal.DBInfoBasic dbInfo, quadbase.common.paramquery.QueryInParamSet inSet, boolean newChart, java.lang.String[] imagesPath)
public QbChartDesigner(java.lang.Object parent, java.lang.String dataRegistry, boolean newChart)
public QbChartDesigner(java.lang.Object parent, java.lang.String dataRegistry, boolean newChart, java.lang.String[] imagesPath)
public static void setDebugMode(int mode)
public static void setDebugMode(java.lang.String mode)
public void setDataRegistry(java.lang.String dataRegistry)
public void setChartIO(IChartIO chartIO)
public void setByPassSaveAsIO(IByPassSaveAsForChart saveAsIO)
public javax.swing.JFrame getDesigner()
public void setVisible(boolean b)
public void login(java.lang.String userName, java.lang.String password)
public void login(java.lang.String designerPassword)
public void setRootDirectoryForBrowse(java.lang.String browseRoot)
public BrowseDirectories getBrowseDirectories()
public javax.swing.JMenuBar getChartMenuBar()
public javax.swing.JToolBar getChartToolBar()
public void dispose()
public void saveAs()
public void save()
public void save(java.lang.String fileLocation)
public boolean exit() throws java.lang.Exception
java.lang.Exception
public void setExitOnCancel(boolean state)
public boolean isExitOnCancel()
public void setSaveOnExitEnabled(boolean b)
public boolean isSaveOnExitEnabled()
public void setDefaultParamNames(java.lang.String[] names)
public java.lang.String[] getDefaultParamNames()
public void addDataSourceManagerListener(DataSourceManagerListener listener)
public void removeDataSourceManagerListener(DataSourceManagerListener listener)
public static void setServerAddress(java.lang.String address) throws java.net.UnknownHostException
java.net.UnknownHostException
public static void setServerPortNumber(int port)
public static void setServerHosts(java.util.Vector hostnames)
public static void setServletContext(java.lang.String context)
public static java.lang.String getServletContext()
public static void setServletRunner(java.lang.String comm_url)
comm_url
- servlet runner hostname and port numberpublic static void useServlet(boolean b)
b
- If true use SERVLET connection, otherwise use other connection The default value
is false.public static void setImagePath(java.lang.String path)
public static void setBackgroundImagePath(java.lang.String path)