W
- public class FieldChangeEvent<W extends Field<? extends Element<?>,W,V>,V> extends Event<FieldChangeHandler<W,V>>
Event.Type<H extends EventHandler>
Modifier and Type | Field and Description |
---|---|
protected W |
target |
static Event.Type<FieldChangeHandler<? extends Field<? extends Element<?>,?,?>,?>> |
TYPE |
Constructor and Description |
---|
FieldChangeEvent() |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(FieldChangeHandler<W,V> handler) |
V |
getPreviousValue() |
W |
getTarget() |
Event.Type<FieldChangeHandler<W,V>> |
getType() |
V |
getValue() |
FieldChangeEvent<W,V> |
setPreviousValue(V previousValue) |
void |
setTarget(W target) |
FieldChangeEvent<W,V> |
setValue(V value) |
assertLive, cast, checkIsInEventThread, getEventPhase, getSource, isLive, isPreventDefault, isStopPropagation, kill, preventDefault, releaseCapture, revive, setCapture, setCapture, setSource, stopPropagation
public static Event.Type<FieldChangeHandler<? extends Field<? extends Element<?>,?,?>,?>> TYPE
public Event.Type<FieldChangeHandler<W,V>> getType()
protected void dispatch(FieldChangeHandler<W,V> handler)
public void setTarget(W target)
target
- the target to setpublic W getTarget()
public V getPreviousValue()
public FieldChangeEvent<W,V> setPreviousValue(V previousValue)
previousValue
- public V getValue()
public FieldChangeEvent<W,V> setValue(V value)
Copyright © 2018 Xalys. All rights reserved.