Class TextShape

java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.TextShape
Direct Known Subclasses:
Echo, Hover

public abstract class TextShape extends Shape
  • Field Details

    • objects

      public Map<String,Text> objects
    • 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
  • Constructor Details

    • TextShape

      public TextShape()
  • Method Details

    • setPropTS

      protected void setPropTS(String propertyName, Object value, javajs.util.BS bsSelected)
    • getShapeState

      public String getShapeState()
      Specified by:
      getShapeState in class Shape
    • initModelSet

      protected void initModelSet()
      Overrides:
      initModelSet in class Shape
    • setModelVisibilityFlags

      public void setModelVisibilityFlags(javajs.util.BS bsModels)
      Overrides:
      setModelVisibilityFlags in class Shape
    • checkObjectClicked

      public Map<String,Object> checkObjectClicked(int x, int y, int modifiers, javajs.util.BS bsVisible, boolean drawPicking)
      Overrides:
      checkObjectClicked in class Shape
      drawPicking - TODO
      Returns:
      Hashtable containing information about pt clicked
    • checkObjectHovered

      public boolean checkObjectHovered(int x, int y, javajs.util.BS bsVisible)
      Overrides:
      checkObjectHovered in class Shape
      Returns:
      T/F