edu.cmu.sun.view
Class WindowView

java.lang.Object
  extended by Component3D
      extended by edu.cmu.sun.view.WindowView
All Implemented Interfaces:
ModelListener

public class WindowView
extends Component3D
implements ModelListener


Field Summary
(package private)  Layout activeLayout
           
(package private)  LayoutTransitoner animationManager
           
(package private)  WindowController controller
           
static float DEPTH
           
static int FOLD_DURATION_MSEC
           
static int FOLD_START_MSEC
           
(package private)  boolean foldedBack
           
(package private)  WindowModel model
           
private  javax.vecmath.Vector3f ROTATION_AXIS
           
static float WIDTH
           
static int WINDOW_TRANSISION_MSEC
           
(package private)  WindowBarView windowBarView
           
(package private)  WindowContentView windowContentView
           
static float Z_LAYERING
           
 
Constructor Summary
WindowView(WindowModel model)
           
 
Method Summary
 void foldBack()
           
 void foldForward(boolean delay)
           
 ItemView getItemViewMatchingModel(ItemModel itemModel)
           
 WindowModel getModel()
           
 boolean isFolded()
           
 void modelChanged(Model m)
           
private  void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WINDOW_TRANSISION_MSEC

public static final int WINDOW_TRANSISION_MSEC
See Also:
Constant Field Values

FOLD_START_MSEC

public static final int FOLD_START_MSEC
See Also:
Constant Field Values

FOLD_DURATION_MSEC

public static final int FOLD_DURATION_MSEC
See Also:
Constant Field Values

ROTATION_AXIS

private javax.vecmath.Vector3f ROTATION_AXIS

Z_LAYERING

public static final float Z_LAYERING
See Also:
Constant Field Values

WIDTH

public static final float WIDTH
See Also:
Constant Field Values

DEPTH

public static final float DEPTH
See Also:
Constant Field Values

model

WindowModel model

controller

WindowController controller

animationManager

LayoutTransitoner animationManager

activeLayout

Layout activeLayout

foldedBack

boolean foldedBack

windowBarView

WindowBarView windowBarView

windowContentView

WindowContentView windowContentView
Constructor Detail

WindowView

public WindowView(WindowModel model)
Method Detail

foldBack

public void foldBack()

foldForward

public void foldForward(boolean delay)

isFolded

public boolean isFolded()

update

private void update()

modelChanged

public void modelChanged(Model m)
Specified by:
modelChanged in interface ModelListener

getModel

public WindowModel getModel()

getItemViewMatchingModel

public ItemView getItemViewMatchingModel(ItemModel itemModel)