org.jmol.shape
Class Object2dShape
java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.Object2dShape
- Direct Known Subclasses:
- TextShape
public class Object2dShape
- extends Shape
| Methods inherited from class org.jmol.shape.Shape |
appendCmd, checkBoundsMinMax, checkObjectDragged, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColorCommand, getColorCommand, getFontCommand, getIndexFromName, getProperty, getProperty, getShapeCommands, getShapeCommands, getShapeDetail, getShapeState, getSize, getSize, getTranslucentLabel, getViewer, initializeShape, initShape, merge, setColix, setColix, setColix, setModelClickability, setModelSet, setShapeProperty, setShapeSize, setSize, setSize, setStateInfo, setStateInfo, wasClicked |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
objects
Map<String,Text> objects
currentObject
Object2d currentObject
currentFont
Font3D currentFont
currentColor
Object currentColor
currentBgColor
Object currentBgColor
currentTranslucentLevel
float currentTranslucentLevel
currentBgTranslucentLevel
float currentBgTranslucentLevel
thisID
protected String thisID
isHover
boolean isHover
isAll
boolean isAll
Object2dShape
public Object2dShape()
setProperty
public void setProperty(String propertyName,
Object value,
BitSet bsSelected)
- Description copied from class:
Shape
- may come from any source -- executed AFTER a shape's own setProperty method
- Overrides:
setProperty in class Shape
initModelSet
protected void initModelSet()
- Overrides:
initModelSet in class Shape
setVisibilityFlags
public void setVisibilityFlags(BitSet bs)
- Overrides:
setVisibilityFlags in class Shape
checkObjectClicked
public Map<String,Object> checkObjectClicked(int x,
int y,
int modifiers,
BitSet bsVisible)
- Overrides:
checkObjectClicked in class Shape
- Returns:
- Hashtable containing information about pt clicked
checkObjectHovered
public boolean checkObjectHovered(int x,
int y,
BitSet bsVisible)
- Overrides:
checkObjectHovered in class Shape
- Returns:
- T/F