Class DependencyStyle
- java.lang.Object
-
- com.nomagic.magicdraw.dependencymatrix.datamodel.cell.DependencyStyle
-
@OpenApiAll public class DependencyStyle extends java.lang.ObjectVisual style of a DependencyEntry- See Also:
Connection
-
-
Field Summary
Fields Modifier and Type Field Description static DependencyStyleDEFAULT_STYLE
-
Constructor Summary
Constructors Constructor Description DependencyStyle()DependencyStyle(ResizableIcon icon)DependencyStyle(java.awt.Color color, java.awt.BasicStroke stroke, int connectionTypeA, ResizableIcon connectionIconA, int connectionTypeB, ResizableIcon connectionIconB)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.awt.ColorgetColor()ResizableIcongetConnectionIconA()ResizableIcongetConnectionIconB()intgetConnectionTypeA()intgetConnectionTypeB()ResizableIcongetIcon()java.awt.BasicStrokegetStroke()inthashCode()
-
-
-
Field Detail
-
DEFAULT_STYLE
public static final DependencyStyle DEFAULT_STYLE
-
-
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 colorstroke- line strokeconnectionTypeB- 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()
-
getConnectionIconB
public ResizableIcon getConnectionIconB()
-
getIcon
public ResizableIcon getIcon()
-
getConnectionTypeA
public int getConnectionTypeA()
-
getConnectionIconA
public ResizableIcon getConnectionIconA()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-