|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.sns.xal.slg.Element
|
+--gov.sns.xal.slg.ThinElement
The superclass of all thin elements.
| Field Summary |
| Fields inherited from class gov.sns.xal.slg.Element |
fmt, handleAsThick |
| Constructor Summary | |
protected |
ThinElement(java.lang.String name,
double position,
double len)
Creates a new instance of ThinElement |
| Method Summary | |
abstract 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.util.ArrayList |
asTuple()
Return the slim element as a tuple (drift,element,drift). |
Element |
getDownstreamDrift()
Return the downstream drift space of a slim element. |
double |
getEffLength()
Return the effective length of this element. |
double |
getEndPosition()
Return the (downstream) end position of this element. |
java.lang.String |
getFam()
|
double |
getLength()
Return the length of this element. |
double |
getStartPosition()
Return the (upstream) start position of this element. |
abstract java.lang.String |
getType()
Return the element type. |
Element |
getUpstreamDrift()
Return the upstream drift space of a slim element. |
java.util.ArrayList |
split(Element insert)
Split the thin element means insert it behind this. |
java.lang.String |
toCoutString()
Return a printable String of the elment. |
static java.lang.String |
version()
Return a version string wo the cvs keyword (i.e. |
| Methods inherited from class gov.sns.xal.slg.Element |
clone, getAcceleratorNode, getBase, getName, getPosition, isThick, setAcceleratorNode, setBase, setLength, setPosition, toAbsolutePosition |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected ThinElement(java.lang.String name,
double position,
double len)
| Method Detail |
public abstract java.lang.String getType()
getType in class Elementpublic double getStartPosition()
getStartPosition in class Elementpublic double getEndPosition()
getEndPosition in class Elementpublic double getLength()
getLength in class Elementpublic double getEffLength()
public Element getUpstreamDrift()
public Element getDownstreamDrift()
public java.util.ArrayList asTuple()
public java.util.ArrayList split(Element insert)
split in class Elementpublic java.lang.String toCoutString()
toCoutString in class Elementpublic java.lang.String getFam()
getFam in class Elementpublic static java.lang.String version()
public abstract void accept(Visitor v)
accept in interface VisitorListeneraccept in class Element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||