|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.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(String id)
Creates a new DockFont . |
|
AbstractDockFont(String id,
FontModifier backup)
Creates a new DockFont . |
|
AbstractDockFont(String id,
Path kind)
Creates a new DockFont . |
|
AbstractDockFont(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 . |
Font |
font(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, 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(String id, FontModifier backup)
DockFont
.
id
- the unique identifier of the font which is observedbackup
- the backup value used when no font is setpublic AbstractDockFont(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 setpublic AbstractDockFont(String id, Path kind)
DockFont
.
id
- the unique identifier of the font which is observedkind
- what kind of DockFont
this ispublic AbstractDockFont(String id)
DockFont
.
id
- the unique identifier of the font which is observedMethod Detail |
---|
protected DockFont me()
AbstractUIValue
this
. 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>
this
public 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 null
public FontModifier font()
FontModifier
which is currently represented by this DockFont
.
null
public Font font(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 |