Package chemaxon.struc.graphics
Class MReactionSign
java.lang.Object
chemaxon.struc.MObject
chemaxon.struc.graphics.MPolyline
chemaxon.struc.graphics.MRectangle
chemaxon.struc.graphics.MTextBox
chemaxon.struc.graphics.MReactionSign
- All Implemented Interfaces:
- Serializable,- Cloneable
Special MTextBox desdendant for displaying Reaction signs.
 The text is always a "+" sign no changes are permitted.
- See Also:
- 
Field SummaryFields inherited from class chemaxon.struc.graphics.MTextBoxALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_TOP, FONT_DEFAULT_SCALEFields inherited from class chemaxon.struc.graphics.MRectangleP_CENTER, P_E, P_N, P_NE, P_NW, P_S, P_SE, P_SW, P_W, T_NOROTFields inherited from class chemaxon.struc.graphics.MPolylineARROW_BACK_FLAG, ARROW_CROSSED_FLAG, ARROW_CURVED_FLAG, ARROW_DASHED_FLAG, ARROW_EQUILIBRIUM_FLAG, ARROW_GROUP1_MASK, ARROW_GROUP2_MASK, ARROW_HALF_LEFT, ARROW_HALF_MASK, ARROW_HALF_RIGHT, ARROW_RETROSYNTHETIC_FLAG, arrowFlags, CLOSED_FLAG, DEFAULT_ARROW_HEAD_LENGTH, DEFAULT_ARROW_HEAD_WIDTH, DEFAULT_EQUILIBRIUM_HEAD_WIDTH, DEFAULT_MAX_CROSS_SIZE, DEFAULT_RETROSYNTHETIC_HEAD_WIDTH, DEFAULT_THICKNESS, HEAD, points, TAIL, THICKNESS_SET_FLAGFields inherited from class chemaxon.struc.MObjectTRANSFORM_DISTORT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddChar(char c) Adds a character to the text.voidvoidAdds a string to the text.intGets the number of internal selectable point references.voidinsertDocument(MTextDocument document) Inserts document at the current cursor position.booleanIs the object selectable now?voidsetAttribute(String s, String v) Sets the value of an attribute.voidSets the text.voidupdateBoundingRect(double[] xyminm, CTransform3D pretrf) Calculate the bounding rectangle.voidwrapTextAndSetActualPoints(CTransform3D transform, double scale) Methods inherited from class chemaxon.struc.graphics.MTextBoxaddAttributeKeys, addCdataAttributeKeys, clearLines, clone, cursorDown, cursorLeft, cursorRight, cursorToRowEnd, cursorToRowStart, cursorUp, deleteChar, deleteCharBackward, determinePosition, determinePosition, getActionMap, getAttribute, getBaseFont, getBaseFontFamily, getBaseFontStyle, getBreakingChars, getCurrentDefaultFontMetrics, getCurrentForeground, getCurrentHeight, getCurrentScriptCount, getCurrentSubLevel, getCurrentTextAttributes, getCurrentWidth, getCursorColumn, getCursorPos, getCursorRow, getFontScale, getHorizontalAlignment, getLine, getLineCount, getMinimumHeight, getPreBreakingChars, getPreviousNormalTextSectionIndex, getSelectedDocument, getSelectedString, getSelectionEndColumn, getSelectionEndPos, getSelectionEndRow, getSelectionStartColumn, getSelectionStartPos, getSelectionStartRow, getText, getTextAttributesAtCursor, getTextDocument, getVerticalAlignment, hasBackground, hasColor, hasFace, hasRichText, hasSelection, isAutoHeight, isAutoSize, isCurrentFontDefault, isCurrentFontRegular, isEditable, isEmpty, isMinimumHeightSet, setActionMap, setAutoHeight, setAutoSize, setBaseFontFamily, setBaseFontStyle, setCurrentDefaultFontMetrics, setCurrentFont, setCurrentForeground, setCurrentHeight, setCurrentTextAttributes, setCurrentWidth, setCursorPos, setCursorRow, setDocument, setFontScale, setHorizontalAlignment, setMinimumHeight, setMinimumHeightSet, setPoints, setRowAndColumn0, setSelected, setVerticalAlignment, transform, unselectContentsMethods inherited from class chemaxon.struc.graphics.MRectanglecalcCenter, convertTransform, distanceFrom, fixClonedPoints, fixRectanglePointClones, getClip, getPointRef, getTCenter, getTOption, removeChild, setCorners, setTCenter, setTOption, transformTo2DMethods inherited from class chemaxon.struc.graphics.MPolylinecheckValidity, containsAtom, copyProperties, finishCloning, fixMidPointClones, getArcAngle, getArcCenter, getArcRadius, getArcRadius, getArrowFlags, getArrowLength, getArrowWidth, getFlags, getLineMiddlePoint, getMidPointLocation, getMirroredArrowFlags, getPoint, getPointCount, getPoints, getSkip, getThickness, hasLineColor, hasOutline, isArrow, isThicknessSet, removeNotify, replaceAtom, reverse, rotate, setArcAngle, setArrow, setArrowFlags, setArrowLength, setArrowWidth, setFlags, setSkip, setThicknessMethods inherited from class chemaxon.struc.MObjectaddNotify, clearProperties, connectToSgroupOfAtom, containsPoint, containsPropertyKey, distanceFrom, getBackground, getColor, getContainerMObject, getLineColor, getProperty, isChildOf, isInternalSelectable, isReactionArrow, isSelected, isTransformable, makeColor, propertyCount, propertyKeySet, propertySet, putProperty, removeAtom, removeProperty, setBackground, setColor, setLineColor, toString, updateBoundingRect
- 
Constructor Details- 
MReactionSignpublic MReactionSign()
- 
MReactionSign
 
- 
- 
Method Details- 
setTextDescription copied from class:MTextBoxSets the text.
- 
addStringDescription copied from class:MTextBoxAdds a string to the text.
- 
addCharpublic void addChar(char c) Description copied from class:MTextBoxAdds a character to the text.
- 
addLine
- 
setAttributeDescription copied from class:MTextBoxSets the value of an attribute.
 Supported attributes:- cursorPosition: the position of the cursor in the text box
- text: the content of the text box
 - Overrides:
- setAttributein class- MTextBox
- Parameters:
- s- the attribute name
- v- the attribute value
 
- 
insertDocumentDescription copied from class:MTextBoxInserts document at the current cursor position. Style of the source is preserved.- Overrides:
- insertDocumentin class- MTextBox
 
- 
updateBoundingRectDescription copied from class:MPolylineCalculate the bounding rectangle.- Overrides:
- updateBoundingRectin class- MPolyline
- Parameters:
- xyminm- array containing the current minimum x, y and maximum x, y coordinates
- pretrf- transformation matrix
 
- 
wrapTextAndSetActualPoints- Overrides:
- wrapTextAndSetActualPointsin class- MTextBox
 
- 
getPointRefCountpublic int getPointRefCount()Description copied from class:MRectangleGets the number of internal selectable point references.- Overrides:
- getPointRefCountin class- MRectangle
- Returns:
- 8
 
- 
isSelectableNowpublic boolean isSelectableNow()Description copied from class:MObjectIs the object selectable now?- Overrides:
- isSelectableNowin class- MObject
- Returns:
- true for ordinary objects, false for some internal selectables
 
 
-