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) boolean
protected String
Fields 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) boolean
checkObjectHovered
(int x, int y, javajs.util.BS bsVisible) protected void
void
setModelVisibilityFlags
(javajs.util.BS bsModels) protected void
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 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:
getShapeState
in classShape
-
initModelSet
protected void initModelSet()- Overrides:
initModelSet
in classShape
-
setModelVisibilityFlags
public void setModelVisibilityFlags(javajs.util.BS bsModels) - Overrides:
setModelVisibilityFlags
in classShape
- Parameters:
bsModels
-
-
checkObjectClicked
public Map<String,Object> checkObjectClicked(int x, int y, int modifiers, javajs.util.BS bsVisible, boolean drawPicking) - Overrides:
checkObjectClicked
in classShape
- Parameters:
x
-y
-modifiers
-bsVisible
-drawPicking
- TODO- Returns:
- Hashtable containing information about pt clicked
-
checkObjectHovered
public boolean checkObjectHovered(int x, int y, javajs.util.BS bsVisible) - Overrides:
checkObjectHovered
in classShape
- Parameters:
x
-y
-bsVisible
-- Returns:
- T/F
-