It's called a DraggyBit because it's a bit (as opposed to a bob), and you drag it.
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. |
edu.cmu.hcii.calo.view.panes.DraggyBit.DraggyBit | ( | ) |
Constructs a DraggyBit.
void edu.cmu.hcii.calo.view.panes.DraggyBit.paintComponent | ( | Graphics | graphics | ) | [protected] |
Paints the draggy bit.
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.
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.