Package com.ribs.plus
Class RJFontPanel
java.lang.Object
com.ribs.plus.RJFontPanel
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.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceAn interface for Font Panel Model.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetFont()Returns the currently selected font.getModel()Returns the Font Panel Model.static RJFontPanelReturns the shared instance of the font panel.getUI()Returns the Swing UI panel.booleanReturns whether color panel ui window is visible.voidresetUI()Called by Ribs to reset the UI from the current selection.voidCalled by the GUI panel controls to change the current selection.voidSets the currently selected font.voidSets the Font panel model.voidsetVisible(boolean aValue) Sets the color panel visible (true==onscreen, false==offscreen).
- 
Constructor Details- 
RJFontPanelpublic RJFontPanel()Creates a new font panel.
 
- 
- 
Method Details
- 
getFontReturns the currently selected font.
- 
setFontSets the currently selected font.
- 
getModelReturns the Font Panel Model.
- 
setModelSets 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).
- 
getUIReturns the Swing UI panel.
- 
resetUIpublic void resetUI()Called by Ribs to reset the UI from the current selection.
- 
respondUICalled by the GUI panel controls to change the current selection.