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

com::jgoodies::animation::components::BasicTextLabel Class Reference

Inherits javax::swing::JComponent.

List of all members.


Detailed Description

A Swing text component that can change the text, x and y scaling, glyph space, x and y offset and alignment mode.

Author:
Karsten Lentzsch
Version:
Revision
1.1

See also:
BasicTextRenderer

Definition at line 52 of file BasicTextLabel.java.


Public Member Functions

 BasicTextLabel (String text)
 BasicTextLabel ()
Color getColor ()
HeightMode getHeightMode ()
float getOffsetX ()
float getOffsetY ()
float getScale ()
float getScaleX ()
float getScaleY ()
float getSpace ()
String getText ()
void paintComponent (Graphics g)
void setColor (Color newColor)
void setHeightMode (HeightMode heightMode)
void setOffsetX (float offsetX)
void setOffsetY (float offsetY)
void setScale (float newScale)
void setScaleX (float newScaleX)
void setScaleY (float newScaleY)
void setSpace (float newSpace)
void setText (String newText)

Static Public Attributes

static final String PROPERTYNAME_COLOR = "color"
static final String PROPERTYNAME_HEIGHT_MODE = "heightMode"
static final String PROPERTYNAME_OFFSET_X = "offsetX"
static final String PROPERTYNAME_OFFSET_Y = "offsetY"
static final String PROPERTYNAME_SCALE = "scale"
static final String PROPERTYNAME_SCALE_X = "scaleX"
static final String PROPERTYNAME_SCALE_Y = "scaleY"
static final String PROPERTYNAME_SPACE = "space"
static final String PROPERTYNAME_TEXT = "text"

Private Attributes

final BasicTextRenderer renderer

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

Generated by  Doxygen 1.6.0   Back to index