JRubik v0.6

es.aeat.eett.plugins.chart
Class ConfiTitle

java.lang.Object
  extended byes.aeat.eett.plugins.chart.ConfiTitle
All Implemented Interfaces:
Confi

class ConfiTitle
extends java.lang.Object
implements Confi

Author:
f00992

Field Summary
(package private) static java.lang.String KEY_CONFI_TITLE
           
(package private) static java.lang.String KEY_SHOW_TITLE
           
(package private) static java.lang.String KEY_TITLE
           
private  boolean showTitle
          Whether or not to display the title on the chart.
private  java.lang.String title
          The title to set.
private  java.awt.Color titleColor
          The paint (color) used to draw the title.
private  java.awt.Font titleFont
          The font used to draw the title.
 
Constructor Summary
(package private) ConfiTitle()
           
 
Method Summary
 org.jdom.Element getRootElement()
           
(package private)  java.lang.String getTitle()
           
(package private)  java.awt.Color getTitleColor()
           
(package private)  java.awt.Font getTitleFont()
           
(package private)  boolean isShowTitle()
           
 void load(org.jfree.chart.JFreeChart chart)
          Carga, guarda, la configuracion del grafico
 boolean loadRootElement(org.jdom.Element eRoot)
           
 void restore(org.jfree.chart.JFreeChart chart)
          Restaura, aplica, la configuracion al grafico;
(package private)  void setShowTitle(boolean showTitle)
           
(package private)  void setTitle(java.lang.String title)
           
(package private)  void setTitleColor(java.awt.Color titleColor)
           
(package private)  void setTitleFont(java.awt.Font titleFont)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_CONFI_TITLE

static final java.lang.String KEY_CONFI_TITLE
See Also:
Constant Field Values

KEY_SHOW_TITLE

static final java.lang.String KEY_SHOW_TITLE
See Also:
Constant Field Values

KEY_TITLE

static final java.lang.String KEY_TITLE
See Also:
Constant Field Values

showTitle

private boolean showTitle
Whether or not to display the title on the chart.


title

private java.lang.String title
The title to set.


titleFont

private java.awt.Font titleFont
The font used to draw the title.


titleColor

private java.awt.Color titleColor
The paint (color) used to draw the title.

Constructor Detail

ConfiTitle

ConfiTitle()
Method Detail

loadRootElement

public boolean loadRootElement(org.jdom.Element eRoot)
Specified by:
loadRootElement in interface Confi

getRootElement

public org.jdom.Element getRootElement()
Specified by:
getRootElement in interface Confi

load

public void load(org.jfree.chart.JFreeChart chart)
Description copied from interface: Confi
Carga, guarda, la configuracion del grafico

Specified by:
load in interface Confi
Parameters:
chart -

restore

public void restore(org.jfree.chart.JFreeChart chart)
Description copied from interface: Confi
Restaura, aplica, la configuracion al grafico;

Specified by:
restore in interface Confi
Parameters:
chart -

isShowTitle

boolean isShowTitle()
Returns:
Returns the showTitle.

setShowTitle

void setShowTitle(boolean showTitle)
Parameters:
showTitle - The showTitle to set.

getTitle

java.lang.String getTitle()
Returns:
Returns the title.

setTitle

void setTitle(java.lang.String title)
Parameters:
title - The title to set.

getTitleColor

java.awt.Color getTitleColor()
Returns:
Returns the titleColor.

setTitleColor

void setTitleColor(java.awt.Color titleColor)
Parameters:
titleColor - The titleColor to set.

getTitleFont

java.awt.Font getTitleFont()
Returns:
Returns the titleFont.

setTitleFont

void setTitleFont(java.awt.Font titleFont)
Parameters:
titleFont - The titleFont to set.

JRubik v0.6

JRubik v0.6