| Modifier and Type | Field and Description |
|---|---|
(package private) Object |
currentBgColor |
(package private) float |
currentBgTranslucentLevel |
(package private) Object |
currentColor |
(package private) javajs.awt.Font |
currentFont |
(package private) Object2d |
currentObject |
(package private) float |
currentTranslucentLevel |
(package private) boolean |
isAll |
(package private) boolean |
isHover |
Map<String,Text> |
objects |
protected String |
thisID |
bsColixSet, bsSizeSet, gdata, isBioShape, modelSet, myVisibilityFlag, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, viewer| Constructor and Description |
|---|
Object2dShape() |
| 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) |
protected void |
initModelSet() |
protected void |
setPropOS(String propertyName,
Object value,
BS bsSelected) |
void |
setVisibilityFlags(BS bs) |
appendCmd, checkBoundsMinMax, checkObjectDragged, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColixA, getColixB, getColixI, getColorCommand, getColorCommandUnk, getFontCommand, getIndexFromName, getProperty, getPropertyData, getShapeDetail, getShapeState, getSize, getSizeG, getTranslucentLabel, getViewer, initializeShape, initShape, merge, setModelClickability, setModelSet, setProperty, setPropS, setShapeSizeRD, setSize, setSizeRD, wasClickedObject2d currentObject
javajs.awt.Font currentFont
Object currentColor
Object currentBgColor
float currentTranslucentLevel
float currentBgTranslucentLevel
protected String thisID
boolean isHover
boolean isAll
protected void initModelSet()
initModelSet in class Shapepublic void setVisibilityFlags(BS bs)
setVisibilityFlags in class Shapepublic Map<String,Object> checkObjectClicked(int x, int y, int modifiers, BS bsVisible, boolean drawPicking)
checkObjectClicked in class ShapedrawPicking - TODOpublic boolean checkObjectHovered(int x,
int y,
BS bsVisible)
checkObjectHovered in class Shape