public class NumberEvent
extends de.sciss.app.BasicEvent
NumberField gadget when
the user modified its contents.NumberField.addListener( NumberListener ),
NumberListener,
Number,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static int |
CHANGED
returned by getID() : the number changed
|
source| Constructor and Description |
|---|
NumberEvent(Object source,
int ID,
long when,
Number number,
boolean adjusting)
Constructs a new
NumberEvent |
| Modifier and Type | Method and Description |
|---|---|
Number |
getNumber()
Queries the new number
|
boolean |
incorporate(de.sciss.app.BasicEvent oldEvent) |
boolean |
isAdjusting() |
getSource, toStringpublic static final int CHANGED
public boolean isAdjusting()
public Number getNumber()
Number of the
NumberField. This is either
an Long or a Double
depening of the NumberField's
NumberSpace.NumberSpace.isInteger()public boolean incorporate(de.sciss.app.BasicEvent oldEvent)
incorporate in class de.sciss.app.BasicEventCopyright © 2015–2022 SciJava. All rights reserved.