All Packages Class Hierarchy This Package Previous Next Index

Class org.jfouffa.jslider.gui.TextPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----org.jfouffa.jslider.gui.TextPanel

public class TextPanel
extends Panel
This class is a Panel that enables the customization of font properties. Basically it contains TextFields for the 5 font properties :


Constructor index

 o TextPanel(TextHeader)
Creates a new Panel for editing the specified TextHeader.

Method index

 o getFontFamily()
Gets the font-family's value.
 o getFontSize()
Gets the font-size's value.
 o getFontStyle()
Gets the font-style's value.
 o getFontWeight()
Gets the font-weight's value.
 o getTextDecoration()
Gets the text-decoration's value.

Constructors

 o TextPanel
 public TextPanel(TextHeader header)
Creates a new Panel for editing the specified TextHeader.

Parameters:
header - the header to edit

Methods

 o getFontFamily
 public String getFontFamily()
Gets the font-family's value.

 o getFontStyle
 public String getFontStyle()
Gets the font-style's value.

 o getFontWeight
 public String getFontWeight()
Gets the font-weight's value.

 o getFontSize
 public String getFontSize()
Gets the font-size's value.

 o getTextDecoration
 public String getTextDecoration()
Gets the text-decoration's value.