|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.snmp.snmp2.SASAppletStub
This class provides the implementation of the AppletStub methods to plug into applet to simulate the applet behaviour. This class is used when we have to pass a 'user-defined applet' to the SnmpSession's open() while using client applications (instead of applets) with SAS.
| Field Summary | |
(package private) java.net.URL |
codebase
|
(package private) java.applet.AppletContext |
context
|
(package private) java.net.URL |
documentbase
|
(package private) java.util.Hashtable |
table
|
| Constructor Summary | |
SASAppletStub()
Constructor that creates the implementation of the AppletStub. |
|
| Method Summary | |
void |
appletResize(int width,
int height)
Called when the applet wants to be resized. |
java.applet.AppletContext |
getAppletContext()
Gets a handler to the applet's context. |
java.net.URL |
getCodeBase()
Gets the base URL. |
java.net.URL |
getDocumentBase()
Gets the document URL. |
java.lang.String |
getParameter(java.lang.String name)
Returns the value of the named parameter in the HTML tag. |
boolean |
isActive()
Determines if the applet is active. |
void |
setAppletContext(java.applet.AppletContext context)
Sets the applet context to the user specified one. |
void |
setCodeBase(java.net.URL url)
Sets the codebase URL. |
void |
setDocumentBase(java.net.URL url)
Sets the document URL. |
void |
setParameter(java.lang.String name,
java.lang.String value)
Sets the name-value pair in the applet parameter. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
java.util.Hashtable table
java.applet.AppletContext context
java.net.URL codebase
java.net.URL documentbase
| Constructor Detail |
public SASAppletStub()
| Method Detail |
public void appletResize(int width,
int height)
public java.net.URL getCodeBase()
public void setCodeBase(java.net.URL url)
public java.net.URL getDocumentBase()
public void setDocumentBase(java.net.URL url)
public java.lang.String getParameter(java.lang.String name)
public java.applet.AppletContext getAppletContext()
public boolean isActive()
public void setParameter(java.lang.String name,
java.lang.String value)
throws java.lang.NullPointerException
name - The name of the parameter to add.value - The value of the specified parameterpublic void setAppletContext(java.applet.AppletContext context)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||