public abstract class DockIcon extends AbstractUIValue<javax.swing.Icon,DockIcon>
Icon
s from the IconManager
.Modifier and Type | Field and Description |
---|---|
static Path |
KIND_ICON
What kind of
UIValue this is |
Constructor and Description |
---|
DockIcon(java.lang.String id,
Path kind)
Creates a new
DockIcon . |
DockIcon(java.lang.String id,
Path kind,
javax.swing.Icon backup)
Creates a new
DockIcon . |
Modifier and Type | Method and Description |
---|---|
protected DockIcon |
me()
Returns
this . |
void |
setController(DockController controller)
Sets the
IconManager of controller |
public DockIcon(java.lang.String id, Path kind)
DockIcon
.id
- the unique identifier of this iconkind
- what kind of UIValue
this ispublic void setController(DockController controller)
IconManager
of controller
controller
- the controller to observe, can be null
protected DockIcon 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<javax.swing.Icon,DockIcon>
this