|
|||||||||||
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
Class displays a PropertyPage to set the Font and Encoding for RSSOwl
Field Summary | |
private org.eclipse.swt.widgets.Label |
catDescription
|
private static int |
DIALOG_FONT
|
private org.eclipse.swt.widgets.Combo |
encodingsCombo
|
private org.eclipse.swt.widgets.Label |
fontHeightLabel
|
private org.eclipse.swt.widgets.Label |
fontNameLabel
|
private org.eclipse.swt.widgets.Label |
fontStyleLabel
|
private static int |
HEADER_FONT
|
(package private) static boolean |
possibleFontChange
Flag to indicate a possible font change |
private org.eclipse.swt.widgets.List |
selectCatList
|
private org.eclipse.swt.widgets.Group |
selectedFont
|
private org.eclipse.swt.graphics.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(org.eclipse.swt.widgets.Composite parent,
GUI rssOwlGui)
Instatiate a new FontProperties PropertyPage |
Method Summary | |
void |
applyButtonPressed()
The apply button has been pressed |
private void |
creteSelectedFontGroup(org.eclipse.swt.graphics.Font font)
Display informations about a selected font |
private void |
creteSelectedFontGroup(org.eclipse.swt.graphics.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 org.eclipse.swt.widgets.Label catDescription
private org.eclipse.swt.widgets.Combo encodingsCombo
private org.eclipse.swt.widgets.Label fontHeightLabel
private org.eclipse.swt.widgets.Label fontNameLabel
private org.eclipse.swt.widgets.Label fontStyleLabel
private org.eclipse.swt.widgets.List selectCatList
private org.eclipse.swt.widgets.Group selectedFont
private org.eclipse.swt.graphics.FontData[] selectedFontData
Constructor Detail |
public FontProperties(org.eclipse.swt.widgets.Composite parent, GUI rssOwlGui)
parent
- Composite's parentrssOwlGui
- The MainControllerMethod Detail |
public static void setPossibleFontChange(boolean possibleFontChange)
possibleFontChange
- TRUE if a possible font change happend.public void applyButtonPressed()
PropertyPage
applyButtonPressed
in class PropertyPage
PropertyPage.applyButtonPressed()
public void updatePropertiesChangeManager()
PropertyPage
updatePropertiesChangeManager
in class PropertyPage
PropertyPage.updatePropertiesChangeManager()
private void creteSelectedFontGroup(org.eclipse.swt.graphics.Font font)
font
- Selected fontprivate void creteSelectedFontGroup(org.eclipse.swt.graphics.FontData fontData)
fontData
- Describes the selected fontprivate void saveFontData()
protected void initComponents()
initComponents
in class PropertyPage
protected void restoreButtonPressed()
PropertyPage
restoreButtonPressed
in class PropertyPage
PropertyPage.restoreButtonPressed()
void handleListSelect()
void selectDefaultFont()
void selectFont()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |