nga.model
インタフェース SelectableList<E>

すべてのスーパーインタフェース:
Collection<E>, Iterable<E>, List<E>
既知の実装クラスの一覧:
KeyValueList, SelectableArrayList

public interface SelectableList<E>
extends List<E>

選択可能なリスト。


メソッドの概要
 int getSelectedIndex()
          選択された要素のインデックスを取得する。
 void setSelectedIndex(int index)
          選択された要素のインデックスを設定する。
 
インタフェース java.util.List から継承されたメソッド
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

メソッドの詳細

setSelectedIndex

void setSelectedIndex(int index)
選択された要素のインデックスを設定する。

パラメータ:
index - 選択された要素のインデックス。

getSelectedIndex

int getSelectedIndex()
選択された要素のインデックスを取得する。

戻り値:
選択された要素のインデックス。