|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.media.j3d.SceneGraphObject javax.media.j3d.Node javax.media.j3d.Group javax.media.j3d.TransformGroup frontend.java3d.SpherePointLabel
public class SpherePointLabel
SpheriosityPointLabel represents the label for a SpheriosityPoint
Field Summary |
---|
Fields inherited from class javax.media.j3d.TransformGroup |
---|
ALLOW_TRANSFORM_READ, ALLOW_TRANSFORM_WRITE |
Fields inherited from class javax.media.j3d.Group |
---|
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE |
Fields inherited from class javax.media.j3d.Node |
---|
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING |
Constructor Summary | |
---|---|
SpherePointLabel(SpherePointModel thePointModel,
SphereModel theSphere)
SpheriosityPointLabel is the label for this point |
Method Summary | |
---|---|
java.lang.String |
getLabel()
getLabel returns the label associated with this point label |
static void |
setDefaultDisplayState(boolean newState)
setDefaultDisplayState will set the default state new labels use to determine whether to show their label or not |
void |
setLabelState(boolean newState)
setLabelState can be used to change whether labels are displayed or not. |
void |
update(java.util.Observable arg0,
java.lang.Object arg1)
|
Methods inherited from class javax.media.j3d.TransformGroup |
---|
cloneNode, getTransform, setTransform |
Methods inherited from class javax.media.j3d.Group |
---|
addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds |
Methods inherited from class javax.media.j3d.Node |
---|
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable |
Methods inherited from class javax.media.j3d.SceneGraphObject |
---|
clearCapability, clearCapabilityIsFrequent, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpherePointLabel(SpherePointModel thePointModel, SphereModel theSphere)
thePointModel
- the point that our label will go withtheSphere
- the radius of the sphereMethod Detail |
---|
public java.lang.String getLabel()
public void setLabelState(boolean newState)
newState
- set to true to display the label or false to hide itpublic static void setDefaultDisplayState(boolean newState)
newState
- if true labels will be shown if false labels will be
hiddenpublic void update(java.util.Observable arg0, java.lang.Object arg1)
update
in interface java.util.Observer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |