| 修飾子と型 | フィールドと説明 |
|---|---|
static EventType<?> |
ANY
すべての編集イベント・タイプに共通のスーパータイプ。
|
consumed, eventType, NULL_SOURCE_TARGET, targetsource| コンストラクタと説明 |
|---|
EditEvent(ListView<T> source, EventType<? extends ListView.EditEvent<T>> eventType, T newValue, int editIndex)
編集イベントを表す新規EditEventインスタンスを作成します。
|
| 修飾子と型 | メソッドと説明 |
|---|---|
int |
getIndex()
編集が発生したインデックスを返します。
|
T |
getNewValue()
エンド・ユーザーが提供した新規入力の値を返します。
|
ListView<T> |
getSource()
編集が発生したListViewを返します。
|
String |
toString()
この
EditEventオブジェクトの文字列表現を返します。 |
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumedpublic static final EventType<?> ANY
public EditEvent(ListView<T> source, EventType<? extends ListView.EditEvent<T>> eventType, T newValue, int editIndex)
ListView.EDIT_START_EVENT、ListView.EDIT_COMMIT_EVENTおよびListView.EDIT_CANCEL_EVENTの各タイプに使用されます。 public ListView<T> getSource()
getSource、クラスEventObjectpublic int getIndex()
public T getNewValue()
public String toString()
EditEventオブジェクトの文字列表現を返します。toString、クラスEventObjectEditEventオブジェクトの文字列表現Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.