public abstract class AbstractAWTReactionLayout extends AbstractAWTLayout<org.openscience.cdk.interfaces.IReaction>
Modifier and Type | Field and Description |
---|---|
protected Axis |
arrowAxis |
protected double |
arrowPos |
protected javax.vecmath.Vector2d |
axis |
protected BoundsTree |
productBoundsTree |
protected LinearAtomContainerSetLayout |
productLayout |
protected BoundsTree |
reactantBoundsTree |
protected LinearAtomContainerSetLayout |
reactantLayout |
boundsTree, currentObject, graphics, params, parent
Constructor and Description |
---|
AbstractAWTReactionLayout() |
Modifier and Type | Method and Description |
---|---|
Axis |
getArrowAxis() |
javax.vecmath.Point2d |
getArrowCenter() |
abstract javax.vecmath.Vector2d |
getAxis() |
void |
setArrowPos(double pos) |
void |
shiftMoleculeSet(org.openscience.cdk.interfaces.IAtomContainerSet molSet,
BoundsTree molSetBoundsTree,
double dx,
double dy) |
getBoundsTree, getCurrentObject, getGraphics, getParams, getTextBounds, getTextPoint, layout, layout, setGraphics, setParams, translateTo
protected BoundsTree reactantBoundsTree
protected BoundsTree productBoundsTree
protected javax.vecmath.Vector2d axis
protected Axis arrowAxis
protected double arrowPos
protected LinearAtomContainerSetLayout reactantLayout
protected LinearAtomContainerSetLayout productLayout
public void shiftMoleculeSet(org.openscience.cdk.interfaces.IAtomContainerSet molSet, BoundsTree molSetBoundsTree, double dx, double dy)
molSet
- molSetBoundsTree
- dx
- dy
- public Axis getArrowAxis()
public void setArrowPos(double pos)
pos
- public javax.vecmath.Point2d getArrowCenter()
public abstract javax.vecmath.Vector2d getAxis()