com.partnersoft.gui.viewer
Class LabelledListViewer

java.lang.Object
  extended by com.partnersoft.gui.viewer.LabelledListViewer
All Implemented Interfaces:
GuiViewer

public class LabelledListViewer
extends java.lang.Object
implements GuiViewer

Displays a list of items in the given order, with corresponding labels to the left. Labels can be set independently of the viewed list, but should always have the same length.

Author:
Paul Reavis Copyright 2000 Partner Software, Inc.

Constructor Summary
LabelledListViewer()
           
 
Method Summary
 javax.swing.JComponent getGui()
          Returns the GUI component.
 java.lang.Object getViewed()
          Gets the object being viewed.
 void setViewed(java.lang.Object newViewed)
          Sets the object to be viewed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelledListViewer

public LabelledListViewer()
Method Detail

setViewed

public void setViewed(java.lang.Object newViewed)
Description copied from interface: GuiViewer
Sets the object to be viewed.

Specified by:
setViewed in interface GuiViewer

getViewed

public java.lang.Object getViewed()
Description copied from interface: GuiViewer
Gets the object being viewed.

Specified by:
getViewed in interface GuiViewer

getGui

public javax.swing.JComponent getGui()
Description copied from interface: GuiViewer
Returns the GUI component.

Specified by:
getGui in interface GuiViewer