org.base.apps.api.view.util
Class BoundViewSupport
java.lang.Object
org.base.apps.api.view.util.BoundViewSupport
- All Implemented Interfaces:
- BoundView, Mutable<Object>
public class BoundViewSupport
- extends Object
- implements BoundView
Utility implementation of BoundView, to be reused across actual
implementations.
- Author:
- Kevan Simpson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoundViewSupport
public BoundViewSupport(BoundView supported)
bind
public BoundProperty bind(String name,
BoundView view)
- Specified by:
bind in interface BoundView
- See Also:
BoundView.bind(java.lang.String, org.base.apps.api.view.BoundView)
getProperty
public BoundProperty getProperty()
- Specified by:
getProperty in interface BoundView
- See Also:
BoundView.getProperty()
setProperty
public void setProperty(BoundProperty prop)
- Specified by:
setProperty in interface BoundView
- See Also:
BoundView.setProperty(org.base.apps.beans.BoundProperty)
getProperty
public BoundProperty getProperty(String name)
getValue
public Object getValue()
- Description copied from interface:
Mutable
- Returns the object's
Mutable value.
- Specified by:
getValue in interface Mutable<Object>
- Returns:
- the object's
Mutable value. - See Also:
Mutable.getValue()
setValue
public void setValue(Object val)
- Description copied from interface:
Mutable
- Sets the object's
Mutable value.
- Specified by:
setValue in interface Mutable<Object>
- Parameters:
val - The value to set.- See Also:
Mutable.setValue(java.lang.Object)
getBoundValue
protected Thing getBoundValue()
- Returns:
- the boundValue
getChildren
protected Map<BoundProperty,BoundView> getChildren()
- Returns:
- the children
getSupportedView
protected BoundView getSupportedView()
- Returns:
- the supportedView
setBoundValue
protected void setBoundValue(Thing boundValue)
- Parameters:
boundValue - the boundValue to set
setChildren
protected void setChildren(Map<BoundProperty,BoundView> children)
- Parameters:
children - the children to set
setSupportedView
protected void setSupportedView(BoundView supportedView)
- Parameters:
supportedView - the supportedView to set
Copyright 2011, Blue Agate Software Entity (BASE)