|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.swing.FontSizeManager
Method Summary | |
static void |
addContainer(Container c)
Adds a Container to the list of Containers whose
font size will be managed. |
static void |
adjustFontSize(Container c)
Adjusts the size of the fonts in the specified Container . |
static void |
decreaseFontSize()
Decreases font size of all managed containers. |
static void |
increaseFontSize()
Increases font size of all managed containers. |
static void |
removeContainer(Container c)
Removes a Container from the list of Containers whose
font size will be managed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void addContainer(Container c)
Container
to the list of Containers whose
font size will be managed.
c
- the Container
to managepublic static void removeContainer(Container c)
Container
from the list of Containers whose
font size will be managed.
c
- the Container
to removepublic static void increaseFontSize()
adjustFontSize(Container)
public static void decreaseFontSize()
adjustFontSize(Container)
public static void adjustFontSize(Container c)
Container
. This
makes calls to helper methods that increase or decrease the font
as many times as it takes to scale the font size of the container to
match the number of increase/decrease font calls that have been made
thus far. This method should be used for dialogs/frames that are
just about to become visible.
c
- the Container
to adjust
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |