public class PAppletServices extends PClientServices
PAppletServices
is a utility class that can be used for all Portal-aware
applets. It provides basic login and Portal connection features.mBAServer, mConnection, mCSHManager, mDefaults, mHelp, mHelpSet, mPool, mResources, RESKEY
Modifier and Type | Method and Description |
---|---|
Applet |
getApplet()
Gets the applet instance.
|
Properties |
getDefaultProperties()
Gets the default properties.
|
Component |
getMainPane()
Called to gain access to the main component (the applet panel)
underlying the applet, or a frame if the HTML document has a defined
PARAM window = frame . |
String[][] |
getParameterInfo()
Overrides the
Applet getParameterInfo() method. |
PBAServer |
getServer()
Gets a reference to the BAS server class.
|
PBAServer |
getServer(URL doc)
Gets a reference to the BAS server class, given a URL for the source
document.
|
ImageIcon |
loadImageIcon(String name)
Gets an icon to represent the BAS server.
|
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
public Component getMainPane()
PARAM window = frame
.getMainPane
in class PClientServices
Component
.PAppletServices
,
PBuilderServices
,
PApplicationServices
public Properties getDefaultProperties()
"param"
spec.getDefaultProperties
in class PClientServices
Properties
object.public String[][] getParameterInfo()
Applet getParameterInfo()
method. Returns a
String
matrix that describes the parameters required by Portal applets.String
matrix.public Applet getApplet()
public ImageIcon loadImageIcon(String name)
loadImageIcon
in class PClientServices
name
- the name of the image to use for the iconpublic PBAServer getServer()
getServer
in class PClientServices
Copyright © 2003, 2023, Oracle and/or its affiliates.