|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJSci.instruments.PositionControlAdapter
JSci.instruments.DummyPositionControl
public class DummyPositionControl
A simple PositionControl that does nothing!
| Field Summary |
|---|
| Fields inherited from class JSci.instruments.PositionControlAdapter |
|---|
listenerList |
| Constructor Summary | |
|---|---|
DummyPositionControl()
|
|
| Method Summary | |
|---|---|
protected void |
doSetPosition(double p)
|
double |
getActualPosition()
get the actual position of the device. |
java.awt.Component |
getControlComponent()
get a Component through which we can control the position |
double |
getMajorStep()
|
double |
getMaximum()
get the maximum position |
double |
getMinimum()
get the minimum position |
double |
getMinorStep()
|
double |
getPosition()
get the position that must be reached. |
java.lang.String |
getUnit()
get a String with the description of the units used for all the values. |
static void |
main(java.lang.String[] args)
|
void |
setPosition(double p)
set the position |
void |
sleep()
sleeps for the time needed to stabilize the position. |
| Methods inherited from class JSci.instruments.PositionControlAdapter |
|---|
addChangeListener, fireStateChanged, getChangeListeners, getListeners, removeChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DummyPositionControl()
| Method Detail |
|---|
public void setPosition(double p)
PositionControlAdapter
setPosition in interface PositionControlsetPosition in class PositionControlAdapterp - the positionprotected void doSetPosition(double p)
public double getPosition()
PositionControlAdapter
getPosition in interface PositionControlgetPosition in class PositionControlAdapterpublic double getActualPosition()
PositionControlAdapter
getActualPosition in interface PositionControlgetActualPosition in class PositionControlAdapterpublic double getMinimum()
PositionControlAdapter
getMinimum in interface PositionControlgetMinimum in class PositionControlAdapterpublic double getMaximum()
PositionControlAdapter
getMaximum in interface PositionControlgetMaximum in class PositionControlAdapterpublic double getMinorStep()
public double getMajorStep()
public void sleep()
PositionControlAdapter
sleep in interface PositionControlsleep in class PositionControlAdapterpublic java.awt.Component getControlComponent()
PositionControlAdapter
getControlComponent in interface ControlgetControlComponent in interface PositionControlgetControlComponent in class PositionControlAdapterpublic java.lang.String getUnit()
PositionControlAdapter
getUnit in interface PositionControlgetUnit in class PositionControlAdapterpublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||