public class ColourCodingImpl extends java.lang.Object implements ColourCoding
Type | Property and Description |
---|---|
org.processmining.plugins.properties.processmodel.Property<?> |
colours |
Constructor and Description |
---|
ColourCodingImpl(org.processmining.plugins.properties.processmodel.Property<?> property,
java.lang.Double relWidth,
boolean independent) |
Modifier and Type | Method and Description |
---|---|
org.processmining.plugins.properties.processmodel.Property<?> |
coloursProperty() |
java.awt.Color |
giveColour(ProcessTree tree,
Node n) |
double |
giveRelWidth() |
boolean |
isIndependent() |
public org.processmining.plugins.properties.processmodel.Property<?> coloursProperty
coloursProperty
in interface ColourCoding
public ColourCodingImpl(org.processmining.plugins.properties.processmodel.Property<?> property, java.lang.Double relWidth, boolean independent)
public java.awt.Color giveColour(ProcessTree tree, Node n) throws java.lang.InstantiationException, java.lang.IllegalAccessException
giveColour
in interface ColourCoding
java.lang.InstantiationException
java.lang.IllegalAccessException
public double giveRelWidth()
public org.processmining.plugins.properties.processmodel.Property<?> coloursProperty()
coloursProperty
in interface ColourCoding
public boolean isIndependent()
isIndependent
in interface ColourCoding