|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JList
dods.clients.importwizard.ECHO.CollectionValids
public class CollectionValids
Manages the valids for discovery search
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JList |
---|
JList.AccessibleJList |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JList |
---|
HORIZONTAL_WRAP, VERTICAL, VERTICAL_WRAP |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
CollectionValids(String theName,
String[] theValids)
Constructs CollectionValids |
Method Summary | |
---|---|
void |
deSelect()
Sets this category to be not selected |
void |
deSelect(int index)
Sets the valid with an index of index to be not selected |
String |
getName()
Returns the name of this category |
boolean |
getSelection(int index)
Returns true if the valid with an index of
index is selected; false otherwise |
String[] |
getValids()
Returns the valids of this category |
boolean |
isSelected()
Returns true if this category is selected;
false otherwise |
void |
setSelected()
Sets this category to be selected |
void |
setSelected(int index)
Sets the valid with an index of index to be selected |
void |
setValids(String[] theValids)
Sets the valids of this category |
void |
valueChanged(ListSelectionEvent e)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CollectionValids(String theName, String[] theValids)
CollectionValids
theName
- the category name of the validstheValids
- the vulues of the validsMethod Detail |
---|
public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
public String getName()
getName
in class Component
public boolean isSelected()
true
if this category is selected;
false
otherwise
true
if this category is selected;
false
otherwisepublic void setSelected()
public void deSelect()
public String[] getValids()
public void setValids(String[] theValids)
theValids
- the valids of this categorypublic boolean getSelection(int index)
true
if the valid with an index of
index
is selected; false
otherwise
true
if the valid with an index of
index
is selected;
false
otherwisepublic void setSelected(int index)
index
to be selected
index
- the index of the valid to be set selectedpublic void deSelect(int index)
index
to be not selected
index
- the index of the valid to be set not selected
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |