net.jbeans.j3d.modeler.scene.glyph
Class GArrow

java.lang.Object
  extended bynet.jbeans.j3d.modeler.scene.glyph.GArrow
All Implemented Interfaces:
GlyphSource, java.io.Serializable

public class GArrow
extends java.lang.Object
implements GlyphSource, java.io.Serializable

GArrow is a glyph source which generatees an arrow geometry object.

Version:
$Revision: 1.3 $
Author:
Masahiro Takatsuka (masa@jbeans.net)
See Also:
GlyphSource, Serializable, Serialized Form

Constructor Summary
GArrow()
           
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
           
 javax.media.j3d.Appearance getAppearanceOfNode(javax.media.j3d.Node node)
          Returns javax.media.3d.Appearance object.
 float getBaseHeadHeightRatio()
           
 float getBaseHeadRadiusRatio()
           
 float getBaseRatio()
           
 float getBaseTailHeightRatio()
           
 float getBaseTailRadiusRatio()
           
 int[] getEssentials()
           
 float getHeadHeightRatio()
           
 float getHeadRadiusRatio()
           
 javax.media.j3d.Node getNode()
          Returns javax.media.3d.Shape3D object.
 java.lang.reflect.Method[] getSetMethods()
          Returns an array containing methods to set data to construct a glyph source.
 float getTailHeightRatio()
           
 float getTailRadiusRatio()
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
           
 void setAppearanceOfNode(javax.media.j3d.Node node, javax.media.j3d.Appearance appearance)
          Updates the specified Appearance object.
 void setBaseHeadHeightRatio(float r)
           
 void setBaseHeadRadiusRatio(float r)
           
 void setBaseRatio(float r)
           
 void setBaseTailHeightRatio(float r)
           
 void setBaseTailRadiusRatio(float r)
           
 void setHeadHeightRatio(float r)
           
 void setHeadRadiusRatio(float r)
           
 void setTailHeightRatio(float r)
           
 void setTailRadiusRatio(float r)
           
 javax.media.j3d.Node updateNode(javax.media.j3d.Node node)
          Updates the specified Shape3D object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GArrow

public GArrow()
Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener l)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener l)

setBaseRatio

public void setBaseRatio(float r)

getBaseRatio

public float getBaseRatio()

setBaseHeadHeightRatio

public void setBaseHeadHeightRatio(float r)

getBaseHeadHeightRatio

public float getBaseHeadHeightRatio()

setBaseHeadRadiusRatio

public void setBaseHeadRadiusRatio(float r)

getBaseHeadRadiusRatio

public float getBaseHeadRadiusRatio()

setBaseTailHeightRatio

public void setBaseTailHeightRatio(float r)

getBaseTailHeightRatio

public float getBaseTailHeightRatio()

setBaseTailRadiusRatio

public void setBaseTailRadiusRatio(float r)

getBaseTailRadiusRatio

public float getBaseTailRadiusRatio()

setHeadHeightRatio

public void setHeadHeightRatio(float r)

getHeadHeightRatio

public float getHeadHeightRatio()

setHeadRadiusRatio

public void setHeadRadiusRatio(float r)

getHeadRadiusRatio

public float getHeadRadiusRatio()

setTailHeightRatio

public void setTailHeightRatio(float r)

getTailHeightRatio

public float getTailHeightRatio()

setTailRadiusRatio

public void setTailRadiusRatio(float r)

getTailRadiusRatio

public float getTailRadiusRatio()

getNode

public javax.media.j3d.Node getNode()
Returns javax.media.3d.Shape3D object.

Specified by:
getNode in interface GlyphSource

updateNode

public javax.media.j3d.Node updateNode(javax.media.j3d.Node node)
Updates the specified Shape3D object.

Specified by:
updateNode in interface GlyphSource

getSetMethods

public java.lang.reflect.Method[] getSetMethods()
Returns an array containing methods to set data to construct a glyph source.

Specified by:
getSetMethods in interface GlyphSource

getEssentials

public int[] getEssentials()
Specified by:
getEssentials in interface GlyphSource

getAppearanceOfNode

public javax.media.j3d.Appearance getAppearanceOfNode(javax.media.j3d.Node node)
Returns javax.media.3d.Appearance object.

Specified by:
getAppearanceOfNode in interface GlyphSource

setAppearanceOfNode

public void setAppearanceOfNode(javax.media.j3d.Node node,
                                javax.media.j3d.Appearance appearance)
Updates the specified Appearance object.

Specified by:
setAppearanceOfNode in interface GlyphSource


Copyright © 1995-2004 net.jbeans. All Rights Reserved.