public class PApplicationServices extends PClientServices
PApplicationServices is a subclass of PClientServices
that provides the services needed to run a stand-alone application.
Use PInfranetApplet at run-time.mBAServer, mConnection, mCSHManager, mDefaults, mHelp, mHelpSet, mPool, mResources, RESKEY| Constructor and Description |
|---|
PApplicationServices()
Creates a default instance of the
PApplicationServices object. |
PApplicationServices(JFrame mainFrame)
Creates a default instance of the
PApplicationServices object
in the specified main window. |
| Modifier and Type | Method and Description |
|---|---|
PInfranetAppController |
getAppController()
Retrieves an instance of
PInfranetAppController. |
PInfranetConnectionImpl |
getConnection()
Retrieves an instance of
PInfranetConnectionImpl. |
Properties |
getDefaultProperties()
Gets the default properties.
|
Component |
getMainPane()
Gets the main frame for the application or creates one if necessary.
|
PBAServer |
getServer()
Gets a reference to the
PBAServer implementation. |
addResourceBundle, confirmationMsg, confirmationMsg, confirmationMsg, confirmationMsg, connect, createClass, createClientException, createController, createDialogClass, createModelHandle, createNewModel, doLogin, doLogin, doLogout, errorMsg, errorMsg, errorMsg, errorMsg, getClassToInstantiate, getContext, getCSHManager, getDefaultBook, getHelpObj, getModelField, getPermissionFor, getResource, getResources, getRestrictionOn, getUserPreferences, init, initHelp, invokeInThread, invokeInThread, isConnectedToInfranet, lastChanceLogin, loadImageIcon, loadImageIcon, logRemote, mergeHelp, registerApp, registerComponent, registerHelpButton, registerHelpIDFor, releaseContext, saveUserPreferences, setModelField, setPropertyURL, setPropertyURL, setUserPreferences, unregisterComponentpublic PApplicationServices()
PApplicationServices object.public PApplicationServices(JFrame mainFrame)
PApplicationServices object
in the specified main window.mainFrame - the window in which to load the application panelpublic Component getMainPane()
getMainPane in class PClientServicesPAppletServices,
PBuilderServices,
PApplicationServicespublic Properties getDefaultProperties()
"param" spec.getDefaultProperties in class PClientServicesProperties object.public PInfranetConnectionImpl getConnection()
PInfranetConnectionImpl. For applications,
the connection returned by the server is the actual implementation class.
Sometimes, applications may directly need this connection.PInfranetConnectionImpl.public PInfranetAppController getAppController()
PInfranetAppController. For applications,
the connection returned by the server is the actual implementation class.
Sometimes, applications may directly need this connection.PInfranetAppController.public PBAServer getServer()
PBAServer implementation.getServer in class PClientServicesCopyright © 2003, 2023, Oracle and/or its affiliates.