org.oddjob.arooa.design.view
Class StandardFormView

java.lang.Object
  extended by org.oddjob.arooa.design.view.StandardFormView
All Implemented Interfaces:
SwingFormView

public class StandardFormView
extends Object
implements SwingFormView

Provides most designer dialogs.

Provide a panel with the element name, the id if the design is for a component and then allows the form items to SwingItemView.inline(java.awt.Container, int, int, boolean) themselves onto a GridBagLayout panel.

Author:
rob

Constructor Summary
StandardFormView(StandardForm form)
          Constructor.
 
Method Summary
 Component cell()
          The component should be rendered for use in a table cell.
 Component dialog()
          The component should be rendered for use in a model dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardFormView

public StandardFormView(StandardForm form)
Constructor.

Parameters:
form -
Method Detail

cell

public Component cell()
Description copied from interface: SwingFormView
The component should be rendered for use in a table cell.

Specified by:
cell in interface SwingFormView
Returns:
The component.

dialog

public Component dialog()
Description copied from interface: SwingFormView
The component should be rendered for use in a model dialog. With a border and sized correctly.

Specified by:
dialog in interface SwingFormView
Returns:
The component.