dsto.dfc.swt.forms
Class PropertyPipe
java.lang.Object
dsto.dfc.swt.forms.AbstractPipe
dsto.dfc.swt.forms.AbstractBiDiPipe
dsto.dfc.swt.forms.PropertyPipe
- All Implemented Interfaces:
- PropertyListener, Pipe, Disposable, EventListener
public class PropertyPipe
- extends AbstractBiDiPipe
- implements Pipe, PropertyListener
A pipe that inputs a data object and outputs the value of one of
its properties. Property changes originating from a thread other
than the current UI thread are rescheduled to be executed later in
the UI thread.
- Version:
- $Revision$
- Author:
- mpp
- See Also:
IDataBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyPipe
public PropertyPipe(String property)
- Parameters:
property
- Property for IO (may be a property path eg "person/name").- See Also:
DataObjects.getValue(IDataObject, PropertyPath)
dispose
public void dispose()
- Description copied from class:
AbstractBiDiPipe
- Forwarded to the child pipe.
- Specified by:
dispose
in interface Pipe
- Specified by:
dispose
in interface Disposable
- Overrides:
dispose
in class AbstractBiDiPipe
isDisposed
public boolean isDisposed()
- Description copied from interface:
Pipe
- Test if pipe has been disposed.
- Specified by:
isDisposed
in interface Pipe
input
public boolean input(Object value)
- Description copied from interface:
Pipe
- Input a value into the pipe tree.
- Specified by:
input
in interface Pipe
- Returns:
- True if the operation completed successfully.
- See Also:
for more info on handling errors.
output
public boolean output(Object value)
- Description copied from interface:
Pipe
- Output a value from a child into the pipe (the reverse of input ()).
- Specified by:
output
in interface Pipe
- Returns:
- True if the operation completed successfully.
- See Also:
for more info on handling errors.
propertyValueChanged
public void propertyValueChanged(PropertyEvent e)
- Specified by:
propertyValueChanged
in interface PropertyListener
Copyright © 2008 Commonwealth of Australia