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 Dockables. Several Dockables can have the same key. Used by a GroupedDockAction to build groups of Dockables (in each group all Dockables have the same key).

Author:
Benjamin Sigg

Method Summary
 K generateKey(Dockable dockable)
          Generates a new key.
 

Method Detail

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