bibliothek.gui.dock.action.actions
Interface GroupKeyGenerator<K>
- Type Parameters:
K
- the type of key generate by this class
public interface GroupKeyGenerator<K>
A converter creating keys for Dockable
s. Several Dockable
s can
have the same key. Used by a GroupedDockAction
to build groups of Dockable
s
(in each group all Dockable
s have the same key).
- Author:
- Benjamin Sigg
generateKey
K generateKey(Dockable dockable)
- Generates a new key. Every value except
null
is a valid
result.
- Parameters:
dockable
- the dockable for which a key is requested.
- Returns:
- the new key