|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmvc.Choice.ControllerImplementation<T,java.lang.String>
mvc.TabbedChooser<T>
public class TabbedChooser<T>
DOCME.
| Constructor Summary | |
|---|---|
TabbedChooser(Choice.Model<? extends T> m,
Converter<? super T,? extends java.lang.String> cvtr,
int w)
new TabbedChooser(m, cvtr, w) returns a new TabbedChooser with width w. |
|
TabbedChooser(Choice.Model<? extends T> m,
int w)
new TabbedChooser(m, w) returns a new TabbedChooser with width w. |
|
TabbedChooser(Choice.Model<? extends T> m,
Namer<? super T> nmr,
int w)
new TabbedChooser(m, cvtr, w) returns a new TabbedChooser with width w. |
|
| Method Summary | |
|---|---|
protected javax.swing.JComponent |
createViewComponent()
tc.createViewComponent() returns the component that displays the choices of tc. |
protected int |
getViewIndex()
DOCME. |
protected void |
setDisplayObjects(java.util.Iterator<java.lang.String> nms)
tc.setDisplayObjects(nms) sets the displayed choices of tc to the names iterated by nms . |
protected void |
setViewIndex(int nm)
tc.setViewIndex(i) sets the choice with view index i as the selected item of tc. |
| 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 |
|---|
public TabbedChooser(Choice.Model<? extends T> m,
int w)
m -
public TabbedChooser(Choice.Model<? extends T> m,
Converter<? super T,? extends java.lang.String> cvtr,
int w)
m - cvtr -
public TabbedChooser(Choice.Model<? extends T> m,
Namer<? super T> nmr,
int w)
m - nmr - | Method Detail |
|---|
protected javax.swing.JComponent createViewComponent()
createViewComponent in class Choice.ControllerImplementation<T,java.lang.String>protected void setDisplayObjects(java.util.Iterator<java.lang.String> nms)
setDisplayObjects in class Choice.ControllerImplementation<T,java.lang.String>nms - the names to be displayedprotected void setViewIndex(int nm)
setViewIndex in class Choice.ControllerImplementation<T,java.lang.String>nm - protected int getViewIndex()
getViewIndex in class Choice.ControllerImplementation<T,java.lang.String>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||