org.universAAL.ui.gui.swing.bluesteelLAF
Class FormLAF

Package class diagram package FormLAF
java.lang.Object
  extended by org.universAAL.ui.handler.gui.swing.model.FormModel
      extended by org.universAAL.ui.gui.swing.bluesteelLAF.FormLAF
All Implemented Interfaces:
ComponentListener, EventListener

public class FormLAF
extends FormModel
implements ComponentListener

The Look and Feel for Forms

Author:
amedrano, pabril
See Also:
FormModel

Field Summary
 
Fields inherited from class org.universAAL.ui.handler.gui.swing.model.FormModel
form, IO_NAME, ioGroupModel, SUB_NAME, submitsGroupModel, SYS_NAME, sysGroupModel
 
Constructor Summary
FormLAF(Form f, Renderer render)
          Constructor.
 
Method Summary
 void componentHidden(ComponentEvent e)
          
 void componentMoved(ComponentEvent e)
          
 void componentResized(ComponentEvent e)
          
 void componentShown(ComponentEvent e)
          
protected  JPanel getHeader()
          generate the header panel.
protected  JComponent getIOPanelScroll()
          get the io panel wrapped in a scroll pane.
protected  JScrollPane getSubmitHorizontalPanelScroll(int depth)
          get the submit panel Horizontally displayed wrapped in a scroll pane.
protected  JScrollPane getSubmitPanelScroll(int depth)
          get the submit panel wrapped in a scroll pane.
 void showForm()
          render the frame for the Form.
 void terminateDialog()
          Terminate the dialog, closing the frame, and any required procedure.
 
Methods inherited from class org.universAAL.ui.handler.gui.swing.model.FormModel
finalizeForm, findModel, getForm, getIOPanel, getIOPanel, getRenderer, getRequest, getSubdialogLevel, getSubmitPanel, getSubmitPanel, getSystemPanel, getTitlePath, isAntecessor, setRequest, updateMissingInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormLAF

public FormLAF(Form f,
               Renderer render)
Constructor.

Parameters:
f - Form which to model.
Method Detail

getIOPanelScroll

protected JComponent getIOPanelScroll()
get the io panel wrapped in a scroll pane.

Returns:
the FormModel.getIOPanel() wrapped in a JScrollPane .

getSubmitPanelScroll

protected JScrollPane getSubmitPanelScroll(int depth)
get the submit panel wrapped in a scroll pane.

Returns:
the FormModel.getSubmitPanel() wrapped in a JScrollPane.

getSubmitHorizontalPanelScroll

protected JScrollPane getSubmitHorizontalPanelScroll(int depth)
get the submit panel Horizontally displayed wrapped in a scroll pane.

Returns:
the FormModel.getSubmitPanel() wrapped in a JScrollPane.

getHeader

protected JPanel getHeader()
generate the header panel.

Returns:
a pannel with universAAL icon in it.

showForm

public void showForm()
render the frame for the Form.

Specified by:
showForm in class FormModel

terminateDialog

public void terminateDialog()
Terminate the dialog, closing the frame, and any required procedure.

Specified by:
terminateDialog in class FormModel

componentResized

public void componentResized(ComponentEvent e)

Specified by:
componentResized in interface ComponentListener

componentMoved

public void componentMoved(ComponentEvent e)

Specified by:
componentMoved in interface ComponentListener

componentShown

public void componentShown(ComponentEvent e)

Specified by:
componentShown in interface ComponentListener

componentHidden

public void componentHidden(ComponentEvent e)

Specified by:
componentHidden in interface ComponentListener


Copyright © 2014 universAAL Consortium. All Rights Reserved.