public class TopToBottomReactionLayout extends AbstractDirectReactionLayout
arrowAxis, arrowPos, productBoundsTree, productLayout, reactantBoundsTree, reactantLayout
boundsTree, INVERTED, params, shouldInvert
Constructor and Description |
---|
TopToBottomReactionLayout() |
TopToBottomReactionLayout(boolean shouldInvert) |
TopToBottomReactionLayout(boolean shouldInvert,
javax.vecmath.Vector2d moleculeAxis) |
Modifier and Type | Method and Description |
---|---|
javax.vecmath.Vector2d |
getAxis() |
double |
getAxisPosition() |
BoundsTree |
layout(org.openscience.cdk.interfaces.IReaction reaction,
javax.vecmath.Vector2d axis) |
getArrowAxis, getArrowCenter, getArrowPos, getProductAxis, getProductAxisPos, getProductBounds, getReactantAxis, getReactantAxisPos, getReactantBounds, setArrowPos, setParams, shiftMoleculeSet, shiftReaction
align, getParams, invert, translateTo
public TopToBottomReactionLayout()
public TopToBottomReactionLayout(boolean shouldInvert)
shouldInvert
- public TopToBottomReactionLayout(boolean shouldInvert, javax.vecmath.Vector2d moleculeAxis)
shouldInvert
- moleculeAxis
- public BoundsTree layout(org.openscience.cdk.interfaces.IReaction reaction, javax.vecmath.Vector2d axis)
layout
in class AbstractDirectLayout<org.openscience.cdk.interfaces.IReaction>
reaction
- axis
- public javax.vecmath.Vector2d getAxis()
getAxis
in class AbstractDirectLayout<org.openscience.cdk.interfaces.IReaction>
public double getAxisPosition()
getAxisPosition
in class AbstractDirectLayout<org.openscience.cdk.interfaces.IReaction>