|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.struc.MObject
chemaxon.struc.graphics.MPolyline
chemaxon.struc.graphics.MEFlow
public class MEFlow
Electron flow arrow.
| Field Summary | |
|---|---|
static int |
E_SINK
Electron sink. |
static int |
E_SOURCE
Electron source. |
| Fields inherited from class chemaxon.struc.graphics.MPolyline |
|---|
ARROW_BACK_FLAG, ARROW_HALF_LEFT, ARROW_HALF_MASK, ARROW_HALF_RIGHT, arrowFlags, CLOSED_FLAG, DEFAULT_ARROW_HEAD_LENGTH, DEFAULT_ARROW_HEAD_WIDTH, DEFAULT_THICKNESS, HEAD, TAIL, THICKNESS_SET_FLAG |
| Fields inherited from class chemaxon.struc.MObject |
|---|
PAINT_ANTIALIAS, PAINT_FOCUSED, TRANSFORM_DISTORT |
| Constructor Summary | |
|---|---|
|
MEFlow()
Contructs an empty electron flow arrow. |
|
MEFlow(int ne)
Contructs an empty electron flow arrow. |
protected |
MEFlow(MEFlow l)
Copy constructor. |
|
MEFlow(MPoint p1,
MPoint p2,
int ne)
Contructs an electron flow arrow with the specified endpoints. |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a clone. |
java.lang.Object |
getMolObject(int i)
Gets the electron source or sink. |
int |
getNumElectrons()
Gets the number of electrons the arrow represents. |
int |
getPointRefCount()
Gets the number of point references. |
| Methods inherited from class chemaxon.struc.graphics.MPolyline |
|---|
addAttributeKeys, calcArrowHeads, calcCenter, checkValidity, connect, containsAtom, copyProperties, distanceFrom, drawArc, finishCloning, fixMidPointClones, getArcAngle, getArcCenter, getArcRadius, getArrowFlags, getArrowLength, getArrowWidth, getAttribute, getFlags, getMidPointLocation, getMirroredArrowFlags, getPoint, getPointCount, getPointRef, getPoints, getSkip, getThickness, hasBackground, hasColor, hasFace, hasLineColor, hasOutline, isArrow, isEmpty, isThicknessSet, paint, paintEndPointHilights, paintHilight, removeChild, replaceAtom, reverse, setArcAngle, setArrow, setArrowFlags, setArrowLength, setArrowWidth, setAttribute, setFlags, setPoints, setSkip, setThickness, shiftEndPoint, transform, unselectContents, updateBoundingRect |
| Methods inherited from class chemaxon.struc.MObject |
|---|
addCdataAttributeKeys, addNotify, distanceFrom, getBackground, getColor, getLineColor, isChildOf, isInternalSelectable, isReactionArrow, isSelectableNow, isSelected, isTransformable, makeColor, removeNotify, setBackground, setColor, setLineColor, setSelected, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int E_SOURCE
getMolObject(int),
Constant Field Valuespublic static final int E_SINK
getMolObject(int),
Constant Field Values| Constructor Detail |
|---|
public MEFlow()
public MEFlow(int ne)
ne - one-electron (1) or two-electron (2) transfer
public MEFlow(MPoint p1,
MPoint p2,
int ne)
p1 - the starting pointp2 - the endpointne - one-electron (1) or two-electron (2) transferMAtomSetPointprotected MEFlow(MEFlow l)
l - the original arrow| Method Detail |
|---|
public int getNumElectrons()
public java.lang.Object clone()
MObject
clone in class MPolylinepublic java.lang.Object getMolObject(int i)
i - E_SOURCE or E_SINK
public int getPointRefCount()
getPointRefCount in class MPolyline
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||