public interface Block
Modifier and Type | Interface and Description |
---|---|
static class |
Block.Extremity |
static class |
Block.Type |
Modifier and Type | Method and Description |
---|---|
void |
calculateCoord(LayoutParameters layoutParam)
Calculates all the blocks dimensions and find the order of the layout.block inside
the cell
|
void |
calculateRootCoord(LayoutParameters layoutParam) |
void |
coordHorizontalCase(LayoutParameters layoutParam) |
void |
coordVerticalCase(LayoutParameters layoutParam) |
int |
getCardinality(Block.Extremity extremity) |
int |
getCardinality(Node commonNode) |
Cell |
getCell() |
Coord |
getCoord() |
Node |
getEndingNode() |
Block.Extremity |
getExtremity(Node node) |
Node |
getExtremityNode(Block.Extremity extremity) |
Graph |
getGraph() |
int |
getOrder() |
Position |
getPosition() |
Node |
getStartingNode() |
Block.Type |
getType() |
boolean |
isEmbedingNodeType(Node.NodeType type) |
void |
reverseBlock() |
void |
setCardinality(Block.Extremity extremity,
int i) |
void |
setCell(Cell cell) |
void |
setOrientation(Orientation orientation) |
void |
setParentBlock(Block parentBlock) |
void |
setX(double x) |
void |
setXSpan(double xSpan) |
void |
setY(double y) |
void |
setYSpan(double ySpan) |
void |
sizing()
Calculate maximal pxWidth that layout.block can use in a cell without modifying
root pxWidth
|
void |
writeJson(com.fasterxml.jackson.core.JsonGenerator generator) |
Graph getGraph()
Node getExtremityNode(Block.Extremity extremity)
Block.Extremity getExtremity(Node node)
Node getStartingNode()
Node getEndingNode()
void reverseBlock()
boolean isEmbedingNodeType(Node.NodeType type)
void setParentBlock(Block parentBlock)
Position getPosition()
Coord getCoord()
void setXSpan(double xSpan)
void setYSpan(double ySpan)
void setX(double x)
void setY(double y)
void sizing()
void calculateCoord(LayoutParameters layoutParam)
void calculateRootCoord(LayoutParameters layoutParam)
int getOrder()
void coordVerticalCase(LayoutParameters layoutParam)
void coordHorizontalCase(LayoutParameters layoutParam)
void setCardinality(Block.Extremity extremity, int i)
int getCardinality(Block.Extremity extremity)
int getCardinality(Node commonNode)
void setCell(Cell cell)
Cell getCell()
void setOrientation(Orientation orientation)
Block.Type getType()
void writeJson(com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
IOException
Copyright © 2019. All rights reserved.