Interface Block

    • Method Detail

      • getStartingNode

        Node getStartingNode()
      • getEndingNode

        Node getEndingNode()
      • reverseBlock

        void reverseBlock()
      • isEmbeddingNodeType

        boolean isEmbeddingNodeType​(Node.NodeType type)
      • findBlockEmbeddingNode

        List<Block> findBlockEmbeddingNode​(Node node)
      • setParentBlock

        void setParentBlock​(Block parentBlock)
      • getCoord

        Coord getCoord()
      • sizing

        void sizing()
        Calculate maximal pxWidth that layout.block can use in a cell without modifying root pxWidth
      • getOrder

        default int getOrder()
        Calculates all the blocks dimensions and find the order of the layout.block inside the cell
      • setCardinality

        void setCardinality​(Block.Extremity extremity,
                            int i)
      • getCardinality

        int getCardinality​(Node commonNode)
      • setOrientation

        void setOrientation​(Orientation orientation)
      • setOrientation

        void setOrientation​(Orientation orientation,
                            boolean recursively)
      • writeJson

        void writeJson​(com.fasterxml.jackson.core.JsonGenerator generator,
                       boolean includeCoordinates)
                throws IOException
        Throws:
        IOException