public class GraphMap extends HashMap<GraphType,GraphBuilder> implements XMLSerializable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GraphMap(DataChannelDescriptor domain) |
| Modifier and Type | Method and Description |
|---|---|
GraphBuilder |
createGraphBuilder(GraphType type,
boolean doLayout) |
void |
encodeAsXML(XMLEncoder encoder) |
DataChannelDescriptor |
getDomain()
Returns domain
|
GraphType |
getSelectedType()
Returns type that is currently selected
|
void |
setSelectedType(GraphType selectedType)
Sets type that is currently selected
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic GraphMap(DataChannelDescriptor domain)
public DataChannelDescriptor getDomain()
public GraphType getSelectedType()
public void setSelectedType(GraphType selectedType)
public void encodeAsXML(XMLEncoder encoder)
encodeAsXML in interface XMLSerializablepublic GraphBuilder createGraphBuilder(GraphType type, boolean doLayout)
Copyright © 2001–2015 Apache Cayenne. All rights reserved.