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 private java.awt.Color
color
private ResizableIcon
connectionIconA
private ResizableIcon
connectionIconB
private int
connectionTypeA
private int
connectionTypeB
static DependencyStyle
DEFAULT_STYLE
private ResizableIcon
icon
private java.awt.BasicStroke
stroke
-
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()
private void
init()
-
-
-
Field Detail
-
DEFAULT_STYLE
public static final DependencyStyle DEFAULT_STYLE
-
color
private java.awt.Color color
-
stroke
private java.awt.BasicStroke stroke
-
icon
private ResizableIcon icon
-
connectionTypeA
private int connectionTypeA
-
connectionIconA
private ResizableIcon connectionIconA
-
connectionTypeB
private int connectionTypeB
-
connectionIconB
private ResizableIcon connectionIconB
-
-
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
-
init
private void init()
-
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
-
-