Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.visualization.style.lines
Class SolidLineStyleLibrary

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.visualization.style.lines.SolidLineStyleLibrary
All Implemented Interfaces:
LineStyleLibrary

public class SolidLineStyleLibrary
extends Object
implements LineStyleLibrary

Line style library featuring solid lines for default styles only (combine with a color library to obtain enough classes!) LineStyleLibrary.FLAG_STRONG will result in thicker lines. LineStyleLibrary.FLAG_WEAK will result in thinner and semi-transparent lines. LineStyleLibrary.FLAG_INTERPOLATED will result in dashed lines.

Author:
Erich Schubert

Field Summary
private  ColorLibrary colors
          Reference to the color library.
 
Fields inherited from interface de.lmu.ifi.dbs.elki.visualization.style.lines.LineStyleLibrary
FLAG_INTERPOLATED, FLAG_STRONG, FLAG_WEAK
 
Constructor Summary
SolidLineStyleLibrary(StyleLibrary style)
          Constructor.
 
Method Summary
 void formatCSSClass(CSSClass cls, int style, double width, Object... flags)
          Add the formatting statements to the given CSS class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colors

private ColorLibrary colors
Reference to the color library.

Constructor Detail

SolidLineStyleLibrary

public SolidLineStyleLibrary(StyleLibrary style)
Constructor.

Parameters:
style - Style library to use.
Method Detail

formatCSSClass

public void formatCSSClass(CSSClass cls,
                           int style,
                           double width,
                           Object... flags)
Description copied from interface: LineStyleLibrary
Add the formatting statements to the given CSS class. Note: this can overwrite some existing properties of the CSS class.

Specified by:
formatCSSClass in interface LineStyleLibrary
Parameters:
cls - CSS class to modify
style - style number
width - line width
flags - meta objects to request line variants

Release 0.3 (2010-03-31_1612)