|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.util.PropertyKey<A>
A
- the type of entrypublic class PropertyKey<A>
The key for an entry of DockProperties
.
Field Summary | |
---|---|
static PropertyKey<Icon> |
DOCK_STATION_ICON
The Icon used for a DockStation if it has no icon. |
static PropertyKey<String> |
DOCK_STATION_TITLE
The title of a DockStation if it has no title. |
static PropertyKey<Icon> |
DOCKABLE_ICON
The Icon used for a Dockable if it has no icon. |
static PropertyKey<String> |
DOCKABLE_TITLE
The title of a Dockable if it has no title. |
Constructor Summary | |
---|---|
PropertyKey(String id)
Creates a new key. |
|
PropertyKey(String id,
A value)
Creates a new key. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
A |
getDefault()
Gets a default-value that should be used when no value is set in the DockProperties . |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PropertyKey<Icon> DOCKABLE_ICON
Dockable
if it has no icon.
public static final PropertyKey<Icon> DOCK_STATION_ICON
DockStation
if it has no icon.
public static final PropertyKey<String> DOCKABLE_TITLE
Dockable
if it has no title.
public static final PropertyKey<String> DOCK_STATION_TITLE
DockStation
if it has no title.
Constructor Detail |
---|
public PropertyKey(String id)
id
- a unique identifier, should contain the name of the
type of property, represented by this key.public PropertyKey(String id, A value)
id
- a unique identifier, should contain the name of the
type of property, represented by this key.value
- the value that will be used when no value is set
in the propertiesMethod Detail |
---|
public final A getDefault()
DockProperties
.
public final int hashCode()
hashCode
in class Object
public final boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |