|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objexcel.applet.AppletStubImpl
AppletStubImpl implements the AppletStub interface required to host applets in an application
Constructor Summary | |
AppletStubImpl(java.applet.Applet a,
java.util.Hashtable props)
|
|
AppletStubImpl(java.applet.Applet a,
java.lang.String[] argv)
Creates a new AppletStubImpl instance and initializes the init parameters from the command line. |
Method Summary | |
void |
appletResize(int width,
int height)
Calls the applet's resize |
java.applet.AppletContext |
getAppletContext()
Returns the applet's context, which is null in this case. |
java.net.URL |
getCodeBase()
Returns the CodeBase. |
java.net.URL |
getDocumentBase()
Returns getCodeBase |
java.lang.String |
getParameter(java.lang.String p)
Returns the corresponding command line value |
boolean |
isActive()
Applet is always true |
void |
setProps(java.util.Hashtable props)
|
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AppletStubImpl(java.applet.Applet a, java.lang.String[] argv)
argv[]
- Command line arguments passed to Mainan
- Applet instance.public AppletStubImpl(java.applet.Applet a, java.util.Hashtable props)
Method Detail |
public void setProps(java.util.Hashtable props)
public void appletResize(int width, int height)
width
- height
- public java.applet.AppletContext getAppletContext()
public java.net.URL getCodeBase()
public java.net.URL getDocumentBase()
public java.lang.String getParameter(java.lang.String p)
public boolean isActive()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |