|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdsto.dfc.swt.forms.AbstractPipe
dsto.dfc.swt.forms.PipeEndpoint
dsto.dfc.swt.forms.RadioEndpoint
public class RadioEndpoint
A pipe endpoint that allows selection of a value from a list of radio buttons.
| Field Summary |
|---|
| Fields inherited from class dsto.dfc.swt.forms.AbstractPipe |
|---|
errorHandler, parent |
| Constructor Summary | |
|---|---|
RadioEndpoint(org.eclipse.swt.widgets.Composite parent,
ValueLabel[] valueLabels)
Create a new instance. |
|
| Method Summary | |
|---|---|
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)). |
void |
focus()
|
org.eclipse.swt.widgets.Button |
getButton(int index)
|
Object |
getValue()
Get the selected value. |
boolean |
input(Object newValue)
Input a value into the pipe tree. |
boolean |
isDisposed()
Test if pipe has been disposed. |
void |
widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
|
void |
widgetSelected(org.eclipse.swt.events.SelectionEvent e)
|
| Methods inherited from class dsto.dfc.swt.forms.PipeEndpoint |
|---|
connect, output |
| 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 RadioEndpoint(org.eclipse.swt.widgets.Composite parent,
ValueLabel[] valueLabels)
parent - The parent control to place the radio buttons in.valueLabels - An array of value/label pairs corresponding to
the radio button labels/data values.| Method Detail |
|---|
public void dispose()
AbstractPipe
dispose in interface Pipedispose in interface Disposabledispose in class AbstractPipepublic boolean isDisposed()
Pipe
isDisposed in interface Pipepublic void focus()
public Object getValue()
public boolean input(Object newValue)
Pipe
input in interface Pipeinput in class PipeEndpointfor more info on handling errors.public boolean flush()
PipePipe.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 Pipeflush in class PipeEndpointfor more info on handling errors.public org.eclipse.swt.widgets.Button getButton(int index)
public void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
widgetSelected in interface org.eclipse.swt.events.SelectionListenerpublic void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||