org.universAAL.ui.handler.gui.swing.defaultLookAndFeel
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.handler.gui.swing.defaultLookAndFeel.FormLAF

public class FormLAF
extends FormModel

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
protected  JPanel getHeader()
          generate the header panel.
protected  JScrollPane getIOPanelScroll()
          get the io panel wrapped in a scroll pane.
protected  JScrollPane getSubmitPanelScroll(int depth)
          get the submit panel wrapped in a scroll pane.
protected  JScrollPane getSystemPanelScroll()
          get the system 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.
render - the Renderer reference
Method Detail

getIOPanelScroll

protected JScrollPane 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.

getSystemPanelScroll

protected JScrollPane getSystemPanelScroll()
get the system panel wrapped in a scroll pane.

Returns:
the FormModel.getSystemPanel() 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


Copyright © 2014 universAAL Consortium. All Rights Reserved.