ucar.unidata.idv.control
Class WrapperWidget

java.lang.Object
  extended by ucar.unidata.idv.control.ControlWidget
      extended by ucar.unidata.idv.control.WrapperWidget
All Implemented Interfaces:
ActionListener, EventListener

public class WrapperWidget
extends ControlWidget

Class for wrapping a set of widgets.

Version:
$Revision: 1.12 $
Author:
Jeff McWhirter

Constructor Summary
WrapperWidget(DisplayControlImpl control, Component c1)
          Wrap a component with a couple of labels
WrapperWidget(DisplayControlImpl control, Component c1, Component c2)
          Wrap two components with a label
WrapperWidget(DisplayControlImpl control, Component c1, Component c2, Component c3)
          Wrap three components.
 
Method Summary
 void fillList(List l, int columns)
          Fill the list of components with this widgets components.
 
Methods inherited from class ucar.unidata.idv.control.ControlWidget
actionPerformed, doRemove, fillList, fillList, getDisplayControl, getDisplayConventions, logException, userMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrapperWidget

public WrapperWidget(DisplayControlImpl control,
                     Component c1)
Wrap a component with a couple of labels

Parameters:
control - control for widget
c1 - component to wrap

WrapperWidget

public WrapperWidget(DisplayControlImpl control,
                     Component c1,
                     Component c2)
Wrap two components with a label

Parameters:
control - control for widget
c1 - first component
c2 - second component

WrapperWidget

public WrapperWidget(DisplayControlImpl control,
                     Component c1,
                     Component c2,
                     Component c3)
Wrap three components.

Parameters:
control - control for widget
c1 - first component
c2 - second component
c3 - third component
Method Detail

fillList

public void fillList(List l,
                     int columns)
Fill the list of components with this widgets components.

Overrides:
fillList in class ControlWidget
Parameters:
l - list to fill
columns - number of columns