A
- the kind of value this strategy handlespublic interface PropertyFactory<A>
PropertyKey
.Modifier and Type | Method and Description |
---|---|
A |
getDefault(PropertyKey<A> key)
Asks for the default value that should be used if no
DockProperties
are available. |
A |
getDefault(PropertyKey<A> key,
DockProperties properties)
Gets the default value for
key . |
A getDefault(PropertyKey<A> key, DockProperties properties)
key
. This method is called
only once for the combination of key
and properties
,
it can either always return the same object or create a new one every
time. The results gets stored as default value in properties
.key
- the key for which to get the defaultproperties
- the map in which the default will be storednull
is validA getDefault(PropertyKey<A> key)
DockProperties
are available.key
- the key of the propertynull