public class Drift extends Element
Element.SECTION
fmt, handleAsThick
Constructor and Description |
---|
Drift(double position,
double len)
Creates a new instance of Drift
|
Drift(java.lang.Double position,
java.lang.Double len)
Creates a new instance of Drift
|
Drift(double position,
double len,
java.lang.String name)
Creates a new instance of Drift
|
Drift(java.lang.Double position,
java.lang.Double len,
java.lang.String name)
Creates a new instance of Drift
|
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 Drift(double position, double len, java.lang.String name)
public Drift(java.lang.Double position, java.lang.Double len, java.lang.String name)
public Drift(double position, double len)
public Drift(java.lang.Double position, java.lang.Double len)
public java.lang.String getType()
public void accept(Visitor v)
accept
in interface VisitorListener
accept
in class Element
v
- the Visitor which wants to visit this object.