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 Params | Return Type | Name and description |
---|---|---|
|
public void |
addPropertyChangeListener(PropertyChangeListener listener) Add a PropertyChangeListener to the listener list. |
|
public Class |
getType() |
|
public Object |
getValue() |
|
public boolean |
isEditable() |
|
public void |
removePropertyChangeListener(PropertyChangeListener listener) Removes a PropertyChangeListener from the listener list. |
|
public void |
setEditable(boolean editable) |
|
public 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-2021 The Apache Software Foundation. All rights reserved.