dsto.dfc.swt.forms
Class AbstractBiDiPipe
java.lang.Object
dsto.dfc.swt.forms.AbstractPipe
dsto.dfc.swt.forms.AbstractBiDiPipe
- All Implemented Interfaces:
- Pipe, Disposable
- Direct Known Subclasses:
- DataObjectCopyPipe, JavaBeanPropertyPipe, LabelizerPipe, PropertyPipe, TranslatorPipe
public abstract class AbstractBiDiPipe
- extends AbstractPipe
- implements Pipe
Abstract base for pipes that are bi-directional (accept inputs and outputs).
Subclasses may just implement input () and output ().
- Version:
- $Revision$
- Author:
- mpp
Method Summary |
Pipe |
connect(Pipe newChildPipe)
Connect the output of this pipe to the input of a child pipe. |
void |
dispose()
Forwarded to the child pipe. |
boolean |
flush()
Forwarded to the child pipe. |
void |
setErrorHandler(PipeErrorHandler handler)
Calls superclass methis and sets the error handler for the the child pipe. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
childPipe
protected Pipe childPipe
AbstractBiDiPipe
public AbstractBiDiPipe()
connect
public Pipe connect(Pipe newChildPipe)
- Description copied from interface:
Pipe
- Connect the output of this pipe to the input of a child pipe.
- Specified by:
connect
in interface Pipe
flush
public boolean flush()
- Forwarded to the child pipe.
- Specified by:
flush
in interface Pipe
- Returns:
- True if the operation completed successfully.
- See Also:
for more info on handling errors.
dispose
public void dispose()
- Forwarded to the child pipe.
- Specified by:
dispose
in interface Pipe
- Specified by:
dispose
in interface Disposable
- Overrides:
dispose
in class AbstractPipe
setErrorHandler
public void setErrorHandler(PipeErrorHandler handler)
- Calls superclass methis and sets the error handler for the the child pipe.
- Specified by:
setErrorHandler
in interface Pipe
- Overrides:
setErrorHandler
in class AbstractPipe
- See Also:
PipeErrorHandler
Copyright © 2008 Commonwealth of Australia