edu.cmu.hcii.calo.SidebarWindow.PaneResizeListener Class Reference

Collaboration diagram for edu.cmu.hcii.calo.SidebarWindow.PaneResizeListener:

Collaboration graph
[legend]
List of all members.

Detailed Description

Listens for property changes indicating that a pane's size has changed, and updates the sidebar accordingly.

Author:
Brian Ellis


Public Member Functions

 PaneResizeListener (CALOPane pane)
 Constructs a PaneResizeListener for the given pane.
void Change (PropertyChangeEvent evt)
 Invoked when a pane resizes.

Private Attributes

final CALOPane LAST_PANE = SidebarWindow.this.schedulePaneContainerPane
 The pane that should have a fluid size when other panes are resized.
CALOPane pane
 The pane we're listening to.

Static Private Attributes

static final int COLLAPSED_PANE_HEIGHT = 26
 The height of a collapsed pane.
static final int MINIMUM_LAST_PANE_HEIGHT = 55
 The minimum size we should let the last pane reach before we stop letting the user shrink it.


Constructor & Destructor Documentation

edu.cmu.hcii.calo.SidebarWindow.PaneResizeListener.PaneResizeListener ( CALOPane  pane  ) 

Constructs a PaneResizeListener for the given pane.

Parameters:
pane the pane to listen to


Member Function Documentation

void edu.cmu.hcii.calo.SidebarWindow.PaneResizeListener.Change ( PropertyChangeEvent  evt  ) 

Invoked when a pane resizes.

Updates the sidebar.

Parameters:
evt the property change event


Member Data Documentation

final int edu.cmu.hcii.calo.SidebarWindow.PaneResizeListener.COLLAPSED_PANE_HEIGHT = 26 [static, private]

The height of a collapsed pane.

final int edu.cmu.hcii.calo.SidebarWindow.PaneResizeListener.MINIMUM_LAST_PANE_HEIGHT = 55 [static, private]

The minimum size we should let the last pane reach before we stop letting the user shrink it.

final CALOPane edu.cmu.hcii.calo.SidebarWindow.PaneResizeListener.LAST_PANE = SidebarWindow.this.schedulePaneContainerPane [private]

The pane that should have a fluid size when other panes are resized.

This shouldn't be hardcoded, but it is.

CALOPane edu.cmu.hcii.calo.SidebarWindow.PaneResizeListener.pane [private]

The pane we're listening to.


The documentation for this class was generated from the following file:
Generated on Mon Aug 13 15:06:12 2007 for CALO by  doxygen 1.5.2