public class MultChoice extends RemoteElement
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
helpTarget |
protected java.lang.String |
helpTopic |
protected MultChoiceModel |
model |
protected boolean |
required |
context, editable, enabled, lastEditability, lastVisibility, name, nonstandardPanel, nonstandardPosition, sessionData, toolTipText, visible
Constructor and Description |
---|
MultChoice(SessionData sessionData,
int columnsToPresent) |
Modifier and Type | Method and Description |
---|---|
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 |
getHelpTarget() |
java.lang.String |
getHelpTopic() |
boolean |
isModified() |
void |
requestFocusInWindow()
Set focus on the receiving component if isRequestFocusEnabled returns true.
|
void |
selectAll()
Selects all input of the component, if it is supported - e.g. in JTextField.
|
void |
setEditable(boolean editable)
Sets the flag that determines whether or not this component is editable.
|
void |
setHelpContext(java.lang.String helpTopic)
Sets the component's context help.
|
void |
setHelpContext(java.lang.String helpTopic,
java.lang.String helpTarget)
Sets the component's context help.
|
void |
setPreferedColumnSize(int[] cs)
Sets the preferred column sizes of the table.
|
void |
setRequired(boolean required)
Determines whether input is required (mandatory).
|
void |
setToolTipText(java.lang.String text)
Sets the component's tool tip text.
|
void |
setValues(ToAppletWriter out) |
beginAction, endAction, getContext, getName, getTranslation, isEnabled, isVisible, register, resetLastStatus, setEnabled, setVisible
protected MultChoiceModel model
protected java.lang.String helpTopic
protected java.lang.String helpTarget
protected boolean required
public MultChoice(SessionData sessionData, int columnsToPresent)
public void setHelpContext(java.lang.String helpTopic)
helpTopic
- the context help's topicpublic void setHelpContext(java.lang.String helpTopic, java.lang.String helpTarget)
helpTopic
- the context help's topichelpTarget
- the context help's targetpublic java.lang.String getHelpTopic()
public java.lang.String getHelpTarget()
public void setToolTipText(java.lang.String text)
Remotable
setToolTipText
in interface Remotable
setToolTipText
in class RemoteElement
text
- the component's tool tip textpublic void setPreferedColumnSize(int[] cs)
cs
- contains the sizes of the visible columns from left to rightpublic void setRequired(boolean required)
required
- if true, input is mandatory; otherwise, input is not mandatorypublic boolean isModified()
public void selectAll()
RemoteContent
selectAll
in interface RemoteContent
selectAll
in class RemoteElement
public void requestFocusInWindow()
RemoteContent
requestFocusInWindow
in interface RemoteContent
requestFocusInWindow
in class RemoteElement
public void setEditable(boolean editable)
RemoteElement
setEditable
in class RemoteElement
editable
- a flag indicating whether this component should be user editable#setEditableForUserTyping
public void buildRemoteView(ToAppletWriter out)
AppletTalker
buildRemoteView
in interface AppletTalker
buildRemoteView
in class RemoteElement
out
- the writer which will be read by the appletpublic void setValues(ToAppletWriter out)
setValues
in interface RemoteContent
setValues
in class RemoteElement
public void fetchValuesFromRequest(GeneralizedRequest request)
public void free()
ExemptibleManager
free
in interface Exemptible
free
in interface ExemptibleManager
free
in class RemoteElement
public void destroy()
Remotable
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de