edu.cmu.hcii.calo.view.panes.DraggyBit Class Reference

List of all members.

Detailed Description

A control that allows the user to resize its associated pane by dragging it.

It's called a DraggyBit because it's a bit (as opposed to a bob), and you drag it.

Author:
Brian Ellis


Public Member Functions

 DraggyBit ()
 Constructs a DraggyBit.
Dimension getPreferredSize ()
 Returns the preferred size of this component if it's been set, otherwise calculates it.

Protected Member Functions

void paintComponent (Graphics graphics)
 Paints the draggy bit.

Private Attributes

Point clickPoint
 The point at which the user first clicked the draggy bit.

Static Private Attributes

static final long serialVersionUID = 818156187826856495L
 Prevent serialization collisions.


Constructor & Destructor Documentation

edu.cmu.hcii.calo.view.panes.DraggyBit.DraggyBit (  ) 

Constructs a DraggyBit.


Member Function Documentation

void edu.cmu.hcii.calo.view.panes.DraggyBit.paintComponent ( Graphics  graphics  )  [protected]

Paints the draggy bit.

Parameters:
graphics the graphics to paint with

Dimension edu.cmu.hcii.calo.view.panes.DraggyBit.getPreferredSize (  ) 

Returns the preferred size of this component if it's been set, otherwise calculates it.


Member Data Documentation

final long edu.cmu.hcii.calo.view.panes.DraggyBit.serialVersionUID = 818156187826856495L [static, private]

Prevent serialization collisions.

Point edu.cmu.hcii.calo.view.panes.DraggyBit.clickPoint [private]

The point at which the user first clicked the draggy bit.


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