Class Depict<T extends Entity>

    • Field Detail

      • DEFAULT_COLOR

        public static javafx.scene.paint.Color DEFAULT_COLOR
      • DEFAULT_COLOR_WITH_ROWS_INFO

        public static javafx.scene.paint.Color DEFAULT_COLOR_WITH_ROWS_INFO
      • entity

        public final T extends Entity entity
    • Constructor Detail

      • Depict

        public Depict​(Diagram<T> diagram,
                      T entity)
    • Method Detail

      • getEntity

        public T getEntity()
        Specified by:
        getEntity in interface Unit
      • setLocation

        public void setLocation​(int x,
                                int y)
      • moveTo

        public void moveTo​(int x,
                           int y)
        Specified by:
        moveTo in interface Depictable
      • translate

        public void translate​(int dx,
                              int dy)
        Specified by:
        translate in interface Depictable
      • setSize

        public void setSize​(int width,
                            int height)
      • isGroupFree

        public boolean isGroupFree()
      • setGroupFree

        public void setGroupFree​(boolean groupFree)
      • setAttributeVisible

        public void setAttributeVisible​(Attribute attr,
                                        boolean visible)
      • hideAllAttributes

        public void hideAllAttributes()
      • showAllAttributes

        public void showAllAttributes()
      • getVisibleAttributes

        public java.util.List<? extends Attribute> getVisibleAttributes()
      • getHiddenAttributes

        public java.util.List<? extends Attribute> getHiddenAttributes()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getNameWidth

        public int getNameWidth​(boolean fullQualified)
      • hasHiddenAttributes

        public boolean hasHiddenAttributes()
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Unit
      • getSymbolicName

        public java.lang.String getSymbolicName()
        Specified by:
        getSymbolicName in interface Unit
      • markForDeletion

        public void markForDeletion()
        Specified by:
        markForDeletion in interface Unit
      • setComment

        public void setComment​(java.lang.String comment)
        Specified by:
        setComment in interface Unit
      • getComment

        public java.lang.String getComment()
        Specified by:
        getComment in interface Unit
      • setColor

        public void setColor​(javafx.scene.paint.Color color)
      • getColor

        public javafx.scene.paint.Color getColor()
      • hideColumnsIfDepictIsLarge

        public void hideColumnsIfDepictIsLarge()
      • hideFunctionalColumns

        public void hideFunctionalColumns()
      • getGlobalCost

        public double getGlobalCost​(java.lang.String otherName)
        Specified by:
        getGlobalCost in interface Depictable