public class MultChoice
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
helpTarget |
protected java.lang.String |
helpTopic |
protected MultChoiceModel |
model |
protected boolean |
required |
protected javax.swing.JTable |
table |
Constructor and Description |
---|
MultChoice() |
Modifier and Type | Method and Description |
---|---|
void |
free() |
java.lang.String |
getHelpTarget() |
java.lang.String |
getHelpTopic() |
javax.swing.JTable |
getTable()
Returns the table e.g. to be added to a viewport.
|
boolean |
isModified() |
boolean |
requestFocusInWindow() |
void |
selectAll() |
void |
setEditable(boolean 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) |
protected javax.swing.JTable table
protected MultChoiceModel model
protected java.lang.String helpTopic
protected java.lang.String helpTarget
protected boolean required
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)
public javax.swing.JTable getTable()
public 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()
public boolean requestFocusInWindow()
public void setEditable(boolean editable)
public void free()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de