Package chemaxon.struc.graphics
Class MAnalysisBox
java.lang.Object
chemaxon.struc.MObject
chemaxon.struc.graphics.MPolyline
chemaxon.struc.graphics.MRectangle
chemaxon.struc.graphics.MTextBox
chemaxon.struc.graphics.MAnalysisBox
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Field Summary
Fields inherited from class chemaxon.struc.graphics.MTextBox
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_TOP, FONT_DEFAULT_SCALEFields inherited from class chemaxon.struc.graphics.MRectangle
P_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.MPolyline
ARROW_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.MObject
TRANSFORM_DISTORT -
Constructor Summary
ConstructorsConstructorDescriptionMAnalysisBox(Molecule m, List<chemaxon.struc.graphics.analysis.MAnalysisBoxTerm> terms) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the attribute names to the specified list.voidAdds attribute names to the specified list.clone()Creates a clone.voidfinishCloning(MDocument olddoc, MDocument newdoc) Finish cloning a document.Gets the value of an attribute.List<chemaxon.struc.graphics.analysis.MAnalysisBoxTerm> getTerms()static List<chemaxon.struc.graphics.analysis.MAnalysisBoxTerm> booleanDetermines if this text box's content can be edited by the user.voidsetAttribute(String s, String v) Sets the value of an attribute.voidMethods inherited from class chemaxon.struc.graphics.MTextBox
addChar, addLine, addString, clearLines, cursorDown, cursorLeft, cursorRight, cursorToRowEnd, cursorToRowStart, cursorUp, deleteChar, deleteCharBackward, determinePosition, determinePosition, getActionMap, 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, insertDocument, isAutoHeight, isAutoSize, isCurrentFontDefault, isCurrentFontRegular, isEmpty, isMinimumHeightSet, setActionMap, setAutoHeight, setAutoSize, setBaseFontFamily, setBaseFontStyle, setCurrentDefaultFontMetrics, setCurrentFont, setCurrentForeground, setCurrentHeight, setCurrentTextAttributes, setCurrentWidth, setCursorPos, setCursorRow, setDocument, setFontScale, setHorizontalAlignment, setMinimumHeight, setMinimumHeightSet, setPoints, setRowAndColumn0, setSelected, setText, setVerticalAlignment, transform, unselectContents, wrapTextAndSetActualPointsMethods inherited from class chemaxon.struc.graphics.MRectangle
calcCenter, convertTransform, distanceFrom, fixClonedPoints, fixRectanglePointClones, getClip, getPointRef, getPointRefCount, getTCenter, getTOption, removeChild, setCorners, setTCenter, setTOption, transformTo2DMethods inherited from class chemaxon.struc.graphics.MPolyline
checkValidity, containsAtom, copyProperties, 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, setThickness, updateBoundingRectMethods inherited from class chemaxon.struc.MObject
addNotify, clearProperties, connectToSgroupOfAtom, containsPoint, containsPropertyKey, distanceFrom, getBackground, getColor, getContainerMObject, getLineColor, getProperty, isChildOf, isInternalSelectable, isReactionArrow, isSelectableNow, isSelected, isTransformable, makeColor, propertyCount, propertyKeySet, propertySet, putProperty, removeAtom, removeProperty, setBackground, setColor, setLineColor, toString, updateBoundingRect
-
Constructor Details
-
MAnalysisBox
Constructor. For internal use only.
-
-
Method Details
-
getMolecule
-
setTerms
-
getTerms
-
addAttributeKeys
Description copied from class:MTextBoxAdds the attribute names to the specified list. CDATA attributes are not added.- Overrides:
addAttributeKeysin classMTextBox- Parameters:
l- the list
-
getAttribute
Description copied from class:MTextBoxGets 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:
getAttributein classMTextBox- Parameters:
s- the attribute name- Returns:
- the value or null
-
addCdataAttributeKeys
Description copied from class:MTextBoxAdds attribute names to the specified list. Only CDATA attributes are added.- Overrides:
addCdataAttributeKeysin classMTextBox- Parameters:
l- the list
-
setAttribute
Description 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 classMTextBox- Parameters:
s- the attribute namev- the attribute value
-
getTermsFromString
-
finishCloning
Finish cloning a document. Called by the copy constructor.- Overrides:
finishCloningin classMPolyline
-
clone
Description copied from class:MObjectCreates a clone. -
cloneAsMTextBox
-
isEditable
public boolean isEditable()Description copied from class:MTextBoxDetermines if this text box's content can be edited by the user.- Overrides:
isEditablein classMTextBox- Returns:
- true if the content can be edited, false otherwise
-