Class DependencyStyle


  • @OpenApiAll
    public class DependencyStyle
    extends java.lang.Object
    Visual style of a DependencyEntry
    See Also:
    Connection
    • Constructor Detail

      • DependencyStyle

        public DependencyStyle()
      • DependencyStyle

        public DependencyStyle​(java.awt.Color color,
                               java.awt.BasicStroke stroke,
                               int connectionTypeA,
                               @CheckForNull
                               ResizableIcon connectionIconA,
                               int connectionTypeB,
                               @CheckForNull
                               ResizableIcon connectionIconB)
        Constructor
        Parameters:
        color - line color
        stroke - line stroke
        connectionTypeB - line connection type
        See Also:
        Connection
      • DependencyStyle

        public DependencyStyle​(ResizableIcon icon)
    • Method Detail

      • getConnectionTypeB

        public int getConnectionTypeB()
      • getColor

        public java.awt.Color getColor()
      • getStroke

        public java.awt.BasicStroke getStroke()
      • getConnectionTypeA

        public int getConnectionTypeA()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object