|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gswing.components.common.ResultList
public class ResultList
Purpose: Represents a list of constituencies or a list of regions.
| Constructor Summary | |
|---|---|
ResultList(Vector list)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addListDataListener(ListDataListener l)
|
Object |
getElementAt(int index)
Get the elemement at the given index. |
int |
getRequiredBoxSize()
This method works out the size the string, in pixels, before it is inserted into a TextField. |
int |
getSize()
Get the size of the vector. |
void |
removeListDataListener(ListDataListener l)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResultList(Vector list)
list - A list if strings.| Method Detail |
|---|
public int getSize()
getSize in interface ListModelpublic Object getElementAt(int index)
getElementAt in interface ListModelindex - The Vector index.
public void addListDataListener(ListDataListener l)
addListDataListener in interface ListModelpublic void removeListDataListener(ListDataListener l)
removeListDataListener in interface ListModelpublic int getRequiredBoxSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||