org.oddjob.arooa.design.view
Class LabelledComboBoxView<T>

java.lang.Object
  extended by org.oddjob.arooa.design.view.LabelledComboBoxView<T>
All Implemented Interfaces:
SwingItemView

public class LabelledComboBoxView<T>
extends Object
implements SwingItemView

A view which renders a SelectionList. This Swing view uses a ComboBox to rener the view.


Constructor Summary
LabelledComboBoxView(LabelledComboBox<T> formItem)
          Constructor.
 
Method Summary
 int inline(Container container, int row, int column, boolean selectionInGroup)
          The class should add it's component to the container which has a GridBagLayout.
 void setEnabled(boolean enabled)
          Used when a component is part of a selection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelledComboBoxView

public LabelledComboBoxView(LabelledComboBox<T> formItem)
Constructor.

Parameters:
formItem - The form item.
Method Detail

inline

public int inline(Container container,
                  int row,
                  int column,
                  boolean selectionInGroup)
Description copied from interface: SwingItemView
The class should add it's component to the container which has a GridBagLayout.

Specified by:
inline in interface SwingItemView
Parameters:
container - The container to add the component to.
row - The row to add the component at.
Returns:
The row the next component should be added at.

setEnabled

public void setEnabled(boolean enabled)
Description copied from interface: SwingItemView
Used when a component is part of a selection.

Specified by:
setEnabled in interface SwingItemView