org.selman.java3d.book.appearancetest
Class AppearanceComponent

java.lang.Object
  |
  +--org.selman.java3d.book.appearancetest.AppearanceComponent
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Direct Known Subclasses:
ColoringComponent, LineComponent, MaterialComponent, PointComponent, PolygonComponent, RenderingComponent, TexGenComponent, TextureAttributesComponent, TextureComponent, TransparencyComponent

public abstract class AppearanceComponent
extends java.lang.Object
implements java.awt.event.ActionListener


Field Summary
protected  javax.media.j3d.Appearance m_Appearance
           
protected  javax.media.j3d.NodeComponent m_NodeComponent
           
 
Constructor Summary
AppearanceComponent(javax.media.j3d.Appearance app)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
protected abstract  void assignNullToAppearance()
           
protected abstract  void assignToAppearance()
           
protected abstract  javax.media.j3d.NodeComponent createComponent()
           
 java.awt.Menu createMenu()
           
protected abstract  int[] getCapabilities()
           
protected abstract  java.lang.String[] getMenuItemNames()
           
protected abstract  java.lang.String getName()
           
 void onNon_Null()
           
 void onNull()
           
protected abstract  void setAppearanceCapability()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_NodeComponent

protected javax.media.j3d.NodeComponent m_NodeComponent

m_Appearance

protected javax.media.j3d.Appearance m_Appearance
Constructor Detail

AppearanceComponent

public AppearanceComponent(javax.media.j3d.Appearance app)
Method Detail

getCapabilities

protected abstract int[] getCapabilities()

setAppearanceCapability

protected abstract void setAppearanceCapability()

createComponent

protected abstract javax.media.j3d.NodeComponent createComponent()

assignToAppearance

protected abstract void assignToAppearance()

assignNullToAppearance

protected abstract void assignNullToAppearance()

getName

protected abstract java.lang.String getName()

getMenuItemNames

protected abstract java.lang.String[] getMenuItemNames()

createMenu

public java.awt.Menu createMenu()

onNull

public void onNull()

onNon_Null

public void onNon_Null()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Specified by:
actionPerformed in interface java.awt.event.ActionListener