|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.PropertyContainer
util.PropertyResources
util.PropertyBundles
stella.jview.JWheel.DummyAxes
public static class JWheel.DummyAxes
Dummy test class.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class util.PropertyResources |
|---|
PropertyResources.URLResource |
| Field Summary | |
|---|---|
private boolean |
open
|
private int |
pos
|
| Fields inherited from class util.PropertyBundles |
|---|
KEY_LOCALECOUNTRY, KEY_LOCALELANGUAGE, KEY_RESOURCEBUNDLES |
| Fields inherited from class util.PropertyResources |
|---|
KEY_NOINITONCREATE, localurl, locate, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_URL, urlset |
| Fields inherited from class util.PropertyContainer |
|---|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATOR |
| Fields inherited from interface stella.omc.MultiAxes |
|---|
KEY_INITZERO |
| Fields inherited from interface util.ResourceSupplying |
|---|
KEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME |
| Fields inherited from interface util.PropertySupplying |
|---|
CONFIG, KEY_CLASS |
| Constructor Summary | |
|---|---|
JWheel.DummyAxes(Map<String,String> mm)
|
|
| Method Summary | |
|---|---|
boolean |
close()
Performs clean-up step when the driver is unloaded. |
Collection<String> |
getAxesNames()
Gets the names of the available axes. |
String |
getDriverName()
If more than one driver of a certain class is present, but registering is only allowed to a certain driver, we can use this method to distinguish between different instances of the driver. |
int |
getMaxPosition(String axis)
Returns the maximum available position for the given axis. |
int |
getMaxStep(String axis)
Returns the maximal steps this axis can travel. |
int |
getPosition(String axis)
Returns the current position of the spinning driver. |
int |
getStep(String axis)
Returns the currently attained step position via a direct query to the underlying driver. |
boolean |
isContinuous(String axis)
Returns true, if this axis can be continuousely offset, which is likely the case for rotary stagets, and never the case for linear stages. |
boolean |
isOpen()
Queries the initalization status of the driver. |
boolean |
offset(String axis,
int steps)
Offsets the filter wheel for the specified number of steps. |
boolean |
open()
Performs initialization steps when the driver is loaded for the first time. |
boolean |
setPosition(String axis,
int nr)
Sets a position on the driver. |
boolean |
setZeroPosition(String axis)
Calling this method should ensure that the stated axis is in a well-defined state. |
| Methods inherited from class util.PropertyBundles |
|---|
clone, getLocalized, getLocalized, getLocalizedString, getLocalizedString, loadResource |
| Methods inherited from class util.PropertyResources |
|---|
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, init, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
|---|
augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, reload, removeProperty, rescanned, setObject, setProperties, setProperty, stringProperties, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface util.ResourceSupplying |
|---|
getResource, getResourceAsStream, getResources |
| Methods inherited from interface util.PropertySupplying |
|---|
defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringProperties |
| Methods inherited from interface util.Initializable |
|---|
init |
| Field Detail |
|---|
private int pos
private boolean open
| Constructor Detail |
|---|
public JWheel.DummyAxes(Map<String,String> mm)
| Method Detail |
|---|
public Collection<String> getAxesNames()
MultiAxes
getAxesNames in interface MultiAxespublic int getMaxPosition(String axis)
MultiAxes
getMaxPosition in interface MultiAxesaxis - String representing the selected axis.public int getMaxStep(String axis)
MultiAxesMultiAxes.getMaxPosition(java.lang.String) to estimate the number of steps per position.
getMaxStep in interface MultiAxespublic int getStep(String axis)
MultiAxes
getStep in interface MultiAxespublic int getPosition(String axis)
MultiAxes
getPosition in interface MultiAxesaxis - The name of the axis to be zero-setted.
public boolean setPosition(String axis,
int nr)
MultiAxes
setPosition in interface MultiAxesaxis - The name of the axis to be zero-setted.nr - The numbered position to be attained.
public boolean setZeroPosition(String axis)
MultiAxes
setZeroPosition in interface MultiAxesaxis - The name of the axis to be zero-setted.
public boolean open()
Driver
open in interface Driverpublic boolean isOpen()
Driver
isOpen in interface Driverpublic boolean close()
Driver
close in interface Driver
public boolean offset(String axis,
int steps)
MultiAxes
offset in interface MultiAxesaxis - The name of the axis to be zero-setted.steps - The number of step, positiv or negative in
driver-specific coordinates.
public boolean isContinuous(String axis)
MultiAxes
isContinuous in interface MultiAxespublic String getDriverName()
Driver
getDriverName in interface Driver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||