edu.byu.phun.body
Class Hand

java.lang.Object
  extended by edu.byu.phun.PropertyContainer
      extended by edu.byu.phun.Obj3D
          extended by edu.byu.phun.GroupObj
              extended by edu.byu.phun.body.BodyPart
                  extended by edu.byu.phun.body.Hand

public class Hand
extends BodyPart

Creates a hand object. This is accessed exclusively through the ForeArm object.


Constructor Summary
Hand()
          Create a new Hand object.
 
Method Summary
 Color getSkinColor()
          Returns the skin color.
 void setSkinColor(Color color)
          Set the skin color.
 
Methods inherited from class edu.byu.phun.GroupObj
addPart, getPart, getPart, nParts, partNames, removePart, removePart, setColor, setPart
 
Methods inherited from class edu.byu.phun.Obj3D
getBounds, getColor, getLocation, getName, getRotX, getRotY, getRotZ, getScaleX, getScaleY, getScaleZ, getShininess, setColor, setLocation, setLocation, setName, setRotX, setRotY, setRotZ, setScale, setScale, setScaleX, setScaleY, setScaleZ, setShininess, toString
 
Methods inherited from class edu.byu.phun.PropertyContainer
getPropertyC, getPropertyD, getPropertyP, getPropertyS, propertyIsColor, propertyIsDouble, propertyIsPoint, propertyIsSettable, propertyIsString, propertyNames, setProperty, setProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Hand

public Hand()
Create a new Hand object.

Method Detail

setSkinColor

public void setSkinColor(Color color)
Set the skin color. This is called from the ForeArm object rather than directly.

Parameters:
color - the new skin color.

getSkinColor

public Color getSkinColor()
Returns the skin color.

Returns:
the skin color
See Also:
setSkinColor(Color)