edu.cmu.sun.view
Class AbstractListView

java.lang.Object
  extended by Component3D
      extended by edu.cmu.sun.view.AbstractListView
Direct Known Subclasses:
AbstractFoldView, ListView

public abstract class AbstractListView
extends Component3D

Parent view for all items in a folded-scrolling view. This is the parent for folds (top, middle, bottom) and the list portions of the view. It privides a pointer to the LayoutComponent that this list item is required to draw. It also privdes the appearance for all of the views.

Author:
Braden Kowitz, Jessica Smith

Field Summary
private static Appearance cullAppearance
           
(package private)  LayoutComponent layout
           
private static Appearance noncullAppearance
           
 
Constructor Summary
AbstractListView(LayoutComponent layout)
           
 
Method Summary
static Appearance getAppearance(boolean backfaceCulling)
          used as the common appearacnce for all list views
abstract  float getHeight()
           
 LayoutComponent getLayout()
           
 void setLayout(LayoutComponent layout)
           
abstract  void update(AnimationPlan plan, int msec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

layout

LayoutComponent layout

cullAppearance

private static Appearance cullAppearance

noncullAppearance

private static Appearance noncullAppearance
Constructor Detail

AbstractListView

public AbstractListView(LayoutComponent layout)
Method Detail

getHeight

public abstract float getHeight()

update

public abstract void update(AnimationPlan plan,
                            int msec)

getAppearance

public static Appearance getAppearance(boolean backfaceCulling)
used as the common appearacnce for all list views


getLayout

public LayoutComponent getLayout()

setLayout

public void setLayout(LayoutComponent layout)