public class SessionDataEntryPlugin extends java.lang.Object implements ButtonBarPlugin, ScreenWorkflowPlugin, MakeHTMLComponentPlugin
SCREEN_ACTION_CLOSE, SCREEN_ACTION_DELETE, SCREEN_ACTION_EMAIL, SCREEN_ACTION_PRINT, SCREEN_ACTION_SAVE, SCREEN_ACTION_SAVE_AND_EXIT
Constructor and Description |
---|
SessionDataEntryPlugin(SDBScreen scrn) |
Modifier and Type | Method and Description |
---|---|
void |
addButtons(SDBScreenContext context,
HTMLPage page,
java.lang.String next,
java.util.ArrayList list)
Add some more buttons.
|
java.lang.String |
determineScreenAction(SDBScreenContext context,
java.lang.String nextAction)
The action that is to be performed by the screen
If no processing is required then the nextAction paramater should be
returned without change
|
java.lang.String |
getNextWindowTarget(SDBScreenContext context,
java.lang.String target)
The target window that should be used for nextWindowUrl
If no processing is required then the target parameter should be
returned without change
|
java.lang.String |
getNextWindowUrl(SDBScreenContext context,
java.lang.String url)
The window that should be opened after screen processing has completed
If no processing is required then the url parameter should be
returned without change
|
HTMLComponent |
makeHTMLComponent(SDBContext context,
SDBComponent screenComponent,
HTMLComponent htmlComponent)
Extend the generation of an HTMLcompnent
|
public SessionDataEntryPlugin(SDBScreen scrn)
public void addButtons(SDBScreenContext context, HTMLPage page, java.lang.String next, java.util.ArrayList list)
ButtonBarPlugin
addButtons
in interface ButtonBarPlugin
context
- the contextpublic java.lang.String determineScreenAction(SDBScreenContext context, java.lang.String nextAction) throws java.lang.Exception
ScreenWorkflowPlugin
determineScreenAction
in interface ScreenWorkflowPlugin
context
- - screen context containing information about the state of
the screennextAction
- - the default actionjava.lang.Exception
- - processing cannot continuepublic java.lang.String getNextWindowUrl(SDBScreenContext context, java.lang.String url)
ScreenWorkflowPlugin
getNextWindowUrl
in interface ScreenWorkflowPlugin
context
- - screen context containing information about the state of
the screenurl
- - the default urlpublic java.lang.String getNextWindowTarget(SDBScreenContext context, java.lang.String target)
ScreenWorkflowPlugin
getNextWindowTarget
in interface ScreenWorkflowPlugin
context
- - screen context containing information about the state of
the screentarget
- - the default targetpublic HTMLComponent makeHTMLComponent(SDBContext context, SDBComponent screenComponent, HTMLComponent htmlComponent) throws java.lang.Exception
MakeHTMLComponentPlugin
makeHTMLComponent
in interface MakeHTMLComponentPlugin
context
- the contextjava.lang.Exception
- a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.