|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.jbeans.j3d.modeler.scene.SceneModeler
net.jbeans.j3d.modeler.scene.GlyphModeler
GlyphModeler is a class that creates a javax.media.j3d.BranchGroup object (more specifically net.jbeans.j3d.scenegraph.BranchGroup), which contains a set of geometry (glyph) objects.
SceneModeler,
Pretender, IntexedValueSetter, PropertyChangeListener, Serializable,
Serialized Form| Field Summary | |
static int[] |
ESSENTIALS
|
| Fields inherited from class net.jbeans.j3d.modeler.scene.SceneModeler |
bounds, center, sceneListeners, scenes |
| Fields inherited from interface net.jbeans.lang.reflect.Pretender |
GETTER_STR, SETTER_STR |
| Fields inherited from interface net.jbeans.lang.reflect.IndexedValueSetter |
SETTER_INDEX_SEPARATOR, SETTER_NAME, SETTER_PREFIX |
| Constructor Summary | |
GlyphModeler()
Construct a new GlyphModeler. |
|
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
|
ColorLookupTable |
getColorLookupTable()
|
java.awt.Color |
getDefaultColor()
Returns the defautl color. |
double |
getDefaultScale()
Returns the defautl scaling factor. |
java.lang.reflect.Method |
getGetterAt(int index)
|
java.lang.reflect.Method[] |
getGetters()
|
java.lang.reflect.Method |
getIndexedValueSetter()
|
boolean |
getLightingEnable()
|
int |
getNumberOfSetter()
returns the number of available index. |
java.lang.reflect.Method |
getSetterAt(int index)
|
java.lang.String |
getSetterNameAt(int index)
get the setter method name for the specified index. |
java.lang.reflect.Method[] |
getSetters()
|
int |
getShadeModel()
Returns the current shading model. |
java.lang.Object |
getSource()
|
int |
getTransparencyMode()
Returns the current transparency mode. |
protected void |
modelScene()
|
void |
propertyChange(java.beans.PropertyChangeEvent evt)
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
|
void |
set(int length,
java.lang.Object array,
java.lang.String methodname)
|
void |
setColorLookupTable(ColorLookupTable lt)
Sets the color lookup table. |
void |
setColors(double[] color)
|
void |
setDefaultColor(java.awt.Color color)
Sets the default color used to color glyphs. |
void |
setDefaultScale(double scale)
Sets the default scaling factor. |
void |
setGetterAt(int index,
java.lang.reflect.Method method)
|
void |
setGetters(java.lang.reflect.Method[] methods)
|
void |
setLightingEnable(boolean b)
|
void |
setNumberOfSetter(int num)
sets the number of index. |
void |
setScales(double[] scale)
|
void |
setSetterAt(int index,
java.lang.reflect.Method method)
|
void |
setSetterNameAt(int index,
java.lang.String name)
set the setter method name for the specified index. |
void |
setSetters(java.lang.reflect.Method[] methods)
|
void |
setShadeModel(int model)
Sets the shading model. |
void |
setSource(java.lang.Object source)
|
void |
setTransparency(double[] alpha)
|
void |
setTransparencyMode(int mode)
Sets the transparency Mode. |
void |
setUserData(java.lang.Object userData)
|
void |
setValueAt(int index,
java.lang.Object value)
Method to set value at the specified index. |
void |
setXCoordinates(double[] x)
|
void |
setXOrientations(double[] x)
|
void |
setYCoordinates(double[] y)
|
void |
setYOrientations(double[] y)
|
void |
setZCoordinates(double[] z)
|
void |
setZOrientations(double[] z)
|
protected void |
updateScene()
|
| Methods inherited from class net.jbeans.j3d.modeler.scene.SceneModeler |
addScene, addScene, addSceneListener, clearScene, detachScene, getBounds, getBounds, getCenter, getLength, getScene, getScenes, model, removeSceneListener, setScene, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int[] ESSENTIALS
| Constructor Detail |
public GlyphModeler()
| Method Detail |
public void setDefaultColor(java.awt.Color color)
color - the defautl color.public java.awt.Color getDefaultColor()
public void setDefaultScale(double scale)
scale - the default scaling factor.public double getDefaultScale()
public void setShadeModel(int model)
public int getShadeModel()
public void setTransparencyMode(int mode)
mode - the transparency mode.public int getTransparencyMode()
public void setColorLookupTable(ColorLookupTable lt)
public ColorLookupTable getColorLookupTable()
public void setLightingEnable(boolean b)
public boolean getLightingEnable()
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
addPropertyChangeListener in interface net.jbeans.lang.reflect.IndexedValueSetterpublic void removePropertyChangeListener(java.beans.PropertyChangeListener l)
removePropertyChangeListener in interface net.jbeans.lang.reflect.IndexedValueSetterpublic void setXCoordinates(double[] x)
public void setYCoordinates(double[] y)
public void setZCoordinates(double[] z)
public void setScales(double[] scale)
public void setXOrientations(double[] x)
public void setYOrientations(double[] y)
public void setZOrientations(double[] z)
public void setColors(double[] color)
public void setTransparency(double[] alpha)
public void setUserData(java.lang.Object userData)
public void setSource(java.lang.Object source)
setSource in interface net.jbeans.lang.reflect.Pretenderpublic java.lang.Object getSource()
getSource in interface net.jbeans.lang.reflect.Pretenderpublic java.lang.reflect.Method[] getSetters()
getSetters in interface net.jbeans.lang.reflect.Pretenderpublic void setSetters(java.lang.reflect.Method[] methods)
setSetters in interface net.jbeans.lang.reflect.Pretenderpublic java.lang.reflect.Method getSetterAt(int index)
getSetterAt in interface net.jbeans.lang.reflect.Pretender
public void setSetterAt(int index,
java.lang.reflect.Method method)
setSetterAt in interface net.jbeans.lang.reflect.Pretenderpublic java.lang.reflect.Method[] getGetters()
getGetters in interface net.jbeans.lang.reflect.Pretenderpublic void setGetters(java.lang.reflect.Method[] methods)
setGetters in interface net.jbeans.lang.reflect.Pretenderpublic java.lang.reflect.Method getGetterAt(int index)
getGetterAt in interface net.jbeans.lang.reflect.Pretender
public void setGetterAt(int index,
java.lang.reflect.Method method)
setGetterAt in interface net.jbeans.lang.reflect.Pretenderpublic int getNumberOfSetter()
getNumberOfSetter in interface net.jbeans.lang.reflect.IndexedValueSetterpublic void setNumberOfSetter(int num)
setNumberOfSetter in interface net.jbeans.lang.reflect.IndexedValueSetter
public void setSetterNameAt(int index,
java.lang.String name)
setSetterNameAt in interface net.jbeans.lang.reflect.IndexedValueSetterpublic final java.lang.String getSetterNameAt(int index)
getSetterNameAt in interface net.jbeans.lang.reflect.IndexedValueSetter
public void setValueAt(int index,
java.lang.Object value)
setValueAt in interface net.jbeans.lang.reflect.IndexedValueSetterpublic java.lang.reflect.Method getIndexedValueSetter()
getIndexedValueSetter in interface net.jbeans.lang.reflect.IndexedValueSetterpublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListener
public void set(int length,
java.lang.Object array,
java.lang.String methodname)
protected void modelScene()
modelScene in class SceneModelerprotected void updateScene()
updateScene in class SceneModeler
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||