public abstract class PropertyAdministration extends RemoteUserInterface
Modifier and Type | Field and Description |
---|---|
protected java.util.Vector<MustButton> |
additionalButtons |
protected java.util.Vector<SpecialGUIElement> |
additionalComponents |
protected MustCheckBox |
checkRepeatedInput |
protected AttributeList |
currentAttributeList |
protected TabButtonGroup |
tabButtonGroup |
appearanceModifiablePool, appellation, buildDone, confirmationMatter, contextInfo, dependencies, infoMatter, isToRenew, popupBuilders, presentMessageInDialogIfRepeated, remoteContents, remoteContentsExceptionallyToSetValues, sessionData
Constructor and Description |
---|
PropertyAdministration(SessionData sessionData,
ContextInfo contextInfo)
Constructs a new property administration object.
|
Modifier and Type | Method and Description |
---|---|
protected InsertedButton |
addButton(java.lang.String label)
Creates a button and adds it to the standard button panel.
|
protected InsertedButton |
addButton(java.lang.String label,
int index)
Creates a button and adds it to the standard button panel.
|
protected MustButton |
addButtonInSequence(java.lang.String label) |
void |
addSeparator()
Adds a separator under the last attribute line.
|
protected void |
addToButtonPanel(Remotable remotable)
Adds a remotable to the button panel.
|
protected void |
addToButtonPanel(RemoteElement comp,
int index) |
protected void |
append(MustButton button)
Appends the passed button to the current AttributeList
and register it as additional button to be checked for actions.
|
protected void |
append(Remotable component)
Adds a component to the line as previously used.
|
protected void |
append(java.lang.String text) |
MustButton |
appendButtonForSelection(MustTextField targetTextField,
Callback callback)
Creates a button to call a selection list and appends it to the layout.
|
void |
buildRemoteView(ToAppletWriter out)
Build remote view.
|
protected MustButton |
createButtonInButtonPanel(java.lang.String label)
Creates a button, adds it to the list of additional remotables to be added to the button panel and returns it.
|
protected TextPresenter |
createTextPresenter() |
protected TextPresenter |
createTextPresenter(java.lang.String label) |
protected void |
creationEnding()
Conclusion of the construction process.
|
void |
fetchValuesFromRequest(GeneralizedRequest request) |
AttributeList |
getAttributeList()
Returns the used attribute list.
|
boolean |
hasMultiplePanels()
Returns true if the property frame has multiple panels.
|
protected void |
newPanel() |
protected void |
newPanel(java.lang.String tabLabel)
Creates a new panel with an attribute list and adds it to the tabbed pane.
|
protected void |
newPanel(java.lang.String tabLabel,
java.lang.String toolTipText)
Creates a new panel with an attribute list and adds it to the tabbed pane.
|
protected void |
optional()
Adds the hint 'optional entry' to the last component.
|
void |
process(GeneralizedRequest request) |
protected void |
setLayoutTolerance(int reduceWidthPercent,
int enlargeWidthPercent)
Sets the layout tolerance concerning length of last input fields to reducing variations of right input field endings.
|
void |
setToolTipText(java.lang.String toolTipText)
Sets the tool tip text of the last added component.
|
addDependency, addDependency, associateDefaultButtonToInputField, destroy, free, getAppellation, getAppResStr, getConcerning, getContextInfo, getElementID, getInstance, getMessageSetSize, getTabId, getTabLabel, getTranslation, hasVeto, isVisible, register, register, registerRemotable, setAppellation, setElementID, setMessage, setMessageToKeep, setMessageToKeep, setMessageToKeep, setMessageToKeep, setMessageToKeep, setSoundToPlay, setTitle, setToRenewToTrue, setVisible
protected TabButtonGroup tabButtonGroup
protected AttributeList currentAttributeList
protected java.util.Vector<MustButton> additionalButtons
protected java.util.Vector<SpecialGUIElement> additionalComponents
protected MustCheckBox checkRepeatedInput
public PropertyAdministration(SessionData sessionData, ContextInfo contextInfo)
sessionData
- the session's public datapublic void setToolTipText(java.lang.String toolTipText)
setToolTipText
in interface Remotable
setToolTipText
in class RemoteUserInterface
toolTipText
- the tool tip textpublic MustButton appendButtonForSelection(MustTextField targetTextField, Callback callback)
targetTextField
- the targetField to receive user's choicecallback
- the action to be done if user clicks the buttonpublic boolean hasMultiplePanels()
protected void newPanel(java.lang.String tabLabel)
tabLabel
- the label of the new tablineCapacity
- the number of rows of the attribute list to be createdAttributeList
protected void newPanel(java.lang.String tabLabel, 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
protected void newPanel()
public void addSeparator()
protected void creationEnding()
protected void append(java.lang.String text)
protected void append(MustButton button)
button
- the button to addprotected void append(Remotable component)
Component
- protected InsertedButton addButton(java.lang.String label)
label
- the label of the buttonprotected InsertedButton addButton(java.lang.String label, int index)
label
- the label of the buttonindex
- the index where to place the buttonprotected MustButton addButtonInSequence(java.lang.String label)
protected MustButton createButtonInButtonPanel(java.lang.String label)
label
- the button's labelprotected void addToButtonPanel(Remotable remotable)
remotable
- the remotable to be added to the button panelprotected TextPresenter createTextPresenter(java.lang.String label)
protected TextPresenter createTextPresenter()
protected void optional()
protected void addToButtonPanel(RemoteElement comp, int index)
protected void setLayoutTolerance(int reduceWidthPercent, int enlargeWidthPercent)
reduceWidthPercent
- how much percent length of last input field may be reduced to accomplish right alignment with previous text fieldenlargeWidthPercent
- how much percent length of last input field may be enlarged to accomplish right alignment with previous text fieldpublic AttributeList getAttributeList()
public void buildRemoteView(ToAppletWriter out)
AppletTalker
buildRemoteView
in interface AppletTalker
buildRemoteView
in class RemoteUserInterface
out
- the writer which will be read by the appletpublic void fetchValuesFromRequest(GeneralizedRequest request)
fetchValuesFromRequest
in interface Remotable
fetchValuesFromRequest
in class RemoteUserInterface
public void process(GeneralizedRequest request)
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de