|
||||||||||
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.statemachine.ext.connectors.swing.StateMachineApplet
public class StateMachineApplet
Field Summary | |
---|---|
static String |
APPLICATION_MANAGER_KEY
|
static String |
USER_SESSION_MANAGER_KEY
|
static String |
VIEW_OVERRIDE_KEY
|
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 | |
---|---|
StateMachineApplet()
The StateMachineApplet constructor. |
Method Summary | |
---|---|
void |
addStateMachineProcessingListener(Collection listeners)
This method adds a collection of StateMachineProcessingListeners to the state machine event dispatcher. |
void |
addStateMachineProcessingListener(StateMachineProcessingListener listener)
This method adds a StateMachineProcessingListener to the state machine event dispatcher. |
void |
displayError(Exception ex)
Display the given exception if necessary. |
void |
displayView(IView view)
This method sets the current view on the viewportComponent panel. |
String |
getApplicationName()
Returns the applicationName. |
IView |
getCurrentView()
Returns the currentView. |
String[][] |
getParameterInfo()
|
void |
init()
This method initializes the applet. |
static void |
main(String[] args)
This method starts the StateMachineApplet as an application. |
void |
removeStateMachineProcessingListener(Collection listeners)
This method removes a collection of StateMachineProcessingListener to the state machine event dispatcher. |
void |
removeStateMachineProcessingListener(StateMachineProcessingListener listener)
This method removes a StateMachineProcessingListener to the state machine event dispatcher. |
void |
setApplicationName(String newApplicationName)
Sets the applicationName. |
void |
setCurrentView(IView currentView)
Sets the currentView. |
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, 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 final String APPLICATION_MANAGER_KEY
public static final String USER_SESSION_MANAGER_KEY
public static final String VIEW_OVERRIDE_KEY
Constructor Detail |
---|
public StateMachineApplet()
Method Detail |
---|
public String[][] getParameterInfo()
getParameterInfo
in class Applet
public void init()
init
in class Applet
Applet.init()
public void displayView(IView view)
displayView
in interface ViewContainer
view
- The View to display.ViewContainer.displayView(IView)
public void displayError(Exception ex)
ViewContainer
displayError
in interface ViewContainer
ex
- Exceptionpublic String getApplicationName()
public void setApplicationName(String newApplicationName)
newApplicationName
- The applicationName to setpublic IView getCurrentView()
public void setCurrentView(IView currentView)
currentView
- The currentView to setpublic void addStateMachineProcessingListener(StateMachineProcessingListener listener)
listener
- StateMachineProcessingListenerpublic void removeStateMachineProcessingListener(StateMachineProcessingListener listener)
listener
- StateMachineProcessingListenerpublic void addStateMachineProcessingListener(Collection listeners)
listeners
- Collectionpublic void removeStateMachineProcessingListener(Collection listeners)
listeners
- Collectionpublic static void main(String[] args)
args
- String[]
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |