public class LeftToRightAWTReactionLayout extends AbstractAWTReactionLayout
arrowAxis, arrowPos, axis, productBoundsTree, productLayout, reactantBoundsTree, reactantLayout
boundsTree, currentObject, graphics, params, parent
Constructor and Description |
---|
LeftToRightAWTReactionLayout() |
LeftToRightAWTReactionLayout(Params params) |
Modifier and Type | Method and Description |
---|---|
javax.vecmath.Vector2d |
getAxis() |
BoundsTree |
layout(org.openscience.cdk.interfaces.IReaction reaction,
java.awt.Graphics2D graphics) |
BoundsTree |
layout(org.openscience.cdk.interfaces.IReaction obj,
java.lang.String rootLabel,
java.awt.Graphics2D g) |
getArrowAxis, getArrowCenter, setArrowPos, shiftMoleculeSet
getBoundsTree, getCurrentObject, getGraphics, getParams, getTextBounds, getTextPoint, setGraphics, setParams, translateTo
public LeftToRightAWTReactionLayout()
public LeftToRightAWTReactionLayout(Params params)
params
- public BoundsTree layout(org.openscience.cdk.interfaces.IReaction reaction, java.awt.Graphics2D graphics)
layout
in class AbstractAWTLayout<org.openscience.cdk.interfaces.IReaction>
reaction
- graphics
- public javax.vecmath.Vector2d getAxis()
getAxis
in class AbstractAWTReactionLayout
public BoundsTree layout(org.openscience.cdk.interfaces.IReaction obj, java.lang.String rootLabel, java.awt.Graphics2D g)
layout
in class AbstractAWTLayout<org.openscience.cdk.interfaces.IReaction>
obj
- rootLabel
- g
-