Class AbstractDiagram

  • Direct Known Subclasses:
    Diagram

    public abstract class AbstractDiagram
    extends java.lang.Object
    • Constructor Detail

      • AbstractDiagram

        public AbstractDiagram()
    • Method Detail

      • addPainterListener

        public void addPainterListener​(PainterListener listener)
      • fireStatusChange

        public void fireStatusChange()
      • findRelations

        public java.util.List<Relation> findRelations​(int x,
                                                      int y,
                                                      boolean overRelationName)
        Tries to detect which relation goes on this cell.
        Parameters:
        x - of the cell to check
        y - of the cell to check
        overRelationName - to use
        Returns:
        fond relations
      • highlightLine

        public int highlightLine​(Relation rel,
                                 boolean sel,
                                 boolean hghl)
        Highlight a relation line
        Parameters:
        rel - to highlight
        sel - selected
        hghl - highgligh
        Returns:
        cellCount
      • isLineBeside

        public int isLineBeside​(int x,
                                int y,
                                int dirSide)
      • getTerminator

        public Terminator getTerminator​(int pixel)
      • relationIsDrawn

        public boolean relationIsDrawn​(Relation rel)
      • isArrowOnEndMarker

        public boolean isArrowOnEndMarker​(Relation rel)
      • debugCell

        public java.lang.String debugCell​(int x,
                                          int y,
                                          boolean html)