org.arakhne.neteditor.io.xml
protected static class AbstractXMLReader.ViewDescription extends Object
| Constructor and Description |
|---|
AbstractXMLReader.ViewDescription(UUID viewId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addModelObject(UUID figureId,
UUID modelObjectId)
Add model object reference in the description.
|
void |
addViewComponent(UUID figureId,
ViewComponent component,
int position)
Add view component in the description.
|
void |
coerceFigure(UUID coerciveFigure,
UUID coercedFigure,
String name)
Add a coercion link between figures.
|
Iterable<AnchorFigure<?>> |
getAnchorFigures()
Replies the anchor figures.
|
Map<UUID,Map<String,UUID>> |
getCoercions()
Replies the coercions.
|
ViewComponent |
getComponentWithId(UUID id)
Replies the view component that has the specified id.
|
Iterable<EdgeFigure<?>> |
getEdgeFigures()
Replies the edge figures.
|
Iterable<UUID> |
getLayeredFigures()
Replies the figures, one per layer.
|
UUID |
getModelObjectIdFor(UUID figureId)
Replies the identifier of the model object that should be associated
to the figure with the specified identifier.
|
Iterable<NodeFigure<?,?>> |
getNodeFigures()
Replies the node figures.
|
Iterable<Figure> |
getOtherFigures()
Replies the other types of figures.
|
UUID |
getViewId()
Replies the view id.
|
public AbstractXMLReader.ViewDescription(UUID viewId)
viewId - public UUID getViewId()
public void coerceFigure(UUID coerciveFigure, UUID coercedFigure, String name) throws IOException
coerciveFigure - coercedFigure - name - IOExceptionpublic Map<UUID,Map<String,UUID>> getCoercions()
public Iterable<UUID> getLayeredFigures()
public void addViewComponent(UUID figureId, ViewComponent component, int position)
figureId - component - position - is the position of the figure is the list of figures.public void addModelObject(UUID figureId, UUID modelObjectId)
figureId - modelObjectId - public Iterable<AnchorFigure<?>> getAnchorFigures()
public Iterable<NodeFigure<?,?>> getNodeFigures()
public Iterable<EdgeFigure<?>> getEdgeFigures()
public Iterable<Figure> getOtherFigures()
public UUID getModelObjectIdFor(UUID figureId)
figureId - public ViewComponent getComponentWithId(UUID id)
id - null.Copyright © 2001-2013 NetEditor Developers. 
NetEditor API Documentation by NetEditor Developers is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Based on a work at www.arakhne.org/neteditor