| Overview | Package | Class | Tree | Index | Help | NetCharts Pro (Applets) 7.0 | ||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
java.lang.Object | +--netcharts.util.NFContext
| Field Summary | |
| static int | CUSTOM
This user agent type indicates that the execution context is a custom application. |
| static java.lang.String | CUSTOM_AGENT
This user agent describes the execution context as a ChartWorks Custom Application. |
| static int | DESIGNER
This user agent type indicates that the execution context is ChartWorks ChartDesinger. |
| static java.lang.String | DESIGNER_AGENT
This user agent describes the execution context as ChartWorks ChartDesinger. |
| static int | NETCHARTS
This user agent type indicates that the execution context is a browser. |
| static java.lang.String | NETCHARTS_AGENT
This user agent describes the execution context as a browser. |
| static int | SERVER
This user agent type indicates that the execution context is ChartWorks Enterprise Server. |
| static java.lang.String | SERVER_AGENT
This user agent describes the execution context as ChartWorks Enterprise Server. |
| static int | VIEWER
This user agent type indicates that the execution context is ChartWorks Viewer. |
| static java.lang.String | VIEWER_AGENT
This user agent describes the execution context as ChartWorks Viewer. |
| Constructor Summary | |
| NFContext(java.applet.Applet applet)
Construct a Context with the given applet. | |
| NFContext(java.net.URL docURL)
Construct a Context with the given document base. | |
| NFContext(java.net.URL docURL,
java.net.URL codeURL)
Construct a Context with the given document base and code base. | |
| Method Summary | |
| java.applet.Applet | getApplet()
Get the applet associated with this Context. |
| java.lang.String[] | getAuthInfo(java.lang.String host,
int port)
Get the authentication information for the given host and port. |
| java.net.URL | getCodeBase()
Get the code base. |
| static NFContext | getDefault()
Get the default application context. |
| java.net.URL | getDocumentBase()
Get the document base. |
| java.awt.Component | getTopLevel()
Get the top level component associated with this Context. |
| static java.lang.String | getUserAgent()
Get the user agent. |
| static int | getUserAgentType()
Get the user agent type. |
| void | mergeAuthInfo(NFContext from)
Merge authentication information between this Context and another. |
| static void | mergeAuthInfo(NFContext to,
NFContext from)
Merge authentication information between two Contexts. |
| void | setApplet(java.applet.Applet applet)
Set the applet in which the chart is being executed. |
| void | setAuthInfo(java.lang.String host,
int port,
java.lang.String user,
java.lang.String pass)
Sets authentication information for a specified server and port. |
| void | setCodeBase(java.net.URL codeURL)
Get the code base. |
| static void | setDefault(NFContext defaultContext)
Set the default application context. |
| void | setDefaultAuthInfo(java.lang.String user,
java.lang.String pass)
Sets the default authentication information. |
| void | setDocumentBase(java.net.URL docURL)
Set the document base. |
| void | setTopLevel(java.awt.Component comp)
Set the top level component associated with this Context. |
| static void | setUserAgent(java.lang.String agent)
Set the user agent. |
| static void | setUserAgentType(int type)
Set the user agent type. |
| Field Detail |
public static final int NETCHARTS
public static final java.lang.String NETCHARTS_AGENT
public static final int DESIGNER
public static final java.lang.String DESIGNER_AGENT
public static final int VIEWER
public static final java.lang.String VIEWER_AGENT
public static final int SERVER
public static final java.lang.String SERVER_AGENT
public static final int CUSTOM
public static final java.lang.String CUSTOM_AGENT
| Constructor Detail |
public NFContext(java.applet.Applet applet)
applet
- The appletpublic NFContext(java.net.URL docURL)
docURL
- The document base
public NFContext(java.net.URL docURL,
java.net.URL codeURL)
docURL
- The document base
codeURL
- The code base| Method Detail |
public static NFContext getDefault()
public static void setDefault(NFContext defaultContext)
defaultContext
- The default NFContext instancepublic java.net.URL getDocumentBase()
public void setDocumentBase(java.net.URL docURL)
docURL
- The document basepublic java.net.URL getCodeBase()
public void setCodeBase(java.net.URL codeURL)
codeURL
- The code basepublic static java.lang.String getUserAgent()
public static void setUserAgent(java.lang.String agent)
agent
- The description of the user agentpublic static int getUserAgentType()
public static void setUserAgentType(int type)
type
- The user agent typepublic java.applet.Applet getApplet()
public void setApplet(java.applet.Applet applet)
applet
- The appletpublic java.awt.Component getTopLevel()
public void setTopLevel(java.awt.Component comp)
comp
- The top level component
public void setDefaultAuthInfo(java.lang.String user,
java.lang.String pass)
user
- The username
pass
- The password
public void setAuthInfo(java.lang.String host,
int port,
java.lang.String user,
java.lang.String pass)
host
- The server
port
- The port
user
- The username
pass
- The password
public java.lang.String[] getAuthInfo(java.lang.String host,
int port)
host
- The server
port
- The portpublic void mergeAuthInfo(NFContext from)
from
- The Context to merge authentication information from
public static void mergeAuthInfo(NFContext to,
NFContext from)
from
- The Context to merge authentication information to
from
- The Context to merge authentication information from| Overview | Package | Class | Tree | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
| Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2010 |
Last Modified: Jun 29, 2010 |