|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.moeaframework.analysis.diagnostics.PaintHelper
public class PaintHelper
Helper class for maintaining a mapping from series in a plot to their
assigned paint. If the series has not yet been assigned a paint, one will
be automatically assigned when invoking get(Comparable).
| Constructor Summary | |
|---|---|
PaintHelper()
Constructs a new paint helper with no assigned paints. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears all paint assignments from this paint helper. |
Paint |
get(Comparable<?> key)
Returns the paint used by the specified series key. |
void |
set(Comparable<?> key,
Paint paint)
Assigns a paint for the specified series key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PaintHelper()
| Method Detail |
|---|
public Paint get(Comparable<?> key)
key - the series key
public void set(Comparable<?> key,
Paint paint)
get(Comparable) with this series key will return the
specified paint.
key - the series keypaint - the paint to be used for the specified series keypublic void clear()
|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||