public abstract class PropertyAdministration extends Dialog
Modifier and Type | Field and Description |
---|---|
protected AttributeList |
currentAttributeList |
protected int |
dialogNbr |
protected boolean |
wantToBeFinalized |
additionalButtons, backButton, cancelButton, NAME_FOR_BACK_ACTION, NAME_FOR_CANCEL_ACTION, NAME_FOR_CLOSE_ACTION, NAME_FOR_DIALOG_NBR, NAME_FOR_HELP_ACTION, NAME_FOR_LIST_ACTION, NAME_FOR_NEW_ENTRY_ACTION, NAME_FOR_OK_ACTION, okButton, processComplete, sessionData, stackMovement
Constructor and Description |
---|
PropertyAdministration(SessionData sessionData)
Constructs a new property administration object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
creationEnding()
Conclusion of the construction process.
|
void |
fetchValuesFromRequest(GeneralizedRequest request)
Causes the invokable to delegate this function to all embedded markupables
to fetch their current value as edited by the user from the request.
|
AttributeList |
getAttributeList()
Returns the used attribute list.
|
java.lang.String |
getTabbedPaneTagSequence()
Returns the tabbed pane tag sequence.
|
boolean |
hasMultiplePanels()
Returns true if the property frame has multiple panels.
|
protected void |
newPanel(java.lang.String tabLabel,
int lineCapacity)
Creates a new panel with an attribute list and adds it to the tabbed pane.
|
protected void |
newPanel(java.lang.String tabLabel,
int lineCapacity,
java.lang.String toolTipText)
Creates a new panel with an attribute list and adds it to the tabbed pane.
|
protected void |
newPanel(TabImage tabImage,
int lineCapacity)
Creates a new panel with an attribute list and adds it to the tabbed pane.
|
protected void |
newPanel(TabImage tabImage,
int lineCapacity,
java.lang.String toolTipText)
Creates a new panel with an attribute list and adds it to the tabbed pane.
|
void |
process(GeneralizedRequest request)
Allows the invokable to react to the request.
|
protected void |
setTabSize(int size)
Sets the size of the previously to build tabbed pane via method newPanel
|
void |
setToolTipText(java.lang.String toolTipText)
Sets the tool tip text of the last added component.
|
boolean |
wantToBeFinalized()
Returns true if the invokable wants to be finalized after request is worked off.
|
afterOutput, appendAdditionalButton, beforeOutput, destroy, finalize, free, getAdditionalButtons, getBackButtonTagSequence, getCancelButtonTagSequence, getFooter, getHeader, getHelpContext, getInvokableInAdvance, getOkButtonTagSequence, getScriptToExecute, getScriptToExecuteSequence, getStackMovement, getSubTitle, getTitle, init, isCancelable, isPost, isSuitableDialog, setHelpContext, setHelpContext, setMessageToKeep, setMessageToKeepIfNotAlreadySet, setScriptToExecute, setStackMovement, setSubTitle, setTitle
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSubmission, setSubmitter
protected AttributeList currentAttributeList
protected int dialogNbr
protected boolean wantToBeFinalized
public PropertyAdministration(SessionData sessionData)
sessionData
- the session's public datapublic void setToolTipText(java.lang.String toolTipText)
toolTipText
- the tool tip textprotected void setTabSize(int size)
size
- the number of tabs to buildpublic boolean hasMultiplePanels()
protected void newPanel(java.lang.String tabLabel, int lineCapacity)
tabLabel
- the label of the new tablineCapacity
- the number of rows of the attribute list to be createdAttributeList
,
setTabSize(int)
protected void newPanel(java.lang.String tabLabel, int lineCapacity, java.lang.String toolTipText)
tabLabel
- the label of the new tablineCapacity
- the number of rows of the attribute list to be createdtoolTipText
- the tool tip text to showAttributeList
,
setTabSize(int)
protected void newPanel(TabImage tabImage, int lineCapacity)
tabImage
- the image of the new tablineCapacity
- the number of rows of the attribute list to be createdAttributeList
,
setTabSize(int)
protected void newPanel(TabImage tabImage, int lineCapacity, java.lang.String toolTipText)
tabImage
- the image of the new tablineCapacity
- the number of rows of the attribute list to be createdtoolTipText
- the tool tip text to showAttributeList
,
setTabSize(int)
protected void creationEnding()
public java.lang.String getTabbedPaneTagSequence()
public AttributeList getAttributeList()
public void fetchValuesFromRequest(GeneralizedRequest request)
fetchValuesFromRequest
in interface Invokable
fetchValuesFromRequest
in class Dialog
request
- the request from where the values are to be fetchedMarkupable#fetchYourValueFromRequest
public void process(GeneralizedRequest request)
public boolean wantToBeFinalized()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de