Package org.jmol.shape
Class Frank
java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.Frank
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
int
static final int
int
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 TypeMethodDescriptionboolean
checkObjectHovered
(int x, int y, BS bsVisible) void
getFont
(float imageFontScaling) void
void
setProperty
(String propertyName, Object value, BS bs) boolean
wasClicked
(int x, int y) Methods inherited from class org.jmol.shape.Shape
appendCmd, checkBoundsMinMax, checkObjectClicked, checkObjectDragged, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColixA, getColixB, getColixI, getColorCommand, getColorCommandUnk, getFontCommand, getIndexFromName, getProperty, getPropertyData, getPropShape, getShapeDetail, getSize, getSizeG, getTranslucentLabel, initializeShape, initModelSet, replaceGroup, setAtomClickability, setModelSet, setModelVisibilityFlags, setProperties, setPropS, setShapeSizeRD, setSize, setSizeRD
-
Field Details
-
frankMargin
public static final int frankMargin- See Also:
-
frankString
-
baseFont3d
-
frankWidth
public int frankWidth -
frankAscent
public int frankAscent -
frankDescent
public int frankDescent -
font3d
-
-
Constructor Details
-
Frank
public Frank()
-
-
Method Details
-
initShape
public void initShape() -
setProperty
- Specified by:
setProperty
in classShape
-
wasClicked
public boolean wasClicked(int x, int y) - Overrides:
wasClicked
in classShape
- Parameters:
x
-y
-- Returns:
- T/F
-
checkObjectHovered
- Overrides:
checkObjectHovered
in classShape
- Parameters:
x
-y
-bsVisible
-- Returns:
- T/F
-
getFont
public void getFont(float imageFontScaling) -
getShapeState
- Specified by:
getShapeState
in classShape
-