get and set
methods in a primitive.get and set methods follow the JavaBeans standard:
getName() |
Gets the value of Name. |
isName() |
Alternative to getName()
used when Name is a boolean. |
setName(val) |
Sets the value of Name to val. |
get and set methods (that are public) are
automatically accessible from a macro. Example:
set reg.myprim.name 42
set method. (In general,
there should never be any write-only values.)get and
set methods. Please check the documentation for Primitive
to make sure you don't accidentally override one of these.| X-Midas Users Take Note: |
|---|
X-Midas primitives use control widgets that must be manually initialized and checked.
This is not the case in NeXtMidas which automatically makes a "real-time control" out
of any get or set method in the primitive.
|