org.universAAL.ui.handler.gui.swing.model.FormControl
Class SubdialogTriggerModel
java.lang.Object
org.universAAL.ui.handler.gui.swing.model.Model
org.universAAL.ui.handler.gui.swing.model.FormControl.SubmitModel
org.universAAL.ui.handler.gui.swing.model.FormControl.SubdialogTriggerModel
- All Implemented Interfaces:
- ActionListener, EventListener
- Direct Known Subclasses:
- SubdialogTriggerLAF, SubdialogTriggerLAF, SubdialogTriggerLAF
public class SubdialogTriggerModel
- extends SubmitModel
- implements ActionListener
- Author:
- amedrano
- See Also:
SubdialogTrigger
Methods inherited from class org.universAAL.ui.handler.gui.swing.model.FormControl.SubmitModel |
isValid |
Methods inherited from class org.universAAL.ui.handler.gui.swing.model.Model |
correspondsTo, getComponent, getLabelModel, getPositionInGroup, getRenderer, isInDialog, isInIOGroup, isInMainMenu, isInMessage, isInStandardGroup, isInSubDialog, isInSubmitGroup, isInTable, needsLabel, needsPostNewLine, needsPreNewLine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubdialogTriggerModel
public SubdialogTriggerModel(SubdialogTrigger control,
Renderer render)
- Constructor.
- Parameters:
control
- the FormControl
which to model.
getNewComponent
public JComponent getNewComponent()
- generate the
JComponent
that displays this FormControl
's
information.
- Overrides:
getNewComponent
in class SubmitModel
- Returns:
- a
JToggleButton
, whose state is determined by the
antecessor Form
s.
update
public void update()
- Update the
JComponent
- Overrides:
update
in class SubmitModel
actionPerformed
public void actionPerformed(ActionEvent e)
-
- Specified by:
actionPerformed
in interface ActionListener
- Overrides:
actionPerformed
in class SubmitModel
Copyright © 2014 universAAL Consortium. All Rights Reserved.