Class AbstractModelKnob
- java.lang.Object
-
- cern.accsoft.steering.jmad.domain.knob.AbstractKnob
-
- cern.accsoft.steering.jmad.model.knob.AbstractModelKnob
-
- Direct Known Subclasses:
DeltaPKnob
public abstract class AbstractModelKnob extends AbstractKnob implements ModelKnob
The simplest Knob, acting on a model
-
-
Constructor Summary
Constructors Constructor Description AbstractModelKnob()
the constructor to allow also creation of the knob without setting the model immediatelyAbstractModelKnob(JMadModel model)
the default constructor, which enforces to provide a model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JMadModel
getModel()
void
setModel(JMadModel model)
set the model to operate on-
Methods inherited from class cern.accsoft.steering.jmad.domain.knob.AbstractKnob
addListener, doSetTotalValue, getOffset, getValue, removeListener, setOffset, setValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface cern.accsoft.steering.jmad.domain.knob.Knob
addListener, getDescription, getKey, getName, getOffset, getTotalValue, getType, getValue, removeListener, setOffset, setValue
-
-
-
-
Constructor Detail
-
AbstractModelKnob
public AbstractModelKnob(JMadModel model)
the default constructor, which enforces to provide a model.- Parameters:
model
- the model to use for the knob
-
AbstractModelKnob
public AbstractModelKnob()
the constructor to allow also creation of the knob without setting the model immediately
-
-