lt.monarch.chart.style
Class Styles<E extends AbstractPaintTags>

java.lang.Object
  extended by lt.monarch.chart.style.Styles<E>
All Implemented Interfaces:
java.io.Serializable, AbstractStyles<E>

public class Styles<E extends AbstractPaintTags>
extends java.lang.Object
implements AbstractStyles<E>

Collection of styles to be set by user

See Also:
Serialized Form

Constructor Summary
Constructor and Description
Styles()
          Default constructor
 
Method Summary
Modifier and Type Method and Description
protected  void finalize()
           
 PaintStyle<E> getPaintStyle()
          Gets color style object
 Style getStyle()
          Gets stylesheet
 TextStyle<E> getTextStyle()
          Gets text style object
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Styles

public Styles()
Default constructor

Method Detail

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

getPaintStyle

public PaintStyle<E> getPaintStyle()
Description copied from interface: AbstractStyles
Gets color style object

Specified by:
getPaintStyle in interface AbstractStyles<E extends AbstractPaintTags>
Returns:
color style object

getTextStyle

public TextStyle<E> getTextStyle()
Description copied from interface: AbstractStyles
Gets text style object

Specified by:
getTextStyle in interface AbstractStyles<E extends AbstractPaintTags>
Returns:
text style object

getStyle

public Style getStyle()
Description copied from interface: AbstractStyles
Gets stylesheet

Specified by:
getStyle in interface AbstractStyles<E extends AbstractPaintTags>
Returns:
stylesheet