de.lmu.ifi.dbs.elki.visualization.style.lines
Interface LineStyleLibrary

All Known Implementing Classes:
DashedLineStyleLibrary, SolidLineStyleLibrary

public interface LineStyleLibrary

Interface to obtain CSS classes for plot lines. meta is a set of Objects, usually constants that may or may not be used by the LineStyleLibrary to generate variants of the style. Predefined meta flags that are usually supported are:

FLAG_STRONG
Request a "stronger" version of the same style
FLAG_WEAK
Request a "weaker" version of the same style
FLAG_INTERPOLATED
Request an "interpolated" version of the same style (e.g. lighter or dashed)


Field Summary
static String FLAG_INTERPOLATED
          Meta flag to request an 'interpolated' version of the style
static String FLAG_STRONG
          Meta flag to request a 'stronger' version of the style
static String FLAG_WEAK
          Meta flag to request a 'weaker' version of the style
 
Method Summary
 void formatCSSClass(CSSClass cls, int style, double width, Object... meta)
          Add the formatting statements to the given CSS class.
 

Field Detail

FLAG_STRONG

static final String FLAG_STRONG
Meta flag to request a 'stronger' version of the style

See Also:
Constant Field Values

FLAG_WEAK

static final String FLAG_WEAK
Meta flag to request a 'weaker' version of the style

See Also:
Constant Field Values

FLAG_INTERPOLATED

static final String FLAG_INTERPOLATED
Meta flag to request an 'interpolated' version of the style

See Also:
Constant Field Values
Method Detail

formatCSSClass

void formatCSSClass(CSSClass cls,
                    int style,
                    double width,
                    Object... meta)
Add the formatting statements to the given CSS class. Note: this can overwrite some existing properties of the CSS class.

Parameters:
cls - CSS class to modify
style - style number
width - line width
meta - meta objects to request line variants

Release 0.4.0 (2011-09-20_1324)