edu.cmu.sun.view
Class SceneView
java.lang.Object
Component3D
edu.cmu.sun.view.SceneView
- All Implemented Interfaces:
- ModelListener
public class SceneView
- extends Component3D
- implements ModelListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
model
SceneModel model
columns
java.util.List<ColumnView> columns
COLUMN_POSITION_MSEC
private static final int COLUMN_POSITION_MSEC
- See Also:
- Constant Field Values
SceneView
public SceneView(SceneModel model)
update
private void update()
syncViewsToModel
private void syncViewsToModel()
getViewForModel
private ColumnView getViewForModel(ColumnModel colModel)
- returns the columnView with the corresponding ColumnModel.
However, if no view can be found, it returns null;
- Parameters:
colModel -
- Returns:
positionColumns
private void positionColumns()
modelChanged
public void modelChanged(Model m)
- Specified by:
modelChanged in interface ModelListener
getPrevColumn
public ColumnView getPrevColumn(ColumnView toThisColumn)
getModel
public SceneModel getModel()