|
|||||||||
| Home >> All >> com >> eireneh >> swing >> [ config overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.eireneh.swing.config
Class DefaultFontChoice

java.lang.Objectcom.eireneh.config.choices.AbstractChoice
com.eireneh.swing.config.DefaultFontChoice
- All Implemented Interfaces:
- com.eireneh.config.Choice, java.io.Serializable
- public class DefaultFontChoice
- extends com.eireneh.config.choices.AbstractChoice
DefaultFontChoice allows the setting of a default font for all windows in the app. There is some experimental code that changes fonts on the fly but that is currently disabled.
|
Distribution Licence: Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below. The copyright to this program is held by it's authors. |
| Nested Class Summary | |
static class |
DefaultFontChoice.CustomContainerListener
Test |
| Field Summary | |
private java.awt.Font |
font
The font |
private static java.util.Vector |
windows
The frames to update |
| Fields inherited from interface com.eireneh.config.Choice |
PRIORITY_ACCESSOR, PRIORITY_CTOR, PRIORITY_EXTENDER, PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_NORMAL, PRIORITY_SYSTEM |
| Constructor Summary | |
DefaultFontChoice()
|
|
| Method Summary | |
static void |
addWindow(java.awt.Window window)
Add a Frame to the list that need to be updated when the PLAF changes. |
java.lang.String |
getHelpText()
Some help text |
java.lang.String |
getString()
Generalized read String from the Properties file |
java.lang.String |
getType()
Override this to check and note any change |
static void |
removeWindow(java.awt.Window window)
Remove a Frame from the list that need to be updated when the PLAF changes. |
static void |
setFontRecurse(java.awt.Component comp,
java.awt.Font font)
Make the specified Font the current |
static void |
setGlobalFont(java.awt.Font font)
Make the specified Font the current |
void |
setString(java.lang.String value)
Is this an allowed value |
| Methods inherited from class com.eireneh.config.choices.AbstractChoice |
getTypeOptions, getUserLevel, isSaveable, priority, requiresRestart |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
font
private java.awt.Font font
- The font
windows
private static transient java.util.Vector windows
- The frames to update
| Constructor Detail |
DefaultFontChoice
public DefaultFontChoice()
| Method Detail |
getString
public java.lang.String getString()
- Generalized read String from the Properties file
setString
public void setString(java.lang.String value)
- Is this an allowed value
getType
public java.lang.String getType()
- Override this to check and note any change
getHelpText
public java.lang.String getHelpText()
- Some help text
setGlobalFont
public static void setGlobalFont(java.awt.Font font)
- Make the specified Font the current
setFontRecurse
public static void setFontRecurse(java.awt.Component comp, java.awt.Font font)
- Make the specified Font the current
addWindow
public static void addWindow(java.awt.Window window)
- Add a Frame to the list that need to be updated
when the PLAF changes.
removeWindow
public static void removeWindow(java.awt.Window window)
- Remove a Frame from the list that need to be updated
when the PLAF changes.
|
|||||||||
| Home >> All >> com >> eireneh >> swing >> [ config overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC