public class KeyHandler extends Object
Component
s global keys for a ComponentTree
. It provides
methods for detecting duplicate keys and logging duplicate key occurences.Constructor and Description |
---|
KeyHandler(ComponentsLogger logger) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasKey(String key)
Returns true if this KeyHandler has already recorded a component with the given key.
|
void |
registerKey(Component component) |
public KeyHandler(@Nullable ComponentsLogger logger)