Package com.ribs.plus
Class RJFontPanel
- java.lang.Object
- 
- com.ribs.plus.RJFontPanel
 
- 
 public class RJFontPanel extends java.lang.ObjectThis 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.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceRJFontPanel.FPModelAn interface for Font Panel Model.
 - 
Constructor SummaryConstructors Constructor Description RJFontPanel()Creates a new font panel.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.FontgetFont()Returns the currently selected font.RJFontPanel.FPModelgetModel()Returns the Font Panel Model.static RJFontPanelgetShared()Returns the shared instance of the font panel.RJPanelgetUI()Returns the Swing UI panel.booleanisVisible()Returns whether color panel ui window is visible.voidresetUI()Called by Ribs to reset the UI from the current selection.voidrespondUI(java.lang.Object anObj)Called by the GUI panel controls to change the current selection.voidsetFont(java.awt.Font aFont)Sets the currently selected font.voidsetModel(java.lang.Object aModel)Sets the Font panel model.voidsetVisible(boolean aValue)Sets the color panel visible (true==onscreen, false==offscreen).
 
- 
- 
- 
Method Detail- 
getSharedpublic static RJFontPanel getShared() Returns the shared instance of the font panel.
 - 
getFontpublic java.awt.Font getFont() Returns the currently selected font.
 - 
setFontpublic void setFont(java.awt.Font aFont) Sets the currently selected font.
 - 
getModelpublic RJFontPanel.FPModel getModel() Returns the Font Panel Model.
 - 
setModelpublic void setModel(java.lang.Object aModel) Sets the Font panel model.
 - 
isVisiblepublic boolean isVisible() Returns whether color panel ui window is visible.
 - 
setVisiblepublic void setVisible(boolean aValue) Sets the color panel visible (true==onscreen, false==offscreen).
 - 
getUIpublic RJPanel getUI() Returns the Swing UI panel.
 - 
resetUIpublic void resetUI() Called by Ribs to reset the UI from the current selection.
 - 
respondUIpublic void respondUI(java.lang.Object anObj) Called by the GUI panel controls to change the current selection.
 
- 
 
-