|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Style
Defines a style for marking a set of data. This interface currently defines only a method for drawing an example marker for use in a legend, but plot-type-specific classes will probably have to define additional methods.
Note it is essential that Style implementations provide implementations
of equals()
(and hence also of hashCode()
)
for which equality means that styles look the same as each other.
An equals
implementation based on identity (inherited
from the behaviour of Object
) will lead to poor performance
of the plotting classes.
Method Summary | |
---|---|
Icon |
getLegendIcon()
Returns an icon suitable for displaying in a legend for this style. |
Method Detail |
---|
Icon getLegendIcon()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |