public abstract class RemoteUserInterface extends java.lang.Object implements RemotableControler, AppTextResource, ExemptibleManager
Modifier and Type | Field and Description |
---|---|
protected java.util.Vector<AppearanceModifiable> |
appearanceModifiablePool |
protected java.lang.String |
appellation |
protected boolean |
buildDone |
protected ConfirmationMatter |
confirmationMatter |
protected ContextInfo |
contextInfo |
protected java.util.Vector<de.must.appletserver.RemoteUserInterface.Dependency> |
dependencies |
protected ConversationMatter |
infoMatter |
protected boolean |
isToRenew |
protected java.util.Vector<PopupBuilder> |
popupBuilders |
protected boolean |
presentMessageInDialogIfRepeated |
protected java.util.Vector<RemoteContent> |
remoteContents |
protected java.util.Vector<RemoteContent> |
remoteContentsExceptionallyToSetValues |
protected SessionData |
sessionData |
Constructor and Description |
---|
RemoteUserInterface(SessionData sessionData,
ContextInfo contextInfo) |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(MustTextField textField,
MustButton button) |
void |
addDependency(MustTextField textField,
MustButton button1,
MustButton button2) |
protected void |
associateDefaultButtonToInputField(MustTextField textField,
MustButton button) |
void |
buildRemoteView(ToAppletWriter out)
Build remote view.
|
void |
destroy()
Don't wait until garbage collector removed weak reference.
|
void |
fetchValuesFromRequest(GeneralizedRequest request) |
void |
free()
Releases external resources.
|
java.lang.String |
getAppellation() |
java.lang.String |
getAppResStr(java.lang.String resourceKey)
Returns a text in the corresponding language according to the locale specific resource bundle.
|
java.lang.String |
getConcerning()
Returns the type of interface.
|
ContextInfo |
getContextInfo() |
java.lang.String |
getElementID() |
protected static RemoteUserInterface |
getInstance(SessionData sessionData,
java.lang.String tabId) |
int |
getMessageSetSize() |
java.lang.String |
getTabId()
Returns the ID of the tab or the window
|
java.lang.String |
getTabLabel()
Returns the label of the tab or the title of the current window.
|
protected java.lang.String |
getTranslation(java.lang.String resourceKey) |
boolean |
hasVeto()
Return true if input in e.g. dialog is not accepted.
|
boolean |
isVisible() |
DataObject |
register(DataObject dataObject)
Registers an object to free its external resources as soon as they are not needed any more.
|
void |
register(Exemptible exemptible)
Registers an object to free its external resources as soon as they are not needed any more.
|
protected void |
registerRemotable(RemoteContent nextRemotable) |
void |
setAppellation(java.lang.String appellation)
Sets the appellation of this user interface.
|
void |
setElementID(java.lang.String elementID)
Sets the ID of the element to be used for setVisible (instead of getTabId()).
|
protected void |
setMessage(java.lang.String messageToKeep) |
protected void |
setMessageToKeep(Message message) |
protected void |
setMessageToKeep(java.lang.String messageToKeep)
Sets the message to be read by the user, it is not reset by
generalActionEnding when action completed.
|
void |
setMessageToKeep(java.lang.String messageToKeep,
java.lang.Object contextElement)
Sets the message to be read by the user, it is not reset by
generalActionEnding when action completed.
|
void |
setMessageToKeep(java.lang.String messageToKeep,
java.lang.Object contextElement,
java.lang.String soundToPlay)
Sets the message to be read by the user, it is not reset by
generalActionEnding when action completed.
|
protected void |
setMessageToKeep(java.lang.String messageToKeep,
java.lang.String soundToPlay) |
protected void |
setSoundToPlay(java.lang.String soundToPlay) |
protected void |
setTitle(java.lang.String newTitle) |
void |
setToolTipText(java.lang.String newToolTipText)
Sets the component's tool tip text.
|
void |
setToRenewToTrue() |
void |
setVisible(boolean visible) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
protected SessionData sessionData
protected ContextInfo contextInfo
protected java.lang.String appellation
protected java.util.Vector<RemoteContent> remoteContents
protected java.util.Vector<RemoteContent> remoteContentsExceptionallyToSetValues
protected java.util.Vector<de.must.appletserver.RemoteUserInterface.Dependency> dependencies
protected java.util.Vector<AppearanceModifiable> appearanceModifiablePool
protected java.util.Vector<PopupBuilder> popupBuilders
protected boolean buildDone
protected boolean isToRenew
protected ConfirmationMatter confirmationMatter
protected ConversationMatter infoMatter
protected boolean presentMessageInDialogIfRepeated
public RemoteUserInterface(SessionData sessionData, ContextInfo contextInfo)
protected static RemoteUserInterface getInstance(SessionData sessionData, java.lang.String tabId)
public void setElementID(java.lang.String elementID)
public java.lang.String getElementID()
public ContextInfo getContextInfo()
public java.lang.String getConcerning()
ConstantsD.TOOLBAR
,
ConstantsD.SEARCH_LIST_DETAIL_GUI
,
ConstantsD.FREE_CENTER_GUI
,
ConstantsD.DIALOG_FOR_PROPERTIES
,
ConstantsD.DIALOG_FOR_OPTIONS_WITH_LIST_SELECTION
,
ConstantsD.DIALOG_FOR_CHOOSING
public java.lang.String getTabId()
public java.lang.String getTabLabel()
public java.lang.String getAppResStr(java.lang.String resourceKey)
AppTextResource
getAppResStr
in interface AppTextResource
resourceKey
- the key of the resource to retrievepublic void setAppellation(java.lang.String appellation)
appellation
- the appellation of the user interfacepublic java.lang.String getAppellation()
public void register(Exemptible exemptible)
ExemptibleManager
register
in interface ExemptibleManager
exemptible
- the exemptible object to registerpublic DataObject register(DataObject dataObject)
dataObject
- the data object to register to be released at a suitable later momentprotected void registerRemotable(RemoteContent nextRemotable)
protected java.lang.String getTranslation(java.lang.String resourceKey)
public void addDependency(MustTextField textField, MustButton button)
public void addDependency(MustTextField textField, MustButton button1, MustButton button2)
protected void setMessageToKeep(java.lang.String messageToKeep)
messageToKeep
- the message for the userpublic void setMessageToKeep(java.lang.String messageToKeep, java.lang.Object contextElement)
messageToKeep
- the message for the usercontextElement
- the element specifying the context of the message / the origin witch caused message - special value to suppress dialog completelypublic void setMessageToKeep(java.lang.String messageToKeep, java.lang.Object contextElement, java.lang.String soundToPlay)
messageToKeep
- the message for the usercontextElement
- the element specifying the context of the messagesoundToPlay
- the sound to play while presenting the messageprotected void setTitle(java.lang.String newTitle)
public int getMessageSetSize()
protected void setMessageToKeep(Message message)
protected void setMessageToKeep(java.lang.String messageToKeep, java.lang.String soundToPlay)
protected void setSoundToPlay(java.lang.String soundToPlay)
protected void setMessage(java.lang.String messageToKeep)
public boolean isVisible()
public void setVisible(boolean visible)
setVisible
in interface RemotableControler
public void setToRenewToTrue()
public void fetchValuesFromRequest(GeneralizedRequest request)
fetchValuesFromRequest
in interface Remotable
public boolean hasVeto()
public void buildRemoteView(ToAppletWriter out)
AppletTalker
buildRemoteView
in interface AppletTalker
out
- the writer which will be read by the appletprotected void associateDefaultButtonToInputField(MustTextField textField, MustButton button)
public void setToolTipText(java.lang.String newToolTipText)
Remotable
setToolTipText
in interface Remotable
newToolTipText
- the component's tool tip textpublic void free()
ExemptibleManager
free
in interface Exemptible
free
in interface ExemptibleManager
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de