public abstract class ParameterDialog extends PropertyAdministration
Modifier and Type | Field and Description |
---|---|
protected MustButton |
buttonCancel |
protected MustButton |
buttonOk |
protected boolean |
isAttributeListToPack |
protected boolean |
isCanceled |
protected RemoteElement |
lastComponent |
static int |
NEW_LINE |
static int |
STAY_IN_LINE |
protected boolean |
toTerminate |
protected boolean |
veto |
additionalButtons, additionalComponents, checkRepeatedInput, currentAttributeList, tabButtonGroup
appearanceModifiablePool, appellation, buildDone, confirmationMatter, contextInfo, dependencies, infoMatter, isToRenew, popupBuilders, presentMessageInDialogIfRepeated, remoteContents, remoteContentsExceptionallyToSetValues, sessionData
Constructor and Description |
---|
ParameterDialog(SessionData sessionData,
ContextInfo contextInfo) |
ParameterDialog(SessionData sessionData,
ContextInfo contextInfo,
DialogConsequence dialogConsequence) |
ParameterDialog(SessionData sessionData,
java.lang.String tabIdAndLabel) |
ParameterDialog(SessionData sessionData,
java.lang.String tabIdAndLabel,
DialogConsequence dialogConsequence) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
act()
Act = things to do after user input has been accepted.
|
protected void |
append(java.lang.String infoExtension) |
void |
buildRemoteView(ToAppletWriter out)
Build remote view.
|
protected void |
canceledByUser()
Override this to do any stuff after user canceled this dialog.
|
protected MustCheckBox |
createCheckBox(java.lang.String checkLabel)
Creates a check box.
|
protected MustCheckBox |
createCheckBox(java.lang.String lineLabel,
java.lang.String checkLabel)
Creates a check box.
|
protected VariableChoiceNumKey |
createChoice(KeyValuePairNum[] content) |
protected VariableChoice |
createChoice(java.lang.String label,
KeyValuePair[] content)
Creates a variable choice.
|
protected VariableChoiceNumKey |
createChoice(java.lang.String label,
KeyValuePairNum[] content) |
protected HalfDataComboBox |
createComboBox(java.lang.String lineLabel,
DataObject sourceDataObject,
java.lang.String visibleColumn) |
protected HalfDataComboBox |
createComboBox(java.lang.String lineLabel,
DataObject sourceDataObject,
java.lang.String visibleColumn,
java.lang.String orderByColumn) |
protected HalfDataComboBox |
createComboBox(java.lang.String lineLabel,
DataObject sourceDataObject,
java.lang.String visibleColumn,
java.lang.String orderByColumn,
java.lang.String nameForNoChoice) |
protected MustDateField |
createDateField()
Creates a date input field in same line.
|
protected MustDateField |
createDateField(java.lang.String lineLabel)
Creates a date input field.
|
protected MustDecimalField |
createDecimalField(java.lang.String lineLabel)
Creates a decimal input field
|
protected DirectorySpecification |
createDirectorySpecification(java.lang.String label) |
protected MustIntField |
createIntField(java.lang.String lineLabel)
Creates a integer input field
|
protected MustLongField |
createLongField(java.lang.String lineLabel)
Creates a long input field
|
protected MustPasswordField |
createPasswordField(java.lang.String lineLabel,
int length) |
protected RadioButtonPanel |
createRadioButtons(java.lang.String[] keys,
java.lang.String[] labels) |
protected RadioButtonPanel |
createRadioButtons(java.lang.String label,
KeyValuePair[] content)
Creates a radio button group in a new line.
|
protected RadioButtonPanel |
createRadioButtons(java.lang.String lineLabel,
java.lang.String[] keys,
java.lang.String[] labels) |
protected SmallImageChooser |
createSmallImageChooser(java.lang.String lineLabel,
int width,
int height) |
protected MustTextArea |
createTextArea(java.lang.String label)
Creates a new text field in a new line
|
protected MustTextArea |
createTextArea(java.lang.String lineLabel,
int control)
Creates a new text field
|
protected MustTextArea |
createTextAreaInScrollPane(java.lang.String label)
Creates a new text area in a scroll pane.
|
protected MustTextField |
createTextField(int length)
Creates a new text field in the same line
|
protected MustTextField |
createTextField(java.lang.String label,
int length)
Creates a new text field in a new line
|
protected MustTextField |
createTextField(java.lang.String lineLabel,
int length,
int control)
Creates a new text field
|
protected TextPresenter |
createTextPresenter() |
protected TextPresenter |
createTextPresenter(java.lang.String lineLabel) |
protected void |
creationEnding()
Conclusion of the construction process.
|
boolean |
hasVeto()
Return true if input in e.g. dialog is not accepted.
|
boolean |
isCanceled() |
protected boolean |
isInputAccepted()
Returns true if user input is accepted - override this method to check user input.
|
void |
newPanel() |
protected void |
presentFailure(java.lang.Exception e) |
void |
process(GeneralizedRequest request) |
protected void |
registerRC(RemoteContent remoteContent) |
void |
setToolTipText(java.lang.String toolTipText)
Sets the tool tip text of the last created data component.
|
addButton, addButton, addButtonInSequence, addSeparator, addToButtonPanel, addToButtonPanel, append, append, appendButtonForSelection, createButtonInButtonPanel, fetchValuesFromRequest, getAttributeList, hasMultiplePanels, newPanel, newPanel, optional, setLayoutTolerance
addDependency, addDependency, associateDefaultButtonToInputField, destroy, free, getAppellation, getAppResStr, getConcerning, getContextInfo, getElementID, getInstance, getMessageSetSize, getTabId, getTabLabel, getTranslation, isVisible, register, register, registerRemotable, setAppellation, setElementID, setMessage, setMessageToKeep, setMessageToKeep, setMessageToKeep, setMessageToKeep, setMessageToKeep, setSoundToPlay, setTitle, setToRenewToTrue, setVisible
protected boolean isCanceled
public static final int NEW_LINE
public static final int STAY_IN_LINE
protected boolean isAttributeListToPack
protected MustButton buttonOk
protected MustButton buttonCancel
protected RemoteElement lastComponent
protected boolean veto
protected boolean toTerminate
public ParameterDialog(SessionData sessionData, java.lang.String tabIdAndLabel)
public ParameterDialog(SessionData sessionData, java.lang.String tabIdAndLabel, DialogConsequence dialogConsequence)
public ParameterDialog(SessionData sessionData, ContextInfo contextInfo)
public ParameterDialog(SessionData sessionData, ContextInfo contextInfo, DialogConsequence dialogConsequence)
protected void creationEnding()
creationEnding
in class PropertyAdministration
public void newPanel()
newPanel
in class PropertyAdministration
protected MustTextArea createTextArea(java.lang.String label)
label
- the label to showprotected MustTextArea createTextArea(java.lang.String lineLabel, int control)
lineLabel
- the line labellength
- the length of the text fieldcontrol
- controls line wrapprotected MustTextArea createTextAreaInScrollPane(java.lang.String label)
lineLabel
- the line labelprotected MustTextField createTextField(java.lang.String label, int length)
label
- the label to showlength
- the length of the fieldprotected MustTextField createTextField(int length)
length
- the length of the fieldprotected MustTextField createTextField(java.lang.String lineLabel, int length, int control)
lineLabel
- the line labellength
- the length of the text fieldcontrol
- controls line wrapprotected TextPresenter createTextPresenter(java.lang.String lineLabel)
createTextPresenter
in class PropertyAdministration
protected TextPresenter createTextPresenter()
createTextPresenter
in class PropertyAdministration
protected SmallImageChooser createSmallImageChooser(java.lang.String lineLabel, int width, int height)
protected MustPasswordField createPasswordField(java.lang.String lineLabel, int length)
protected MustDateField createDateField(java.lang.String lineLabel)
lineLabel
- the line labelprotected MustDateField createDateField()
protected MustDecimalField createDecimalField(java.lang.String lineLabel)
lineLabel
- the line labelprotected MustIntField createIntField(java.lang.String lineLabel)
lineLabel
- the line labelprotected MustLongField createLongField(java.lang.String lineLabel)
lineLabel
- the line labelprotected MustCheckBox createCheckBox(java.lang.String checkLabel)
checkLabel
- the label of the check boxprotected MustCheckBox createCheckBox(java.lang.String lineLabel, java.lang.String checkLabel)
lineLabel
- the line labelcheckLabel
- the label of the check boxprotected RadioButtonPanel createRadioButtons(java.lang.String lineLabel, java.lang.String[] keys, java.lang.String[] labels)
protected RadioButtonPanel createRadioButtons(java.lang.String[] keys, java.lang.String[] labels)
protected HalfDataComboBox createComboBox(java.lang.String lineLabel, DataObject sourceDataObject, java.lang.String visibleColumn)
protected HalfDataComboBox createComboBox(java.lang.String lineLabel, DataObject sourceDataObject, java.lang.String visibleColumn, java.lang.String orderByColumn)
protected HalfDataComboBox createComboBox(java.lang.String lineLabel, DataObject sourceDataObject, java.lang.String visibleColumn, java.lang.String orderByColumn, java.lang.String nameForNoChoice)
protected VariableChoice createChoice(java.lang.String label, KeyValuePair[] content)
label
- the label of the new linecontent
- the static content of the variable choiceprotected VariableChoiceNumKey createChoice(java.lang.String label, KeyValuePairNum[] content)
protected VariableChoiceNumKey createChoice(KeyValuePairNum[] content)
protected DirectorySpecification createDirectorySpecification(java.lang.String label)
protected RadioButtonPanel createRadioButtons(java.lang.String label, KeyValuePair[] content)
label
- the label of the new linecolumnName
- the name of the column to connect tocontent
- the content described by an array of KeyValuePairprotected void registerRC(RemoteContent remoteContent)
protected void append(java.lang.String infoExtension)
append
in class PropertyAdministration
public void setToolTipText(java.lang.String toolTipText)
setToolTipText
in interface Remotable
setToolTipText
in class PropertyAdministration
toolTipText
- the tool tip text of the last created data componentpublic void buildRemoteView(ToAppletWriter out)
AppletTalker
buildRemoteView
in interface AppletTalker
buildRemoteView
in class PropertyAdministration
out
- the writer which will be read by the appletpublic void process(GeneralizedRequest request)
process
in interface RemotableControler
process
in class PropertyAdministration
public boolean isCanceled()
protected boolean isInputAccepted()
public boolean hasVeto()
RemoteUserInterface
hasVeto
in class RemoteUserInterface
protected abstract void act()
protected void canceledByUser()
protected void presentFailure(java.lang.Exception e)
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de