edu.cmu.sun.view
Class TopFoldView

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.TopFoldView

public class TopFoldView
extends AbstractFoldView

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

Author:
Braden Kowitz, Jessica Smith

Field Summary
protected  Component3D bottomCrinkle
           
protected  Component3D slab
           
 
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
TopFoldView(LayoutComponent layout)
           
 
Method Summary
private  void initialize()
           
 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

bottomCrinkle

protected Component3D bottomCrinkle

slab

protected Component3D slab
Constructor Detail

TopFoldView

public TopFoldView(LayoutComponent layout)
Method Detail

initialize

private void initialize()

update

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