public class OPTICSColorFromStylingPolicy extends Object implements OPTICSColorAdapter
Modifier and Type | Field and Description |
---|---|
private StylingPolicy |
policy
The styling policy
|
Constructor and Description |
---|
OPTICSColorFromStylingPolicy(StylingPolicy policy)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getColorForEntry(ClusterOrderEntry<?> coe)
Get the color value for a particular cluster order entry.
|
private StylingPolicy policy
public OPTICSColorFromStylingPolicy(StylingPolicy policy)
policy
- Styling policypublic int getColorForEntry(ClusterOrderEntry<?> coe)
OPTICSColorAdapter
getColorForEntry
in interface OPTICSColorAdapter
coe
- Cluster order entry