Package org.jmol.shape
Class TextShape
- java.lang.Object
-
- org.jmol.shape.Shape
-
- org.jmol.shape.TextShape
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ObjectcurrentBgColor(package private) floatcurrentBgTranslucentLevel(package private) ObjectcurrentColor(package private) FontcurrentFont(package private) TextcurrentObject(package private) floatcurrentTranslucentLevel(package private) booleanisAll(package private) booleanisHoverMap<String,Text>objectsprotected StringthisID-
Fields inherited from class org.jmol.shape.Shape
bsColixSet, bsSizeSet, isBioShape, ms, myType, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, vf, vwr
-
-
Constructor Summary
Constructors Constructor Description TextShape()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>checkObjectClicked(int x, int y, int modifiers, javajs.util.BS bsVisible, boolean drawPicking)booleancheckObjectHovered(int x, int y, javajs.util.BS bsVisible)StringgetShapeState()protected voidinitModelSet()voidsetModelVisibilityFlags(javajs.util.BS bsModels)protected voidsetPropTS(String propertyName, Object value, javajs.util.BS bsSelected)-
Methods inherited from class org.jmol.shape.Shape
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, wasClicked
-
-
-
-
Field Detail
-
currentObject
Text currentObject
-
currentFont
Font currentFont
-
currentColor
Object currentColor
-
currentBgColor
Object currentBgColor
-
currentTranslucentLevel
float currentTranslucentLevel
-
currentBgTranslucentLevel
float currentBgTranslucentLevel
-
thisID
protected String thisID
-
isHover
boolean isHover
-
isAll
boolean isAll
-
-
Method Detail
-
getShapeState
public String getShapeState()
- Specified by:
getShapeStatein classShape
-
initModelSet
protected void initModelSet()
- Overrides:
initModelSetin classShape
-
setModelVisibilityFlags
public void setModelVisibilityFlags(javajs.util.BS bsModels)
- Overrides:
setModelVisibilityFlagsin classShape
-
checkObjectClicked
public Map<String,Object> checkObjectClicked(int x, int y, int modifiers, javajs.util.BS bsVisible, boolean drawPicking)
- Overrides:
checkObjectClickedin classShapedrawPicking- TODO- Returns:
- Hashtable containing information about pt clicked
-
checkObjectHovered
public boolean checkObjectHovered(int x, int y, javajs.util.BS bsVisible)- Overrides:
checkObjectHoveredin classShape- Returns:
- T/F
-
-