Class DependencyStyle
- java.lang.Object
-
- com.nomagic.magicdraw.dependencymatrix.datamodel.cell.DependencyStyle
-
@OpenApiAll public class DependencyStyle extends java.lang.Object
Visual style of a DependencyEntry- See Also:
Connection
-
-
Field Summary
Fields Modifier and Type Field Description static DependencyStyle
DEFAULT_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 boolean
equals(java.lang.Object o)
java.awt.Color
getColor()
ResizableIcon
getConnectionIconA()
ResizableIcon
getConnectionIconB()
int
getConnectionTypeA()
int
getConnectionTypeB()
ResizableIcon
getIcon()
java.awt.BasicStroke
getStroke()
int
hashCode()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-