|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dsto.dfc.swt.forms.AbstractPipe dsto.dfc.swt.forms.MultiPipe
public class MultiPipe
A multiplex pipe that outputs its input to a list of children.
Field Summary |
---|
Fields inherited from class dsto.dfc.swt.forms.AbstractPipe |
---|
errorHandler, parent |
Constructor Summary | |
---|---|
MultiPipe()
Constructor for MultiPipe. |
Method Summary | |
---|---|
Pipe |
connect(Pipe pipe)
Connect the output of this pipe to the input of a child pipe. |
void |
dispose()
Default implementation: does nothing. |
boolean |
flush()
Cause any uncommitted changes to any pipe segments in the tree to be pushed back into the pipe sequence (using Pipe.output(Object) ). |
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 |
setErrorHandler(PipeErrorHandler handler)
Set the handler for any errors encountered while loading/unloading the pipe. |
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 |
---|
getParent, setParent |
Constructor Detail |
---|
public MultiPipe()
Method Detail |
---|
public void dispose()
AbstractPipe
dispose
in interface Pipe
dispose
in interface Disposable
dispose
in class AbstractPipe
public boolean isDisposed()
Pipe
isDisposed
in interface Pipe
public boolean input(Object value)
Pipe
input
in interface Pipe
for more info on handling errors.
public boolean output(Object value)
Pipe
output
in interface Pipe
for more info on handling errors.
public boolean flush()
Pipe
Pipe.output(Object)
). This
is designed for use by pipes connect editors such as text fields that are
not committed immediately: most pipes will simply forward this call on to
their children.
flush
in interface Pipe
for more info on handling errors.
public Pipe connect(Pipe pipe)
Pipe
connect
in interface Pipe
public void setErrorHandler(PipeErrorHandler handler)
Pipe
setErrorHandler
in interface Pipe
setErrorHandler
in class AbstractPipe
PipeErrorHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |