public class Sticks extends Shape
| Modifier and Type | Field and Description |
|---|---|
BS |
bsOrderSet |
private static int |
MAX_BOND_CLICK_DISTANCE_SQUARED |
private int |
myMask |
private javajs.util.P3i |
ptXY |
boolean |
reportAll |
private BS |
selectedBonds |
bsColixSet, bsSizeSet, isBioShape, ms, myType, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, vf, vwr| Constructor and Description |
|---|
Sticks() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
checkObjectClicked(int x,
int y,
int modifiers,
BS bsVisible,
boolean drawPicking) |
boolean |
checkObjectHovered(int x,
int y,
BS bsVisible) |
private Bond |
findPickedBond(int x,
int y,
BS bsVisible,
javajs.util.P3 pt) |
Object |
getProperty(String property,
int index) |
String |
getShapeState() |
void |
initShape() |
void |
setAtomClickability() |
void |
setProperty(String propertyName,
Object value,
BS bs) |
protected void |
setSize(int size,
BS bsSelected)
sets the size of a bond, or sets the selectedBonds set
|
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, setPropS, setShapeSizeRD, setSizeRD, wasClickedprivate int myMask
public boolean reportAll
public BS bsOrderSet
private BS selectedBonds
private static final int MAX_BOND_CLICK_DISTANCE_SQUARED
private final javajs.util.P3i ptXY
protected void setSize(int size,
BS bsSelected)
public void setProperty(String propertyName, Object value, BS bs)
setProperty in class Shapepublic Object getProperty(String property, int index)
getProperty in class Shapepublic void setAtomClickability()
setAtomClickability in class Shapepublic String getShapeState()
getShapeState in class Shapepublic boolean checkObjectHovered(int x,
int y,
BS bsVisible)
checkObjectHovered in class Shapepublic Map<String,Object> checkObjectClicked(int x, int y, int modifiers, BS bsVisible, boolean drawPicking)
checkObjectClicked in class ShapedrawPicking - TODO