|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.util.DataProviders.DataProviderOverlayManager
public static class DataProviders.DataProviderOverlayManager
This helper class can be used to overlay DataProvider
s registered at a graph
with another DataProvider
.
Constructor Summary | |
---|---|
DataProviders.DataProviderOverlayManager(Graph graph)
Creates a data provider overlay for the given graph instance. |
Method Summary | |
---|---|
void |
addDataProvider(java.lang.Object dataProviderKey,
DataProvider newDataProvider)
Adds the given DataProvider under the given key to the graph. |
void |
restoreOriginalDataProviders()
Restores all DataProvider bindings that have been changed using {addDataProvider(Object, DataProvider) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataProviders.DataProviderOverlayManager(Graph graph)
Method Detail |
---|
public void addDataProvider(java.lang.Object dataProviderKey, DataProvider newDataProvider)
DataProvider
under the given key to the graph. Stores the previously set
DataProvider instance so it can be restored at a later time using method {restoreOriginalDataProviders()
.
public void restoreOriginalDataProviders()
DataProvider
bindings that have been changed using {addDataProvider(Object, DataProvider)
.
Calling this method resets the state its state.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |