edu.cmu.sun.view
Class AbstractListView
java.lang.Object
Component3D
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
layout
LayoutComponent layout
cullAppearance
private static Appearance cullAppearance
noncullAppearance
private static Appearance noncullAppearance
AbstractListView
public AbstractListView(LayoutComponent layout)
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)