|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for creating value models.
Method Summary | |
void |
addValueListener(com.klg.jclass.util.value.JCValueListener listener)
Adds a listener for changes to the value. |
Object |
getValue()
Returns the internal core value. |
Class |
getValueClass()
Returns the type of the core value. |
void |
removeValueListener(com.klg.jclass.util.value.JCValueListener listener)
Removes a listener for changes to the value. |
void |
setValue(Object value)
Sets the internal core value. |
void |
setValue(Object value,
boolean exitOnDetectingEquality)
Sets the internal core value but optionally exits before setting the value (after the valueChanging event, but before the
valueChanged event) if the new and old values are equal. |
Method Detail |
public void addValueListener(com.klg.jclass.util.value.JCValueListener listener)
listener
- The listener to addpublic void removeValueListener(com.klg.jclass.util.value.JCValueListener listener)
listener
- The listener to removepublic void setValue(Object value)
setValue(value, true)
. In
other words, exitOnDetectingEquality
is set to
true
.
value
- The new valuepublic void setValue(Object value, boolean exitOnDetectingEquality)
valueChanging
event, but before the
valueChanged
event) if the new and old values are equal.
exitOnDetectingEquality
- If true, nothing is done if the new value
equals the existing value.value
- The new valuepublic Object getValue()
public Class getValueClass()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |