public abstract class AbstractCell extends Object implements Cell
Cell.CellType
Modifier and Type | Method and Description |
---|---|
void |
addNodes(List<Node> nodesToAdd) |
double |
calculateHeight(LayoutParameters layoutParam) |
String |
getFullId() |
Graph |
getGraph() |
String |
getId() |
List<Node> |
getNodes() |
int |
getNumber() |
Block |
getRootBlock() |
Cell.CellType |
getType() |
void |
removeAllNodes(List<Node> nodeToRemove) |
void |
setNodes(List<Node> nodes) |
void |
setRootBlock(Block rootBlock) |
void |
setType(Cell.CellType type) |
String |
toString() |
void |
writeJson(com.fasterxml.jackson.core.JsonGenerator generator) |
protected void |
writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calculateCoord
public void removeAllNodes(List<Node> nodeToRemove)
removeAllNodes
in interface Cell
public void setType(Cell.CellType type)
public Cell.CellType getType()
public Block getRootBlock()
getRootBlock
in interface Cell
public void setRootBlock(Block rootBlock)
setRootBlock
in interface Cell
protected void writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
IOException
public void writeJson(com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
writeJson
in interface Cell
IOException
public double calculateHeight(LayoutParameters layoutParam)
calculateHeight
in interface Cell
Copyright © 2020. All rights reserved.