public class IltSystem extends IlpSystem
IlpSystem
.
The following differences exist:IltDefaultContext
instead of IlpDefaultContext
, if jviews-tgo.jar
or jviews-tgo-all.jar
are found on the classpath.
Modifier and Type | Field and Description |
---|---|
static boolean |
StyleCompatibilityMode
Indicates that compatibility with previous style customization
shall be used.
|
Modifier | Constructor and Description |
---|---|
protected |
IltSystem()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
static void |
BeanInit(Object theCreatedBean,
boolean verbose)
This method should be called in the constructor of any JavaBean that uses
JTGO.
|
static void |
Init()
Initializes a JTGO process and creates a default context using
a deployment descriptor.
|
static void |
Init(Applet applet)
Deprecated.
since 9.0 : Applet will be deprecated with JDK 9
|
static void |
Init(Applet applet,
String deploymentDescriptorName)
Deprecated.
since 9.0 : Applet will be deprecated with JDK 9
|
static void |
Init(IlpContext defaultContext)
Initializes the system based on a service context.
|
static void |
Init(String deploymentDescriptorName)
Initializes a JTGO process and creates a default context using a
deployment descriptor specified by a file name.
|
static void |
Init(URL documentBase,
String deploymentDescriptorName)
Initializes the system using a deployment descriptor specified by
a relative URL, relative to a given base URL.
|
static void |
Init(URL deploymentDescriptorURL,
URL defaultDocumentBase)
Initializes the system using a deployment descriptor specified by an URL.
|
CreateDefaultContext, DontSetLocale, GetBuildNumber, GetDefaultContext, GetDefaultFont, GetHome, GetHostName, GetMajorVersion, GetMinorVersion, GetPatchLevel, GetReleaseDate, GetSubMinorVersion, GetVersion, GetVersionString, IsApplet, IsDontSetLocale, IsInitialized, IsInitializing, SetDefaultContext, SetDefaultFont, Shutdown
public static boolean StyleCompatibilityMode
This flag is used for the following scenarios:
IlpObject.PositionFixed
: instead
of using this style key, use CSS property fixed
as a
per-object parameter in the configuration of the link or node graph
layout renderers
(See IlpGraphLayoutParameters.isFixed()
)
public static final void BeanInit(Object theCreatedBean, boolean verbose)
public static void Init()
The system looks for the deployment descriptor as follows:
ilog.cpl.deploymentDescriptorName
property
cpldeploy.xml
The file is looked for:
$HOME/.cpl/
of the user's home directory on Unix,
To use a custom deployment descriptor you could also use one of the versions of this method that takes a deployment descriptor name as a parameter.
If no custom deployment descriptor is found, a default one of type IlpDefaultContext
is created.
This method should not be used to initialize an applet.
Use the versions of Init
that take an Applet
parameter or an absolute URL instead.
If this method is called more than once the initialization is performed only once.
public static void Init(String deploymentDescriptorName) throws FileNotFoundException, IOException, IlpDeploymentParsingException
The deployment descriptor name provided may be an absolute path, or relative to the current directory for the application. Under Windows, the drive letter in an absolute path is considered as the type of the file; to avoid confusion, you must specify "file:" at the very beginning of the path.
This method should not be used to initialize an applet.
Use the versions of Init
that take an Applet
parameter or an absolute URL instead.
deploymentDescriptorName
- absolute or relative file nameFileNotFoundException
IOException
IlpDeploymentParsingException
public static void Init(URL documentBase, String deploymentDescriptorName) throws FileNotFoundException, IOException, IlpDeploymentParsingException
FileNotFoundException
IOException
IlpDeploymentParsingException
public static void Init(URL deploymentDescriptorURL, URL defaultDocumentBase) throws FileNotFoundException, IOException, IlpDeploymentParsingException
This method may be used to initialize either an application or an applet.
deploymentDescriptorURL
- URL of deployment descriptordefaultDocumentBase
- Default document base URLFileNotFoundException
IOException
IlpDeploymentParsingException
public static void Init(Applet applet)
The document base of the applet is used as the document base for the default URL access service created.
The default deployment descriptor is obtained from the CPL jar. To use a custom deployment descriptor, use one of the versions of this method that takes a deployment descriptor name as a parameter.
public static void Init(Applet applet, String deploymentDescriptorName) throws FileNotFoundException, IOException, IlpDeploymentParsingException
The document base of the applet is used as the document base for the default URL access service.
public static void Init(IlpContext defaultContext)
The user should ensure that the context is properly configured for subsequent use.
defaultContext
- The default service context used in
the application© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.