org.jmol.shape
public class Sticks extends Shape
Modifier and Type | Field and Description |
---|---|
private BitSet |
bsColixSet |
private BitSet |
bsOrderSet |
private BitSet |
bsSizeSet |
private static int |
MAX_BOND_CLICK_DISTANCE_SQUARED |
private int |
myMask |
private Point3i |
ptXY |
private boolean |
reportAll |
private BitSet |
selectedBonds |
g3d, isBioShape, modelSet, myVisibilityFlag, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, viewer, xmlProperties
Constructor and Description |
---|
Sticks() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
checkObjectClicked(int x,
int y,
int modifiers,
BitSet bsVisible) |
boolean |
checkObjectHovered(int x,
int y,
BitSet bsVisible) |
private Bond |
findPickedBond(int x,
int y,
BitSet bsVisible,
Point3f pt) |
Object |
getProperty(String property,
int index) |
String |
getShapeState() |
void |
initShape() |
void |
setModelClickability() |
void |
setProperty(String propertyName,
Object value,
BitSet bs)
may come from any source -- executed AFTER a shape's own setProperty method
|
protected void |
setSize(int size,
BitSet bsSelected)
sets the size of a bond, or sets the selectedBonds set
|
appendCmd, checkBoundsMinMax, checkObjectDragged, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColorCommand, getColorCommand, getFontCommand, getIndexFromName, getProperty, getShapeCommands, getShapeCommands, getShapeDetail, getSize, getSize, getTranslucentLabel, getViewer, initializeShape, initModelSet, merge, setColix, setColix, setColix, setModelSet, setShapeProperty, setShapeSize, setSize, setStateInfo, setStateInfo, setVisibilityFlags, wasClicked
private int myMask
private boolean reportAll
private BitSet bsOrderSet
private BitSet bsSizeSet
private BitSet bsColixSet
private BitSet selectedBonds
private static final int MAX_BOND_CLICK_DISTANCE_SQUARED
private final Point3i ptXY
protected void setSize(int size, BitSet bsSelected)
public void setProperty(String propertyName, Object value, BitSet bs)
Shape
setProperty
in class Shape
public Object getProperty(String property, int index)
getProperty
in class Shape
public void setModelClickability()
setModelClickability
in class Shape
public String getShapeState()
getShapeState
in class Shape
public boolean checkObjectHovered(int x, int y, BitSet bsVisible)
checkObjectHovered
in class Shape
public Map<String,Object> checkObjectClicked(int x, int y, int modifiers, BitSet bsVisible)
checkObjectClicked
in class Shape