|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
nga.model.SelectableArrayList<E>
public class SelectableArrayList<E>
SelectableList を実装した ArrayList。
| フィールドの概要 |
|---|
| クラス java.util.AbstractList から継承されたフィールド |
|---|
modCount |
| コンストラクタの概要 | |
|---|---|
SelectableArrayList()
SelectableArrayList を作成する。 |
|
SelectableArrayList(Collection<E> c)
SelectableArrayList を作成する。 |
|
SelectableArrayList(int initialCapacity)
SelectableArrayList を作成する。 |
|
| メソッドの概要 | |
|---|---|
E |
getSelected()
現在選択状態にある要素を取得する。 |
int |
getSelectedIndex()
選択された要素のインデックスを取得する。 |
void |
setSelectedIndex(int index)
選択された要素のインデックスを設定する。 |
void |
update(String value)
value 引数を数値に変換し,それを引数にして setSelectedIndex メソッドを呼び出す。 |
| クラス java.util.ArrayList から継承されたメソッド |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| クラス java.util.AbstractList から継承されたメソッド |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| クラス java.util.AbstractCollection から継承されたメソッド |
|---|
containsAll, removeAll, retainAll, toString |
| クラス java.lang.Object から継承されたメソッド |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| インタフェース 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 |
| コンストラクタの詳細 |
|---|
public SelectableArrayList(int initialCapacity)
initialCapacity - public SelectableArrayList()
public SelectableArrayList(Collection<E> c)
c - | メソッドの詳細 |
|---|
public void setSelectedIndex(int index)
SelectableList の記述:
SelectableList<E> 内の setSelectedIndexindex - 選択された要素のインデックス。SelectableList.setSelectedIndex(int)public int getSelectedIndex()
SelectableList の記述:
SelectableList<E> 内の getSelectedIndexSelectableList.getSelectedIndex()public E getSelected()
SelectableList<E> 内の getSelected
public void update(String value)
throws ParseException
UpdatableByText 内の updatevalue - 現在のインスタンスを更新するためのテキスト。
ParseException - テキスト解析に失敗した場合。UpdatableByText.update(java.lang.String)
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||