|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.util.value.JCValueEvent
Value Event.
Field Summary | |
protected boolean |
allowChange
|
protected Object |
newValue
|
protected Object |
oldValue
|
protected Object |
source
|
Constructor Summary | |
JCValueEvent(Object source,
Object old_value,
Object new_value)
Constructs a new value event. |
Method Summary | |
boolean |
getAllowChange()
Tests whether a change is allowed. |
Object |
getNewValue()
During a valueChanged() event, this is equivalent to
getValueModel().getValue() . |
Object |
getOldValue()
During a valueChanging() event, this is equivalent to
getValueModel().getValue() . |
Object |
getSource()
Returns the value model in which the change is occurring. |
void |
setAllowChange(boolean allow)
Sets the allowChange flag, to allow or prevent the value from
changing. |
void |
setNewValue(Object new_value)
During a valueChanging() event, it is possible to change to a
new value by calling this method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Object source
protected Object oldValue
protected Object newValue
protected boolean allowChange
Constructor Detail |
public JCValueEvent(Object source, Object old_value, Object new_value)
new_value
- old_value
- source
- Method Detail |
public Object getSource()
public Object getOldValue()
valueChanging()
event, this is equivalent to
getValueModel().getValue()
.
public Object getNewValue()
valueChanged()
event, this is equivalent to
getValueModel().getValue()
.
public void setNewValue(Object new_value)
valueChanging()
event, it is possible to change to a
new value by calling this method.
new_value
- public boolean getAllowChange()
public void setAllowChange(boolean allow)
allowChange
flag, to allow or prevent the value from
changing.
allow
-
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |