mvc
Class ListChooser<T>

java.lang.Object
  extended by mvc.Choice.ControllerImplementation<T,java.lang.String>
      extended by mvc.ListChooser<T>
All Implemented Interfaces:
Viewable, Choice.Controller<T>

public class ListChooser<T>
extends Choice.ControllerImplementation<T,java.lang.String>

DOCME.


Constructor Summary
ListChooser(Choice.Model<? extends T> m)
          new ListChooser(m) returns a new ListChooser.
ListChooser(Choice.Model<? extends T> m, Converter<? super T,? extends java.lang.String> cvtr)
          new ListChooser(m, cvtr) returns a new ListChooser.
ListChooser(Choice.Model<? extends T> m, Namer<? super T> nmr)
          new ListChooser(m, cvtr) returns a new ListChooser.
 
Method Summary
protected  javax.swing.JComponent createViewComponent()
          DOCME.
protected  int getViewIndex()
          DOCME.
protected  void setDisplayObjects(java.util.Iterator<java.lang.String> nms)
          DOCME.
protected  void setViewIndex(int nm)
          DOCME.
 
Methods inherited from class mvc.Choice.ControllerImplementation
getModel, getViewComponent, setModel, setModelValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListChooser

public ListChooser(Choice.Model<? extends T> m)
new ListChooser(m) returns a new ListChooser.

Parameters:
m -

ListChooser

public ListChooser(Choice.Model<? extends T> m,
                   Converter<? super T,? extends java.lang.String> cvtr)
new ListChooser(m, cvtr) returns a new ListChooser.

Parameters:
m -
cvtr -

ListChooser

public ListChooser(Choice.Model<? extends T> m,
                   Namer<? super T> nmr)
new ListChooser(m, cvtr) returns a new ListChooser.

Parameters:
m -
nmr -
Method Detail

createViewComponent

protected javax.swing.JComponent createViewComponent()
DOCME.

Specified by:
createViewComponent in class Choice.ControllerImplementation<T,java.lang.String>
Returns:

setDisplayObjects

protected void setDisplayObjects(java.util.Iterator<java.lang.String> nms)
DOCME.

Specified by:
setDisplayObjects in class Choice.ControllerImplementation<T,java.lang.String>
Parameters:
nms -

setViewIndex

protected void setViewIndex(int nm)
DOCME.

Specified by:
setViewIndex in class Choice.ControllerImplementation<T,java.lang.String>
Parameters:
nm -

getViewIndex

protected int getViewIndex()
DOCME.

Specified by:
getViewIndex in class Choice.ControllerImplementation<T,java.lang.String>
Returns: