Package org.jmol.shape
Class TextShape
java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.TextShape
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Object(package private) float(package private) Object(package private) Font(package private) Text(package private) float(package private) boolean(package private) booleanprotected StringFields inherited from class org.jmol.shape.Shape
bsColixSet, bsSizeSet, isBioShape, ms, myType, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, vf, vwr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckObjectClicked(int x, int y, int modifiers, javajs.util.BS bsVisible, boolean drawPicking) booleancheckObjectHovered(int x, int y, javajs.util.BS bsVisible) protected voidvoidsetModelVisibilityFlags(javajs.util.BS bsModels) protected voidMethods 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 Details
-
objects
-
currentObject
Text currentObject -
currentFont
Font currentFont -
currentColor
Object currentColor -
currentBgColor
Object currentBgColor -
currentTranslucentLevel
float currentTranslucentLevel -
currentBgTranslucentLevel
float currentBgTranslucentLevel -
thisID
-
isHover
boolean isHover -
isAll
boolean isAll
-
-
Constructor Details
-
TextShape
public TextShape()
-
-
Method Details
-
setPropTS
-
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
-