|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rational.test.ft.value.ExpandableList
public class ExpandableList
Represents an expandable list of names. For example, datapool column names
Constructor Summary | |
---|---|
ExpandableList()
|
|
ExpandableList(int current, java.lang.String[] list, boolean editable)
|
Method Summary | |
---|---|
void |
add(java.lang.String name)
Adds an element to the ExpandableList . |
boolean |
contains(java.lang.String name)
Determines whether a name in included in the ExpandableList . |
java.lang.String[] |
elementArray()
Returns the number of elements in the ExpandableList . |
java.util.Enumeration |
elements()
Lists the elements in the ExpandableList . |
int |
getCurrentIndex()
Gets the current index. |
java.lang.String |
getCurrentText()
Gets the text associated with the current index. |
boolean |
getEditable()
Determines whether a new element can be added and set as the selected. |
void |
remove(java.lang.String name)
Removes an element from the ExpandableList . |
void |
removeAll()
Removes all elements from the ExpandableList . |
void |
replace(int index, java.lang.String name)
Replaces a name at a supplied index in the ExpandableList . |
void |
setCurrentIndex(int current)
Sets the current index into the list. |
int |
size()
Returns the size of the ExpandableList . |
java.lang.String |
toString()
Returns a String representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExpandableList()
public ExpandableList(int current, java.lang.String[] list, boolean editable)
Method Detail |
---|
public void add(java.lang.String name)
ExpandableList
.
public void replace(int index, java.lang.String name)
ExpandableList
.
index
- the index within the ExpandableList
to replacename
- the new name to add to the setpublic boolean contains(java.lang.String name)
ExpandableList
.
public int size()
ExpandableList
.
public java.util.Enumeration elements()
ExpandableList
.
public java.lang.String[] elementArray()
ExpandableList
.
public void remove(java.lang.String name)
ExpandableList
.
public void removeAll()
ExpandableList
.
public java.lang.String toString()
String
representation of the object.
toString
in class java.lang.Object
public void setCurrentIndex(int current)
public int getCurrentIndex()
public java.lang.String getCurrentText()
public boolean getEditable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |