edu.cmu.sun.view
Class MiddleFoldView

java.lang.Object
  extended by Component3D
      extended by edu.cmu.sun.view.AbstractListView
          extended by edu.cmu.sun.view.AbstractFoldView
              extended by edu.cmu.sun.view.MiddleFoldView

public class MiddleFoldView
extends AbstractFoldView

Assembles, draws, and updates the middle fold component of a folded-scrolling window.

Author:
Braden Kowitz, Jessica Smith

Field Summary
protected  Component3D bottomCrinkle
           
protected  Component3D slab
           
protected  Component3D topCrinkle
           
 
Fields inherited from class edu.cmu.sun.view.AbstractFoldView
BottomBackGeometry, BottomFrontGeometry, controller, CRINKLE_PINCH_X, CRINKLE_PINCH_Y, CRINKLE_PINCH_Z, crinkle_x1, crinkle_x2, crinkle_x3, crinkle_x4, crinkle_y1, crinkle_y2, crinkle_z1, crinkle_z2, leftText, middleNumber, rightText, TEXT_LEFT_OFFSET, TEXT_RIGHT_OFFSET, TEXT_SIZE, textLayer, TopBackGeometry, TopFrontGeometry, WINDOW_DEPTH, WINDOW_WIDTH
 
Fields inherited from class edu.cmu.sun.view.AbstractListView
layout
 
Constructor Summary
MiddleFoldView(LayoutComponent layout)
           
 
Method Summary
protected  void initialize()
          add components to the tree
 void update(AnimationPlan plan, int msec)
           
 
Methods inherited from class edu.cmu.sun.view.AbstractFoldView
getFirstItemText, getHeight, getLastItemText, getNumberText, getTargetEventClasses, makeAbreviation, makeBottomCrinkleShape, makeSlabShape, makeTopCrinkleShape, processEvent
 
Methods inherited from class edu.cmu.sun.view.AbstractListView
getAppearance, getLayout, setLayout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

topCrinkle

protected Component3D topCrinkle

bottomCrinkle

protected Component3D bottomCrinkle

slab

protected Component3D slab
Constructor Detail

MiddleFoldView

public MiddleFoldView(LayoutComponent layout)
Method Detail

initialize

protected void initialize()
add components to the tree


update

public void update(AnimationPlan plan,
                   int msec)
Overrides:
update in class AbstractFoldView