public class EDipole extends Electrostatic
Modifier and Type | Field and Description |
---|---|
static int |
HORIZONTAL |
static java.lang.String |
HORIZONTAL_TYPE
horizontal dipole type
|
static int |
NO_ORIENTATION |
static java.lang.String |
s_strType |
static int |
VERTICAL |
static java.lang.String |
VERTICAL_TYPE
vertical dipole type
|
_useFieldReadback, FIELD_RB_HANDLE, m_bucMagnet, mainSupplyId
channelSuite, m_bolIsSoft, m_bolStatus, m_bolValid, m_bucAlign, m_bucAper, m_bucTwiss, m_dblLen, m_dblPos, m_dblS, m_mapAttrs, m_objAccel, m_seqParent, m_strEId, m_strId, m_strPId
Constructor and Description |
---|
EDipole(java.lang.String strId) |
Modifier and Type | Method and Description |
---|---|
int |
getOrientation()
Get the orientation of the magnet as defined by MagnetType.
|
java.lang.String |
getType()
Derived class must furnish a unique type id
|
boolean |
isKindOf(java.lang.String type)
Determine if a node is of the specified type.
|
void |
update(DataAdaptor adaptor)
Update the instance with data from the data adaptor.
|
addBucket, getDesignField, getDfltField, getEffLength, getField, getFieldReadback, getFieldSetting, getMagBucket, getMainSupply, getPolarity, getTotalFieldSetting, isHorizontal, isVertical, setMagBucket, toCAFromField, toFieldFromCA, writePowerSupplies
channelSuite, clear, dataLabel, findChannel, getAccelerator, getAlign, getAndConnectChannel, getAper, getBucket, getBuckets, getChannel, getDesignPropertyValue, getEId, getHandles, getId, getLength, getLivePropertyChannels, getLivePropertyValue, getParent, getPId, getPitchAngle, getPosition, getPrimaryAncestor, getRollAngle, getSDisplay, getSoftType, getStatus, getTwiss, getValid, getXOffset, getYawAngle, getYOffset, getZOffset, hasBucket, hasParent, isMagnet, lazilyGetAndConnect, removeFromParent, setAccelerator, setAlign, setAper, setLength, setParent, setPitchAngle, setPosition, setRollAngle, setSDisplay, setStatus, setTwiss, setValid, setXOffset, setYawAngle, setYOffset, setZOffset, toString, write
public static java.lang.String s_strType
public static final int NO_ORIENTATION
public static final int HORIZONTAL
public static final int VERTICAL
public static final java.lang.String HORIZONTAL_TYPE
public static final java.lang.String VERTICAL_TYPE
public java.lang.String getType()
AcceleratorNode
getType
in class Electrostatic
public int getOrientation()
getOrientation
in class Electrostatic
public void update(DataAdaptor adaptor)
update
in interface DataListener
update
in class AcceleratorNode
adaptor
- The data provider.public boolean isKindOf(java.lang.String type)
AcceleratorNode
isKindOf
in interface ElementType
isKindOf
in class AcceleratorNode
type
- The type against which to compare.