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) boolean
checkObjectHovered
(int x, int y, BS bsVisible) getProperty
(String property, int index) void
void
void
setProperty
(String propertyName, Object value, BS bs) protected void
sets 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:
setProperty
in classShape
-
getProperty
- Overrides:
getProperty
in classShape
- Parameters:
property
-index
-- Returns:
- true if serviced
-
setAtomClickability
public void setAtomClickability()- Overrides:
setAtomClickability
in classShape
-
getShapeState
- Specified by:
getShapeState
in classShape
-
checkObjectHovered
- Overrides:
checkObjectHovered
in 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:
checkObjectClicked
in classShape
- Parameters:
x
-y
-modifiers
-bsVisible
-drawPicking
- TODO- Returns:
- Hashtable containing information about pt clicked
-