Package org.jmol.shape
Class Sticks
java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.Sticks
-
Field Summary
FieldsFields inherited from class org.jmol.shape.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 org.jmol.shape.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 -
bsOrderSet
-
-
Constructor Details
-
Sticks
public Sticks()
-
-
Method Details
-
initShape
public void initShape() -
setSize
sets the size of a bond, or sets the selectedBonds set -
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
public Map<String,Object> checkObjectClicked(int x, int y, int modifiers, BS bsVisible, boolean drawPicking) - Overrides:
checkObjectClickedin classShape- Parameters:
x-y-modifiers-bsVisible-drawPicking- TODO- Returns:
- Hashtable containing information about pt clicked
-