|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.util.AbstractUIValue<FontModifier,DockFont>
bibliothek.gui.dock.util.font.AbstractDockFont
public abstract class AbstractDockFont
An abstract implementation of DockFont that can connect itself to
a DockController.
| Field Summary |
|---|
| Fields inherited from interface bibliothek.gui.dock.util.font.DockFont |
|---|
ID_FLAP_BUTTON_ACTIVE, ID_FLAP_BUTTON_INACTIVE, ID_FLAP_BUTTON_SELECTED, ID_TAB_FOCUSED, ID_TAB_SELECTED, ID_TAB_UNSELECTED, ID_TITLE_ACTIVE, ID_TITLE_INACTIVE, KIND_DOCK_FONT |
| Constructor Summary | |
|---|---|
AbstractDockFont(java.lang.String id)
Creates a new DockFont. |
|
AbstractDockFont(java.lang.String id,
FontModifier backup)
Creates a new DockFont. |
|
AbstractDockFont(java.lang.String id,
Path kind)
Creates a new DockFont. |
|
AbstractDockFont(java.lang.String id,
Path kind,
FontModifier backup)
Creates a new DockFont. |
|
| Method Summary | |
|---|---|
void |
connect(DockController controller)
Makes sure that this DockFont reads its values from the
FontManager of controller. |
FontModifier |
font()
Gets the FontModifier which is currently represented by this DockFont. |
java.awt.Font |
font(java.awt.Font font)
Gets a modified version of font |
protected DockFont |
me()
Returns this. |
| Methods inherited from class bibliothek.gui.dock.util.AbstractUIValue |
|---|
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface bibliothek.gui.dock.util.UIValue |
|---|
set |
| Constructor Detail |
|---|
public AbstractDockFont(java.lang.String id,
FontModifier backup)
DockFont.
id - the unique identifier of the font which is observedbackup - the backup value used when no font is set
public AbstractDockFont(java.lang.String id,
Path kind,
FontModifier backup)
DockFont.
id - the unique identifier of the font which is observedkind - what kind of DockFont this isbackup - the backup value used when no font is set
public AbstractDockFont(java.lang.String id,
Path kind)
DockFont.
id - the unique identifier of the font which is observedkind - what kind of DockFont this ispublic AbstractDockFont(java.lang.String id)
DockFont.
id - the unique identifier of the font which is observed| Method Detail |
|---|
protected DockFont me()
AbstractUIValuethis. This method can only be implemented when
the generic boundaries are met, so this methods ensures that this
is really an U, or abstract.
me in class AbstractUIValue<FontModifier,DockFont>thispublic void connect(DockController controller)
DockFont reads its values from the
FontManager of controller.setManager(null) to disconnect.
controller - the new source for fonts, can be nullpublic FontModifier font()
FontModifier which is currently represented by this DockFont.
nullpublic java.awt.Font font(java.awt.Font font)
font
font - some font to modify
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||