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 :
- font-family
- font-size
- font-style
- font-weight
- text-decoration
Constructor index
-
TextPanel(TextHeader)
- Creates a new Panel for editing the specified TextHeader.
Method index
-
getFontFamily()
- Gets the font-family's value.
-
getFontSize()
- Gets the font-size's value.
-
getFontStyle()
- Gets the font-style's value.
-
getFontWeight()
- Gets the font-weight's value.
-
getTextDecoration()
- Gets the text-decoration's value.
Constructors
TextPanel
public TextPanel(TextHeader header)
- Creates a new Panel for editing the specified TextHeader.
- Parameters:
- header - the header to edit
Methods
getFontFamily
public String getFontFamily()
- Gets the font-family's value.
getFontStyle
public String getFontStyle()
- Gets the font-style's value.
getFontWeight
public String getFontWeight()
- Gets the font-weight's value.
getFontSize
public String getFontSize()
- Gets the font-size's value.
getTextDecoration
public String getTextDecoration()
- Gets the text-decoration's value.