Class Sticks
java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.Sticks
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanFalse here means strut points have not been calculated and need to be reset.booleanFields inherited from class Shape
bsColixSet, bsSizeSet, isBioShape, ms, myType, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, vf, vwr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckObjectClicked(int x, int y, int modifiers, BS bsVisible, boolean drawPicking) booleancheckObjectHovered(int x, int y, BS bsVisible) getProperty(String property, int index) voidvoidvoidsetProperty(String propertyName, Object value, BS bs) protected voidsets the size of a bond, or sets the selectedBonds setMethods inherited from class Shape
appendCmd, checkBoundsMinMax, checkObjectDragged, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColixA, getColixB, getColixI, getColorCommand, getColorCommandUnk, getFontCommand, getIndexFromName, getPropertyData, getPropShape, getShapeDetail, getSize, getSizeG, getTranslucentLabel, initializeShape, initModelSet, replaceGroup, setModelSet, setModelVisibilityFlags, setProperties, setPropS, setShapeSizeRD, setSizeRD, wasClicked
-
Field Details
-
reportAll
public boolean reportAll -
haveStrutPoints
public boolean haveStrutPointsFalse here means strut points have not been calculated and need to be reset. True may mean that they have been calculated or at least have been reset and are ready for calculation. strut points themselves are stored in Group. -
bsOrderSet
-
-
Constructor Details
-
Sticks
public Sticks()
-
-
Method Details
-
initShape
-
setSize
-
setProperty
- Specified by:
setPropertyin classShape
-
getProperty
- Overrides:
getPropertyin classShape- Parameters:
property-index-- Returns:
- true if serviced
-
setAtomClickability
public void setAtomClickability()- Overrides:
setAtomClickabilityin classShape
-
getShapeState
- Specified by:
getShapeStatein classShape
-
checkObjectHovered
- Overrides:
checkObjectHoveredin classShape- Parameters:
x-y-bsVisible-- Returns:
- T/F
-
checkObjectClicked
-