Package com.reportmill.panels
Class FontPanel
- java.lang.Object
-
- com.reportmill.panels.FontPanel
-
public class FontPanel extends java.lang.Object
This class is a Swing/Ribs Font panel for selecting fonts. It lets the user easily select a font family, font size and font style (bold, italic, underline, outline). It also has a convenient slider for interactively changing the size and a text field for specificly setting a size. In addition, there is a pick list that shows all the individual fonts available for a given family.
-
-
Constructor Summary
Constructors Constructor Description FontPanel()
Creates a new font panel.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JPanel
getUI()
Returns the Swing UI panel.java.lang.String
getWindowTitle()
Returns the name for the insepctor window.void
resetUI()
Called by Ribs to reset the UI from the current selection.void
respondUI(java.lang.Object anObj)
Called by the GUI panel controls to change the current selection.
-
-
-
Method Detail
-
getUI
public javax.swing.JPanel getUI()
Returns the Swing UI panel.
-
resetUI
public void resetUI()
Called by Ribs to reset the UI from the current selection.
-
respondUI
public void respondUI(java.lang.Object anObj)
Called by the GUI panel controls to change the current selection.
-
getWindowTitle
public java.lang.String getWindowTitle()
Returns the name for the insepctor window.
-
-