|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
javax.swing.JApplet
com.bankframe.fe.ui.EApplet
public abstract class EApplet
This class must be subclassed by all bankframe frontends which must implement
the necessary methods.
This class provides methods to:
getHost()
method.
main()
method.
close()
method.
init()
method that must be
implemented by subclasses.
Field Summary | |
---|---|
static boolean |
invokedStandalone
|
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
EApplet()
|
Method Summary | |
---|---|
void |
close()
This method will close the Application. |
static JFrame |
eMain(String title,
EApplet eApplet,
Dimension size,
String[] args)
This method provides a template method to start an EApplet application. |
URL |
getHost()
This method determines the host location of the server. |
String[] |
getInitialData()
This method returns the initial data of the applet. |
static JFrame |
getJFrame(Container c)
This method finds the JFrame instance that a container is on. |
abstract void |
init()
This method initializes the applet/application. |
void |
loadImages()
This method loads the application's icons using the ApplicationIcons class. |
Methods inherited from class javax.swing.JApplet |
---|
getAccessibleContext, getContentPane, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, remove, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, update |
Methods inherited from class java.applet.Applet |
---|
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop |
Methods inherited from class java.awt.Panel |
---|
addNotify |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static boolean invokedStandalone
Constructor Detail |
---|
public EApplet()
Method Detail |
---|
public void close()
stop()
method of the applet and if running as an application call the
System.exit()
method.
public static JFrame eMain(String title, EApplet eApplet, Dimension size, String[] args)
title
- StringeApplet
- com.bankframe.fe.ui.EAppletsize
- Dimensionargs
- String[]public URL getHost()
.properties
files must be included in the jar that
contains the example classes.
public String[] getInitialData()
public static JFrame getJFrame(Container c)
c
- Container
public abstract void init()
EAppletContainer
. For example a subclass may
implement this method to invoke the EAppletContainer
as follows:
public void init() {
this.setEPanelContainer(new TellerEPanelContainer(this, new EHTTPCommsManager("HTTP", this.getHost())));
}
init
in class Applet
public void loadImages()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |