public class DelegateMap extends Object implements Iterable<AbstractEditorDelegate<?,?>>
Modifier and Type | Class and Description |
---|---|
static interface |
DelegateMap.KeyMethod
Defines an equivalence relationship to allow objects with non-identity
equality to be used as data keys.
|
Modifier and Type | Field and Description |
---|---|
static DelegateMap.KeyMethod |
IDENTITY |
Modifier and Type | Method and Description |
---|---|
List<AbstractEditorDelegate<?,?>> |
get(Object object) |
List<AbstractEditorDelegate<?,?>> |
getDelegatesByPath(String path)
Returns a list of EditorDelegates available at a particular absolute path.
|
List<Editor<?>> |
getEditorByPath(String path)
Returns a list of Editors available at a particular absolute path.
|
List<AbstractEditorDelegate<?,?>> |
getRaw(Object key)
Accesses the delegate map without using the KeyMethod.
|
Iterator<AbstractEditorDelegate<?,?>> |
iterator() |
static DelegateMap |
of(EditorDriver<?> driver,
DelegateMap.KeyMethod key) |
public static final DelegateMap.KeyMethod IDENTITY
public static DelegateMap of(EditorDriver<?> driver, DelegateMap.KeyMethod key)
public List<AbstractEditorDelegate<?,?>> get(Object object)
public List<AbstractEditorDelegate<?,?>> getDelegatesByPath(String path)
public List<Editor<?>> getEditorByPath(String path)
public List<AbstractEditorDelegate<?,?>> getRaw(Object key)
public Iterator<AbstractEditorDelegate<?,?>> iterator()
iterator
in interface Iterable<AbstractEditorDelegate<?,?>>
Copyright © 2016. All rights reserved.