| 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) Text |
currentObject |
(package private) float |
currentTranslucentLevel |
(package private) boolean |
isAll |
(package private) boolean |
isHover |
Map<String,Text> |
objects |
protected String |
thisID |
bsColixSet, bsSizeSet, isBioShape, ms, myType, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, vf, vwr| Constructor and Description |
|---|
TextShape() |
| 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) |
String |
getShapeState() |
protected void |
initModelSet() |
void |
setModelVisibilityFlags(BS bsModels) |
protected void |
setPropTS(String propertyName,
Object value,
BS bsSelected) |
appendCmd, checkBoundsMinMax, checkObjectDragged, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColixA, getColixB, getColixI, getColorCommand, getColorCommandUnk, getFontCommand, getIndexFromName, getProperty, getPropertyData, getPropShape, getShapeDetail, getSize, getSizeG, getTranslucentLabel, initializeShape, initShape, replaceGroup, setAtomClickability, setModelSet, setProperty, setPropS, setShapeSizeRD, setSize, setSizeRD, wasClickedText currentObject
javajs.awt.Font currentFont
Object currentColor
Object currentBgColor
float currentTranslucentLevel
float currentBgTranslucentLevel
protected String thisID
boolean isHover
boolean isAll
public String getShapeState()
getShapeState in class Shapeprotected void initModelSet()
initModelSet in class Shapepublic void setModelVisibilityFlags(BS bsModels)
setModelVisibilityFlags 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