|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.rosuda.JGR.toolkit.FontTracker
public class FontTracker
FontTracker - collect all componentes and apply prefs-font to them
| Field Summary | |
|---|---|
static FontTracker |
current
|
| Constructor Summary | |
|---|---|
FontTracker()
|
|
| Method Summary | |
|---|---|
void |
add(Component comp)
Add a component to the list. |
void |
add(JComponent comp)
Add a component to the list. |
void |
applyFont()
Apply font, fontsize from JGRPrefs to components contained in the tracker. |
void |
setFontBigger()
Increase fontsize, current step is 2. |
void |
setFontSmaller()
Decrease fontsize, current step is 2. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static FontTracker current
| Constructor Detail |
|---|
public FontTracker()
| Method Detail |
|---|
public void add(Component comp)
comp - component to addpublic void add(JComponent comp)
comp - component to addpublic void setFontBigger()
public void setFontSmaller()
public void applyFont()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||