org.universAAL.ui.handler.gui.swing.defaultLookAndFeel
Class RepeatLAF

Package class diagram package RepeatLAF
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.RepeatModel
              extended by org.universAAL.ui.handler.gui.swing.defaultLookAndFeel.RepeatLAF

public class RepeatLAF
extends RepeatModel

Author:
pabril

Field Summary
 
Fields inherited from class org.universAAL.ui.handler.gui.swing.model.FormControl.RepeatModel
grid, table
 
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
RepeatLAF(Repeat control, Renderer render)
          Constructor.
 
Method Summary
 JComponent getNewComponent()
          The JComponent returned may be either a JPanel a JTabbedPane depending on the complexity (and other factors) of the group
 
Methods inherited from class org.universAAL.ui.handler.gui.swing.model.FormControl.RepeatModel
containsSubmits, getChildrenType, isATable, update
 
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

RepeatLAF

public RepeatLAF(Repeat control,
                 Renderer render)
Constructor.

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

getNewComponent

public JComponent getNewComponent()
The JComponent returned may be either depending on the complexity (and other factors) of the group

Specified by:
getNewComponent in class GroupModel
Returns:
always a simple Jpanel() (LAFs should decide which to use).


Copyright © 2014 universAAL Consortium. All Rights Reserved.