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

Package class diagram package SubmitLAF
java.lang.Object
  extended by org.universAAL.ui.handler.gui.swing.model.Model
      extended by org.universAAL.ui.handler.gui.swing.model.FormControl.SubmitModel
          extended by org.universAAL.ui.handler.gui.swing.defaultLookAndFeel.SubmitLAF
All Implemented Interfaces:
ActionListener, EventListener

public class SubmitLAF
extends SubmitModel

Author:
pabril, amedrano

Field Summary
static int SEPARATOR
           
 
Fields inherited from class org.universAAL.ui.handler.gui.swing.model.FormControl.SubmitModel
specialBFactory
 
Fields inherited from class org.universAAL.ui.handler.gui.swing.model.Model
fc, FORM_CONTROL_IN_TABLE, jc, label, needsLabel, needsPostNewLine, needsPreNewLine
 
Constructor Summary
SubmitLAF(Submit control, Renderer render)
          Constructor.
 
Method Summary
static JComponent getButton(Model model, String label, Icon icon, ColorLAF color)
           
 JComponent getNewComponent()
          generate the JComponent that displays this FormControl's information.
 
Methods inherited from class org.universAAL.ui.handler.gui.swing.model.FormControl.SubmitModel
actionPerformed, isValid, update
 
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
 

Field Detail

SEPARATOR

public static final int SEPARATOR
See Also:
Constant Field Values
Constructor Detail

SubmitLAF

public SubmitLAF(Submit control,
                 Renderer render)
Constructor.

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

getNewComponent

public JComponent getNewComponent()
generate the JComponent that displays this FormControl's information.

Overrides:
getNewComponent in class SubmitModel
Returns:
a JButton

getButton

public static JComponent getButton(Model model,
                                   String label,
                                   Icon icon,
                                   ColorLAF color)


Copyright © 2014 universAAL Consortium. All Rights Reserved.