All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class primitives.machines.NarmsMachineProof
java.lang.Object
   |
   +----primitives.machines.Machine
           |
           +----primitives.machines.NarmsMachine
                   |
                   +----primitives.machines.NarmsMachineProof
  -  public class NarmsMachineProof
  
-  extends NarmsMachine
  
-  implements CircularMotion
   
A class which implements methods for the CircularMotion inteface and
 adds labels to the arms of the Narmsmachine. Used by i-armsProof applets
    -  See Also:
    
 -  CircularMotion
 
  
  -  
	A
   -  Strings used as arms labels.
  
 -  
	B
   -  
  
 -  
	C
   -  
  
 -  
	D
   -  
  
 -  
	dalpha
   -   Stores the change rate.
  
 -  
	L
   -  
  
 -  
	limits
   -   Stores the limit angles of motion [should be declared private].
  
 -  
	U
   -  
 
  
  -  
	NarmsMachineProof(Dimension, int, double)
   -  
 
  
  -  
	finalize()
   -  Sets object fields to null
  
 -  
	getChangeRate()
   -  
  
 -  
	getCurrentAngle()
   -  
  
 -  
	getTotalChange()
   -  
  
 -  
	redraw(Graphics)
   -  Draws the machine to a graphic context.
  
 -  
	setChangeRate(double)
   -  Sets the change rate of this CircularMotion Object.
  
 -  
	testRun()
   -  preforms a virtual motion to compute the angle limits of the objects motion.
 
  
limits
 public double limits[]
  -  Stores the limit angles of motion [should be declared private].
 
dalpha
 private double dalpha
  -  Stores the change rate.
 
A
 static final String A
  -  Strings used as arms labels.
 
B
 static final String B
C
 static final String C
D
 static final String D
U
 static final String U
L
 static final String L
  
NarmsMachineProof
 public NarmsMachineProof(Dimension d,
                          int arms,
                          double ratio)
  
    -  See Also:
    
 -  NarmsMachine
  
 
 
  
setChangeRate
 public void setChangeRate(double a)
  -  Sets the change rate of this CircularMotion Object.
  
    -  Parameters:
    
 -  a - the the new change rate.
    
 -  See Also:
    
 -  CircularMotion
  
 
 
 
getChangeRate
 public double getChangeRate()
  
    -  Returns:
    
 -  the current change rate of this object.
    
 -  See Also:
    
 -  CircularMotion
  
 
 
getTotalChange
 public double getTotalChange()
  
    -  Returns:
    
 -  the total change of this object.
    
 -  See Also:
    
 -  CircularMotion
  
 
 
getCurrentAngle
 public double getCurrentAngle()
  
    -  Returns:
    
 -  the current angle of the state of this object.
    
 -  Overrides:
    
 -  getCurrentAngle in class NarmsMachine
    
 -  See Also:
    
 -  CircularMotion
  
 
 
testRun
 public void testRun()
  -  preforms a virtual motion to compute the angle limits of the objects motion.
 
redraw
 public void redraw(Graphics g)
  -  Draws the machine to a graphic context.
  
    -  Parameters:
    
 -  g - the graphic context to draw to.
    
 -  Overrides:
    
 -  redraw in class NarmsMachine
    
 -  See Also:
    
 -  redraw
  
 
 
 
finalize
 public void finalize() throws Throwable
  -  Sets object fields to null
  
    -  Throws: Throwable
    
 -  .
    
 -  Overrides:
    
 -  finalize in class NarmsMachine
  
 
 
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index