|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.simantics.databoard.datasource.StepwiseDatasource
org.simantics.databoard.datasource.ExampleDatasource
public class ExampleDatasource
Test Datasource provides 5 example values, one of which is time. The implementation is an accessor that follows Datasource contract. New values are spawned on #step(). Variables: SINE - Double(range=[-1..1]) RAMP - Double(range=[0..100]) ARRAY - int[3] VECTOR - { x: Double; y: Double; z: Double } TIME - Double(unit="s") FOLDER - no value, has child RAMP
Nested Class Summary | |
---|---|
static class |
ExampleDatasource.VectorRecord
|
Nested classes/interfaces inherited from class org.simantics.databoard.datasource.StepwiseDatasource |
---|
StepwiseDatasource.Node |
Nested classes/interfaces inherited from interface org.simantics.databoard.datasource.IStepwiseDatasource |
---|
IStepwiseDatasource.DatasourceListener |
Constructor Summary | |
---|---|
ExampleDatasource()
|
Method Summary | |
---|---|
void |
doStep()
|
Methods inherited from class org.simantics.databoard.datasource.StepwiseDatasource |
---|
addListener, addNode, addRoot, getAll, getChildren, getLabel, getLabels, getNodeType, getValue, hasNode, removeListener, setValue, step |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExampleDatasource()
Method Detail |
---|
public void doStep() throws DatasourceException
DatasourceException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |