org.universAAL.ui.handler.gui.swing.classic
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.classic.SubmitLAF
All Implemented Interfaces:
ActionListener, ComponentListener, EventListener

public class SubmitLAF
extends SubmitModel
implements ComponentListener

Author:
pabril, amedrano

Field Summary
static int MAX_HEIGHT
           
static int MAX_WIDE
           
static int MIN_HEIGHT
           
static int MIN_WIDE
           
 
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
 void componentHidden(ComponentEvent e)
           
 void componentMoved(ComponentEvent e)
           
 void componentResized(ComponentEvent e)
           
 void componentShown(ComponentEvent e)
           
 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

MAX_WIDE

public static final int MAX_WIDE
See Also:
Constant Field Values

MAX_HEIGHT

public static final int MAX_HEIGHT
See Also:
Constant Field Values

MIN_WIDE

public static final int MIN_WIDE
See Also:
Constant Field Values

MIN_HEIGHT

public static final int MIN_HEIGHT
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

componentShown

public void componentShown(ComponentEvent e)
Specified by:
componentShown in interface ComponentListener

componentResized

public void componentResized(ComponentEvent e)
Specified by:
componentResized in interface ComponentListener

componentMoved

public void componentMoved(ComponentEvent e)
Specified by:
componentMoved in interface ComponentListener

componentHidden

public void componentHidden(ComponentEvent e)
Specified by:
componentHidden in interface ComponentListener


Copyright © 2014 universAAL Consortium. All Rights Reserved.