dsto.dfc.swt.forms
Class JavaBeanPropertyPipe

java.lang.Object
  extended by dsto.dfc.swt.forms.AbstractPipe
      extended by dsto.dfc.swt.forms.AbstractBiDiPipe
          extended by dsto.dfc.swt.forms.JavaBeanPropertyPipe
All Implemented Interfaces:
Pipe, Disposable, PropertyChangeListener, EventListener

public class JavaBeanPropertyPipe
extends AbstractBiDiPipe
implements Pipe, PropertyChangeListener

A pipe that inputs a data bean and outputs the value of one of its properties.

Version:
$Revision$
Author:
mpp
See Also:
IDataBean

Field Summary
 
Fields inherited from class dsto.dfc.swt.forms.AbstractBiDiPipe
childPipe
 
Fields inherited from class dsto.dfc.swt.forms.AbstractPipe
errorHandler, parent
 
Constructor Summary
JavaBeanPropertyPipe(String property)
           
 
Method Summary
 void dispose()
          Forwarded to the child pipe.
 boolean input(Object value)
          Input a value into the pipe tree.
 boolean isDisposed()
          Test if pipe has been disposed.
 boolean output(Object value)
          Output a value from a child into the pipe (the reverse of input ()).
 void propertyChange(PropertyChangeEvent e)
           
 
Methods inherited from class dsto.dfc.swt.forms.AbstractBiDiPipe
connect, flush, setErrorHandler
 
Methods inherited from class dsto.dfc.swt.forms.AbstractPipe
getParent, handlePipeError, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface dsto.dfc.swt.forms.Pipe
connect, flush, getParent, setErrorHandler, setParent
 

Constructor Detail

JavaBeanPropertyPipe

public JavaBeanPropertyPipe(String property)
Method Detail

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.

propertyChange

public void propertyChange(PropertyChangeEvent e)
Specified by:
propertyChange in interface PropertyChangeListener


Copyright © 2008 Commonwealth of Australia