org.jmol.shape
Class Frank

java.lang.Object
  extended by org.jmol.shape.Shape
      extended by org.jmol.shape.FontShape
          extended by org.jmol.shape.Frank

public class Frank
extends FontShape


Field Summary
(package private)  Font3D baseFont3d
           
(package private)  Font3D currentMetricsFont3d
           
(package private) static String defaultFontName
           
(package private) static int defaultFontSize
           
(package private) static String defaultFontStyle
           
(package private)  int dx
           
(package private)  int dy
           
(package private)  int frankAscent
           
(package private)  int frankDescent
           
(package private) static int frankMargin
           
(package private)  String frankString
           
(package private)  int frankWidth
           
(package private)  int x
           
(package private)  int y
           
 
Fields inherited from class org.jmol.shape.FontShape
font3d, myType
 
Fields inherited from class org.jmol.shape.Shape
g3d, isBioShape, modelSet, myVisibilityFlag, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, viewer, xmlProperties
 
Constructor Summary
Frank()
           
 
Method Summary
(package private)  void calcMetrics()
           
 boolean checkObjectHovered(int x, int y, BitSet bsVisible)
           
(package private)  void getFont(float imageFontScaling)
           
 void initShape()
           
 boolean wasClicked(int x, int y)
           
 
Methods inherited from class org.jmol.shape.FontShape
getShapeState, setProperty
 
Methods inherited from class org.jmol.shape.Shape
appendCmd, checkBoundsMinMax, checkObjectClicked, checkObjectDragged, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColorCommand, getColorCommand, getFontCommand, getIndexFromName, getProperty, getProperty, getShapeCommands, getShapeCommands, getShapeDetail, getSize, getSize, getViewer, initializeShape, initModelSet, merge, setColix, setColix, setColix, setModelClickability, setModelSet, setShapeProperty, setShapeSize, setSize, setSize, setStateInfo, setStateInfo, setVisibilityFlags
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultFontName

static final String defaultFontName
See Also:
Constant Field Values

defaultFontStyle

static final String defaultFontStyle
See Also:
Constant Field Values

defaultFontSize

static final int defaultFontSize
See Also:
Constant Field Values

frankMargin

static final int frankMargin
See Also:
Constant Field Values

frankString

String frankString

currentMetricsFont3d

Font3D currentMetricsFont3d

baseFont3d

Font3D baseFont3d

frankWidth

int frankWidth

frankAscent

int frankAscent

frankDescent

int frankDescent

x

int x

y

int y

dx

int dx

dy

int dy
Constructor Detail

Frank

public Frank()
Method Detail

initShape

public void initShape()
Overrides:
initShape in class FontShape

wasClicked

public boolean wasClicked(int x,
                          int y)
Overrides:
wasClicked in class Shape

checkObjectHovered

public boolean checkObjectHovered(int x,
                                  int y,
                                  BitSet bsVisible)
Overrides:
checkObjectHovered in class Shape

calcMetrics

void calcMetrics()

getFont

void getFont(float imageFontScaling)