public class ValueHolder
A simple ValueModel implementation which is a holder of an object value. Used to share local variables with closures
Constructor and description |
---|
ValueHolder
() |
ValueHolder
(Class type) |
ValueHolder
(Object value) |
Type | Name and description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener) Add a PropertyChangeListener to the listener list. |
Class |
getType() |
Object |
getValue() |
boolean |
isEditable() |
void |
removePropertyChangeListener(PropertyChangeListener listener) Removes a PropertyChangeListener from the listener list. |
void |
setEditable(boolean editable) |
void |
setValue(Object value) |
Add a PropertyChangeListener to the listener list.
listener
- The listener to add.Removes a PropertyChangeListener from the listener list.
listener
- The listener to remove.Copyright © 2003-2016 The Apache Software Foundation. All rights reserved.