public class Solenoid extends Element
Element.SECTION
fmt, handleAsThick
Constructor and Description |
---|
Solenoid(double position,
double len)
Creates a new instance of Solenoid
|
Solenoid(java.lang.Double position,
java.lang.Double len)
Creates a new instance of Solenoid
|
Solenoid(double position,
double len,
java.lang.String name)
Creates a new instance of Quadrupole
|
Solenoid(java.lang.Double position,
java.lang.Double len,
java.lang.String name)
Creates a new instance of Solenoid
|
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
When called with a Visitor reference the implementor can either
reject to be visited (empty method body) or call the Visitor by
passing its own object reference.
|
java.lang.String |
getType()
Return the element type.
|
clone, getAcceleratorNode, getBase, getEndPosition, getFam, getHardwareSection, getLength, getName, getPosition, getStartPosition, isThick, setAcceleratorNode, setBase, setHardwareSection, setLength, setPosition, split, toAbsolutePosition, toCoutString, version
public Solenoid(double position, double len, java.lang.String name)
public Solenoid(java.lang.Double position, java.lang.Double len, java.lang.String name)
public Solenoid(double position, double len)
public Solenoid(java.lang.Double position, java.lang.Double len)
public java.lang.String getType()
Element
public void accept(Visitor v)
accept
in interface VisitorListener
accept
in class Element
v
- the Visitor which wants to visit this object.