org.jmol.shape

Class Object2dShape

public class Object2dShape extends Shape

Field Summary
ObjectcurrentBgColor
floatcurrentBgTranslucentLevel
ObjectcurrentColor
Font3DcurrentFont
Object2dcurrentObject
floatcurrentTranslucentLevel
booleanisAll
booleanisHover
Hashtableobjects
protected StringthisID
Method Summary
Point3fcheckObjectClicked(int x, int y, int modifiers, BitSet bsVisible)
booleancheckObjectHovered(int x, int y, BitSet bsVisible)
protected voidinitModelSet()
voidsetProperty(String propertyName, Object value, BitSet bsSelected)
voidsetVisibilityFlags(BitSet bs)

Field Detail

currentBgColor

Object currentBgColor

currentBgTranslucentLevel

float currentBgTranslucentLevel

currentColor

Object currentColor

currentFont

Font3D currentFont

currentObject

Object2d currentObject

currentTranslucentLevel

float currentTranslucentLevel

isAll

boolean isAll

isHover

boolean isHover

objects

Hashtable objects

thisID

protected String thisID

Method Detail

checkObjectClicked

public Point3f checkObjectClicked(int x, int y, int modifiers, BitSet bsVisible)

checkObjectHovered

public boolean checkObjectHovered(int x, int y, BitSet bsVisible)

initModelSet

protected void initModelSet()

setProperty

public void setProperty(String propertyName, Object value, BitSet bsSelected)

setVisibilityFlags

public void setVisibilityFlags(BitSet bs)