public abstract class BasicInteractionManagerWizard extends InteractionManager
inicializaInteractionManager.DeleteFieldsListener, InteractionManager.InteractionManagerAction, InteractionManager.PrintingThread| Modifier and Type | Field and Description |
|---|---|
static String |
CANCEL |
static String |
FINISH |
static String |
NEXT |
static String |
PREVIOUS |
protected int |
step |
actionHandler, ADVANCED_QUERY_KEY, CHECK_MODIFIED_DATA_CHANGED_DEFAULT_VALUE, checkModifiedDataChangeEvent, currentMode, dataChangedEventProcessing, DELETE_KEY, deleteFieldsListener, f11Button, f12Button, f7Button, f9Button, formManager, HELP_KEY, INSERT, INSERT_KEY, interactionManagerModeListenerList, managedForm, modifiedFieldAttributes, NEWMODE, printThread, QUERY, QUERY_INSERT_KEY, QUERY_KEY, QUERYINSERT, selectionPrintingKey, setDefaultFocusEnabled, UPDATE, UPDATE_ALL, UPDATE_CHANGED, UPDATE_KEY, updateMethod, valueChangedListenerAttributes, valueChangeListenerEnabled, warningBirthdayMessage| Constructor and Description |
|---|
BasicInteractionManagerWizard() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
cancel() |
protected void |
changedStep(int newStep,
int previousStep) |
protected abstract void |
end() |
protected abstract String |
getAttrCardPanel() |
protected abstract String |
getComponentIdToShowInStep(int step) |
int |
getCurrentStep() |
int |
getStep() |
abstract int |
getStepsNumber() |
protected void |
next() |
protected void |
previous() |
void |
registerInteractionManager(Form form,
IFormManager formManager)
Registers the InteractionManager as form event listener.
|
boolean |
setActualStep(int step)
Deprecated.
|
boolean |
setCurrentStep(int step) |
void |
setInitialState()
Establishes the initial state of the managed form, and sets the form
states in QueryInsert mode that implies that by default the query button
and the insert button will be enables.
|
protected void |
start() |
protected void |
updateButtonsState() |
protected abstract boolean |
validateFinish() |
protected abstract boolean |
validStepChange(int newStep,
int previousStep) |
addInteractionManagerModeListener, checkBirthday, cloneInteractionManager, dataChanged, dataWillChange, finalize, fireInteractionManagerModeChanged, free, getActionHandler, getCheckModifiedDataChangeEvent, getCurrentMode, getDataChangedEventProcessing, getDefaultActiveFocus, getFieldValues, getImageValues, getModifiedFieldAttributes, getTableValues, getTemplateFields, getTemplateImages, getTemplateTables, injectAnnotatedFields, isValueChangeListenerEnabled, loadActionHandler, print, registerFormKeyBindings, registerRuleEngineFor, removeInteractionManagerModeListener, setCheckModifiedDataChangeEvent, setDataChangedEventProcessing, setDefaultFocusEnabled, setInsertMode, setQueryInsertMode, setQueryMode, setUpdateMethodVersion, setUpdateMode, setValueChangedEventListener, setValueChangeEventListenerEnabled, setWarningBirthdayMessage, valueChangedpublic static final String FINISH
public static final String CANCEL
public static final String NEXT
public static final String PREVIOUS
protected int step
protected abstract String getAttrCardPanel()
public abstract int getStepsNumber()
protected abstract String getComponentIdToShowInStep(int step)
protected abstract void end()
protected abstract boolean validateFinish()
protected abstract boolean validStepChange(int newStep,
int previousStep)
protected abstract void cancel()
public int getStep()
public void setInitialState()
InteractionManagersetInitialState in class InteractionManagerprotected void start()
public int getCurrentStep()
public boolean setCurrentStep(int step)
@Deprecated public boolean setActualStep(int step)
setCurrentStep(int)step - protected void changedStep(int newStep,
int previousStep)
protected void updateButtonsState()
protected void next()
protected void previous()
public void registerInteractionManager(Form form, IFormManager formManager)
InteractionManagerIFormManager when a Form is loaded.
If new listeners wants to be added to some objects of the managed form,
this must be done by overwriting this method.
In this basic implementation of the method, only the form and the form manager are assigned and stored by the InteractionManager in order to have references to these classes later. A basic way of overwriting this must call the super.registerInteractionManager(form, FormsManager)
This method links a key stroke to the standard buttons:
registerInteractionManager in class InteractionManagerform - - the form to be associated with this managerformManager - - the form manager that rules the associationCopyright © 2016 Imatia Innovation S.L.. All rights reserved.