|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.cosylab.events.SetEvent
public class SetEvent
Notifys listeners that user set action was performed on number displayer.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
SetEvent(java.lang.Object source,
double newValue)
Constructor for SliderSetEvent. |
|
SetEvent(java.lang.Object source,
java.lang.Number newValue)
Constructor for SliderSetEvent. |
Method Summary | |
---|---|
double |
getDoubleValue()
Returns set value as double. |
long |
getLongValue()
Returns set value as long. |
java.lang.Number |
getValue()
Returns value which was set by user. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SetEvent(java.lang.Object source, double newValue)
source
- ObjectnewValue
- doublepublic SetEvent(java.lang.Object source, java.lang.Number newValue)
source
- ObjectnewValue
- Object
java.lang.NullPointerException
- DOCUMENT ME!Method Detail |
---|
public java.lang.Number getValue()
public double getDoubleValue()
public long getLongValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |