public final class VoidPortStyle extends Object implements IPortStyle
This class implements the singleton pattern. Use the shared static INSTANCE
of this class instead of null
where null
is not allowed. For example you cannot assign null
to the Style
property of an IPort
.
Modifier and Type | Field and Description |
---|---|
static VoidPortStyle |
INSTANCE
The
VoidPortStyle singleton. |
Modifier and Type | Method and Description |
---|---|
VoidPortStyle |
clone()
Returns
this . |
VoidPortStyleRenderer |
getRenderer()
Yields the
VoidPortStyleRenderer instance . |
public static final VoidPortStyle INSTANCE
VoidPortStyle
singleton.public final VoidPortStyle clone()
this
.clone
in interface ICloneable
clone
in class Object
this
Object.clone()
public final VoidPortStyleRenderer getRenderer()
VoidPortStyleRenderer instance
.getRenderer
in interface IPortStyle
IPortStyle.getRenderer()