
public class SubmitModel extends Model implements ActionListener
| Modifier and Type | Field and Description |
|---|---|
protected SpecialButtonFactory |
specialBFactory |
fc, FORM_CONTROL_IN_TABLE, jc, label, needsLabel, needsPostNewLine, needsPreNewLine| Constructor and Description |
|---|
SubmitModel(Submit control,
Renderer render)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
JComponent |
getNewComponent()
generate the
JComponent that displays this FormControl's
information. |
boolean |
isValid()
a Submit is allways valid.
|
void |
update()
Adds all the needed information to the rendered component (in Model
view).
|
correspondsTo, getComponent, getLabelModel, getPositionInGroup, getRenderer, isInDialog, isInIOGroup, isInMainMenu, isInMessage, isInStandardGroup, isInSubDialog, isInSubmitGroup, isInTable, needsLabel, needsPostNewLine, needsPreNewLineprotected SpecialButtonFactory specialBFactory
public SubmitModel(Submit control, Renderer render)
control - the FormControl which to model.public JComponent getNewComponent()
JComponent that displays this FormControl's
information.getNewComponent in class ModelJButtonpublic void update()
public boolean isValid()
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerCopyright © 2018 universAAL Consortium. All rights reserved.