|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdsto.dfc.swt.forms.AbstractPipe
dsto.dfc.swt.forms.BeanEndpoint
public class BeanEndpoint
A pipe endpoint that outputs its input to bean property (ie via set/get methods on a target object).
Field Summary |
---|
Fields inherited from class dsto.dfc.swt.forms.AbstractPipe |
---|
errorHandler, parent |
Constructor Summary | |
---|---|
BeanEndpoint(Object bean,
String property)
|
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 |
propertyChange(PropertyChangeEvent e)
|
Methods inherited from class dsto.dfc.swt.forms.AbstractPipe |
---|
getParent, handlePipeError, setErrorHandler, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanEndpoint(Object bean, String property)
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 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 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 void propertyChange(PropertyChangeEvent e)
propertyChange
in interface PropertyChangeListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |