Logo Search packages:      
Sourcecode: libjgoodies-animation-java version File versions  Download package

com::jgoodies::animation::tutorial::panel::HorizontalBarsPanel Class Reference

Inherits javax::swing::JPanel.

List of all members.


Detailed Description

A Swing component that consists of a top, center, bottom separated by horizontal bars. These bars can be moved up and down.

Author:
Karsten Lentzsch
Version:
Revision
1.4

See also:
BasicTextRenderer

Definition at line 53 of file HorizontalBarsPanel.java.


Public Member Functions

double getFraction ()
 HorizontalBarsPanel (JComponent topComponent, JComponent centerComponent, JComponent bottomComponent)
 HorizontalBarsPanel (JComponent centerComponent)
void setFraction (double newFraction)

Static Public Attributes

static final String PROPERTYNAME_COLOR = "color"
static final String PROPERTYNAME_FRACTION = "fraction"

Private Member Functions

RowSpec createCenterRowSpec (double aFraction)
JComponent createFiller ()
RowSpec createOuterRowSpec (double aFraction)
FormLayout getFormLayout ()

Private Attributes

double fraction

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index