Package com.portal.bas
Class PAppletServices
java.lang.Object
com.portal.bas.PClientServices
com.portal.bas.PAppletServices
PAppletServices
is a utility class that can be used for all Portal-aware
applets. It provides basic login and Portal connection features.- Version:
- 6
- Author:
- Larry Lynch-Freshner
-
Field Summary
Fields inherited from class com.portal.bas.PClientServices
mBAServer, mConnection, mCSHManager, mDefaults, mHelp, mHelpSet, mPool, mResources, RESKEY
-
Method Summary
Modifier and TypeMethodDescriptionGets the applet instance.Gets the default properties.Called to gain access to the main component (the applet panel) underlying the applet, or a frame if the HTML document has a definedPARAM window = frame
.String[][]
Overrides theApplet getParameterInfo()
method.Gets a reference to the BAS server class.Gets a reference to the BAS server class, given a URL for the source document.loadImageIcon
(String name) Gets an icon to represent the BAS server.Methods inherited from class com.portal.bas.PClientServices
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, logRemote, mergeHelp, registerApp, registerComponent, registerHelpButton, registerHelpIDFor, releaseContext, saveUserPreferences, setModelField, setPropertyURL, setPropertyURL, setUserPreferences, unregisterComponent
-
Method Details
-
getMainPane
Called to gain access to the main component (the applet panel) underlying the applet, or a frame if the HTML document has a definedPARAM window = frame
.- Specified by:
getMainPane
in classPClientServices
- Returns:
- The lowest accessable
Component
. - See Also:
-
getDefaultProperties
Gets the default properties. These can include properties specified in the applet's"param"
spec.- Specified by:
getDefaultProperties
in classPClientServices
- Returns:
- A
Properties
object.
-
getParameterInfo
Overrides theApplet getParameterInfo()
method. Returns aString
matrix that describes the parameters required by Portal applets.- Returns:
- A
String
matrix.
-
getApplet
Gets the applet instance.- Returns:
- The applet instance.
-
loadImageIcon
Gets an icon to represent the BAS server.- Overrides:
loadImageIcon
in classPClientServices
- Parameters:
name
- the name of the image to use for the icon- Returns:
- An icon that represents the BAS server.
-
getServer
Gets a reference to the BAS server class.- Specified by:
getServer
in classPClientServices
- Returns:
- A reference to the BAS server.
-
getServer
Gets a reference to the BAS server class, given a URL for the source document.- Parameters:
doc
- the URL of the source document- Returns:
- A reference to the BAS server.
-