|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.rssowl.controller.properties.PropertyPage
net.sourceforge.rssowl.controller.properties.FontProperties
public class FontProperties
Class displays a PropertyPage to set the Font and Encoding for RSSOwl
| Field Summary | |
|---|---|
private Label |
catDescription
|
private static int |
DIALOG_FONT
|
private Combo |
encodingsCombo
|
private Label |
fontHeightLabel
|
private Label |
fontNameLabel
|
private Label |
fontStyleLabel
|
private static int |
HEADER_FONT
|
(package private) static boolean |
possibleFontChange
Flag to indicate a possible font change |
(package private) List |
selectCatList
|
private Group |
selectedFont
|
private FontData[] |
selectedFontData
|
private static int |
TABLE_FONT
|
private static int |
TEXT_FONT
|
private static int |
TREE_FONT
|
| Fields inherited from class net.sourceforge.rssowl.controller.properties.PropertyPage |
|---|
apply, composite, dialogFont, errorMessageLabel, parent, propertyChangeManager, restore, rssOwlGui |
| Constructor Summary | |
|---|---|
FontProperties(Composite parent,
GUI rssOwlGui)
Instatiate a new FontProperties PropertyPage |
|
| Method Summary | |
|---|---|
void |
applyButtonPressed()
The apply button has been pressed |
private void |
creteSelectedFontGroup(Font font)
Display informations about a selected font |
private void |
creteSelectedFontGroup(FontData fontData)
Write informations about the given Font |
(package private) void |
handleListSelect()
Perform action when the list is selected |
protected void |
initComponents()
Init all components |
protected void |
restoreButtonPressed()
The restore button has been pressed |
private void |
saveFontData()
Save selected fontdata to property change manager |
(package private) void |
selectDefaultFont()
Set the default font for the selected font area |
(package private) void |
selectFont()
Select a font for RSSOwl |
static void |
setPossibleFontChange(boolean possibleFontChange)
Boolean flag to set if a font change has been made. |
void |
updatePropertiesChangeManager()
Update the temporary settings holder PropertiesChangeManager |
| Methods inherited from class net.sourceforge.rssowl.controller.properties.PropertyPage |
|---|
createButtons, createComposite, dispose, getPropertyChangeManager, initPropertyChangeManager, setApplyButtonState, setButtonLayoutData, setButtonLayoutData, setErrorMessage, setRestoreButtonState, setSuccessMessage, setWarningMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final int DIALOG_FONT
private static final int HEADER_FONT
private static final int TABLE_FONT
private static final int TEXT_FONT
private static final int TREE_FONT
static boolean possibleFontChange
private Label catDescription
private Combo encodingsCombo
private Label fontHeightLabel
private Label fontNameLabel
private Label fontStyleLabel
private Group selectedFont
private FontData[] selectedFontData
List selectCatList
| Constructor Detail |
|---|
public FontProperties(Composite parent,
GUI rssOwlGui)
parent - Composite's parentrssOwlGui - The MainController| Method Detail |
|---|
public static void setPossibleFontChange(boolean possibleFontChange)
possibleFontChange - TRUE if a possible font change happend.public void applyButtonPressed()
PropertyPage
applyButtonPressed in class PropertyPagePropertyPage.applyButtonPressed()public void updatePropertiesChangeManager()
PropertyPage
updatePropertiesChangeManager in class PropertyPagePropertyPage.updatePropertiesChangeManager()private void creteSelectedFontGroup(Font font)
font - Selected fontprivate void creteSelectedFontGroup(FontData fontData)
fontData - Describes the selected fontprivate void saveFontData()
protected void initComponents()
initComponents in class PropertyPageprotected void restoreButtonPressed()
PropertyPage
restoreButtonPressed in class PropertyPagePropertyPage.restoreButtonPressed()void handleListSelect()
void selectDefaultFont()
void selectFont()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||