bibliothek.gui.dock.util.property
Class DynamicPropertyFactory<A>
java.lang.Object
bibliothek.gui.dock.util.property.DynamicPropertyFactory<A>
- Type Parameters:
A
- the kind of value this factory handles
- All Implemented Interfaces:
- PropertyFactory<A>
public abstract class DynamicPropertyFactory<A>
- extends Object
- implements PropertyFactory<A>
A PropertyFactory
for a property that needs to be associated with
a single instance of a DockController
. For example a property
that has observers should be created by this factory.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicPropertyFactory
public DynamicPropertyFactory()
getDefault
public A getDefault(PropertyKey<A> key)
- Description copied from interface:
PropertyFactory
- Asks for the default value that should be used if no
DockProperties
are available.
- Specified by:
getDefault
in interface PropertyFactory<A>
- Parameters:
key
- the key of the property
- Returns:
- the default value, can be
null