|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.ceryle.ui.prefs.PreferencePanel
org.ceryle.ui.prefs.FontPrefPanel
public class FontPrefPanel
Extends PreferencePanel to provide font selection facilities.
See Services for more information on
application fonts.
| Nested Class Summary | |
|---|---|
protected class |
FontPrefPanel.FontTableModel
The AbstractTableModel extension used for the font category table. |
| Nested classes/interfaces inherited from class org.ceryle.ui.prefs.PreferencePanel |
|---|
PreferencePanel.RadioListener |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class org.ceryle.ui.prefs.PreferencePanel |
|---|
m_desc, m_pd, m_this, m_title, mh, pm, srvs |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
FontPrefPanel(PreferencesDialog prefDialog)
Constructor for an FontPrefPanel. |
|
| Method Summary | |
|---|---|
protected EditorSamplePanel |
getSamplePanel()
Returns the sample panel. |
protected void |
initialize()
Initializes this FontPrefPanel. |
boolean |
isDirty()
Returns true if an unsaved change has been made to any of the font categories managed by this FontPrefPanel. |
void |
refresh()
Refresh components upon display. |
void |
saveFontProperties(int cat)
Store the font characteristics of font category (0-10) to the preferences file, as well as updating the application font for the category. |
protected void |
savePreference()
Saves any changes in this PreferencePanel to the properties file. |
void |
setGutter(int gutter)
Set the contents of the gutter field. |
void |
setPageLayout(boolean enable)
Set the view to mimic "page layout". |
| Methods inherited from class org.ceryle.ui.prefs.PreferencePanel |
|---|
getPrefsDialog, isInitialized, setDirty |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FontPrefPanel(PreferencesDialog prefDialog)
initialize() prior to display.
prefDialog - the parent dialog| Method Detail |
|---|
protected void initialize()
initialize in class PreferencePanelprotected EditorSamplePanel getSamplePanel()
public void setPageLayout(boolean enable)
setGutter(int) to update
the look and feel of the sample panel.
public void setGutter(int gutter)
public void refresh()
refresh in class PreferencePanelpublic boolean isDirty()
isDirty in class PreferencePanelprotected void savePreference()
savePreference in class PreferencePanelpublic void saveFontProperties(int cat)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||