Ascent Phase Corp.

org.ascentphase.suit
Interface ItemList

All Known Implementing Classes:
ArrayItemList, VectorItemList

public interface ItemList

An interface that defines accessors to items available to a widget that displays lists of options. This interface is used by the ListPopup class to query for the String options to be displayed.

Author:
huyd

Method Summary
 int getSize()
          Returns the current size of the list.
 java.lang.String getStringAt(int index)
          Returns the String item at the given index.
 

Method Detail

getStringAt

public java.lang.String getStringAt(int index)
Returns the String item at the given index. The index is a zero-based index.

Parameters:
index - the index value.

getSize

public int getSize()
Returns the current size of the list.

Returns:
the size of the item list.

Ascent Phase Corp.

Copyright © 2002 Ascent Phase Corp. All Rights Reserved.