public abstract class Presentation extends RemoteUserInterface
Modifier and Type | Field and Description |
---|---|
protected java.util.Vector<MustButton> |
additionalBottomButtons |
protected java.util.Vector<AttributeList> |
attributeLists |
protected MustButton |
buttonPrint |
protected AttributeList |
currentAttributeList |
protected java.util.Vector<MustButton> |
otherAdditionalButtons |
appearanceModifiablePool, appellation, buildDone, confirmationMatter, contextInfo, dependencies, infoMatter, isToRenew, popupBuilders, presentMessageInDialogIfRepeated, remoteContents, remoteContentsExceptionallyToSetValues, sessionData
Constructor and Description |
---|
Presentation(SessionData sessionData,
ContextInfo contextInfo)
Constructs a new presentation class
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Controls action events like button pressed.
|
protected InsertedButton |
addButton(java.lang.String label) |
protected InsertedButton |
addButton(java.lang.String label,
int index) |
protected InsertedButton |
addButton(java.lang.String imageName,
java.lang.String fallbackLabel,
int index) |
void |
append(java.lang.String label,
java.lang.String value)
Appends an attribute after suppressing strings for zero values.
|
void |
buildRemoteView(ToAppletWriter out)
Build remote view.
|
protected void |
creationEnding()
Not needed any longer.
|
void |
fetchValuesFromRequest(GeneralizedRequest request) |
void |
generalActionBeginnung()
Initializes things before an action begins like resetting the status label.
|
protected void |
generalActionEnding()
Concludes things after an action ended like resetting the status label to
its default value.
|
protected java.lang.Class<? extends DataPropertyPrint> |
getPrintClass()
Returns the print class - to be overridden by child if print class is available!
|
boolean |
isClosingAllowed()
Returns true because closing is always allowed here.
|
protected void |
okButtonAction()
The task to be done associated with the OK button.
|
protected void |
printButtonAction()
The task to be done associated with the print button.
|
protected void |
reset() |
protected void |
setMessageToKeep(java.lang.String message)
Sets the message to be read by the user, it is not reset by
generalActionEnding when action completed.
|
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, setSoundToPlay, setTitle, setToolTipText, setToRenewToTrue, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
protected java.util.Vector<AttributeList> attributeLists
protected AttributeList currentAttributeList
protected java.util.Vector<MustButton> additionalBottomButtons
protected java.util.Vector<MustButton> otherAdditionalButtons
protected MustButton buttonPrint
public Presentation(SessionData sessionData, ContextInfo contextInfo)
protected void reset()
public void append(java.lang.String label, java.lang.String value)
label
- the label of the new linevalue
- the attribute value to be displayedprotected InsertedButton addButton(java.lang.String label)
protected InsertedButton addButton(java.lang.String label, int index)
protected InsertedButton addButton(java.lang.String imageName, java.lang.String fallbackLabel, int index)
protected void creationEnding()
protected java.lang.Class<? extends DataPropertyPrint> getPrintClass()
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 actionPerformed(java.awt.event.ActionEvent e)
e
- the action event to be interpretedprotected void okButtonAction()
protected void printButtonAction()
public void generalActionBeginnung()
protected void generalActionEnding()
protected void setMessageToKeep(java.lang.String message)
setMessageToKeep
in class RemoteUserInterface
message
- the message for the userpublic boolean isClosingAllowed()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de