org.universAAL.ui.handler.gui.swing.model.FormControl
Class GroupPanelModel

Package class diagram package GroupPanelModel
java.lang.Object
  extended by org.universAAL.ui.handler.gui.swing.model.Model
      extended by org.universAAL.ui.handler.gui.swing.model.FormControl.GroupModel
          extended by org.universAAL.ui.handler.gui.swing.model.FormControl.GroupPanelModel
Direct Known Subclasses:
GroupPanelLAF, GroupPanelLAF

public abstract class GroupPanelModel
extends GroupModel

Specific Model for Groups to be rendered as JPanel.

Author:
amedrano
See Also:
Group

Field Summary
 
Fields inherited from class org.universAAL.ui.handler.gui.swing.model.FormControl.GroupModel
children
 
Fields inherited from class org.universAAL.ui.handler.gui.swing.model.Model
fc, FORM_CONTROL_IN_TABLE, jc, label, needsLabel, needsPostNewLine, needsPreNewLine
 
Constructor Summary
GroupPanelModel(Group control, Renderer render)
          Constructor.
 
Method Summary
 JComponent getNewComponent()
          create a simple panel with the children in it
 void update()
          Override of Update, so it updates correctly the GroupPanelModel
 
Methods inherited from class org.universAAL.ui.handler.gui.swing.model.FormControl.GroupModel
addComponentTo, containsOnlySubGroups, findChildModeFor, getComponentFrom, isTheIOGroup, isTheMainGroup, isTheSubmitGroup, 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
 

Constructor Detail

GroupPanelModel

public GroupPanelModel(Group control,
                       Renderer render)
Constructor.

Parameters:
control - the Group which to model.
Method Detail

getNewComponent

public JComponent getNewComponent()
create a simple panel with the children in it

Specified by:
getNewComponent in class GroupModel
Returns:
a JPanel with all the group's children.

update

public void update()
Override of Update, so it updates correctly the GroupPanelModel

Overrides:
update in class GroupModel


Copyright © 2014 universAAL Consortium. All Rights Reserved.