Class PathEndRenderer
- java.lang.Object
-
- com.nomagic.magicdraw.uml.symbols.paths.PathEndRenderer
-
@OpenApiAll public class PathEndRenderer extends java.lang.Object
Renders the end of the path. Allows to specifie custom adorment for the path end (e.g. path with arrow at the end or specific icon on the end).- See Also:
PathElementRenderer
-
-
Field Summary
Fields Modifier and Type Field Description private ResizableIcon
mIcon
private int
mStyle
-
Constructor Summary
Constructors Constructor Description PathEndRenderer(PathEndAdornment adornment)
Constructor.PathEndRenderer(PathEndAdornment adornment, PathEndAdornmentModifier modifier)
Constructor.PathEndRenderer(ResizableIcon icon)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResizableIcon
getIcon()
return path end iconint
getStyle()
return path end style
-
-
-
Field Detail
-
mStyle
private int mStyle
-
mIcon
private ResizableIcon mIcon
-
-
Constructor Detail
-
PathEndRenderer
public PathEndRenderer(PathEndAdornment adornment, @CheckForNull PathEndAdornmentModifier modifier)
Constructor. The specified end adornment with modifier will be used to render the path end.- Parameters:
adornment
- predefined end adornment.modifier
- adornment modifier.- See Also:
PathEndAdornment
,PathEndAdornmentModifier
-
PathEndRenderer
public PathEndRenderer(PathEndAdornment adornment)
Constructor. The specified end adornment will be used to render the path end.- Parameters:
adornment
- predefined end adornment.- See Also:
PathEndAdornment
-
PathEndRenderer
public PathEndRenderer(ResizableIcon icon)
Constructor. The specified icon will be used to render the path end.- Parameters:
icon
- end adornment icon.- See Also:
ImageHelper.createResizableIcon(java.net.URL, com.nomagic.ui.ImageFormat)
,ImageHelper.createResizableIcon(java.awt.Image)
-
-
Method Detail
-
getStyle
public final int getStyle()
return path end style
-
getIcon
public final ResizableIcon getIcon()
return path end icon
-
-