com.rapidminer.operator.visualization
Class LiftParetoChart

java.lang.Object
  extended by com.rapidminer.operator.AbstractIOObject
      extended by com.rapidminer.operator.ResultObjectAdapter
          extended by com.rapidminer.operator.visualization.LiftParetoChart
All Implemented Interfaces:
IOObject, ResultObject, Renderable, Reportable, LoggingHandler, java.io.Serializable

public class LiftParetoChart
extends ResultObjectAdapter
implements Renderable

This object can usually not be passed to other operators but can simply be used for the inline visualization of a Lift Pareto chart (without a dialog).

Author:
Ingo Mierswa
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.rapidminer.operator.AbstractIOObject
AbstractIOObject.InputStreamProvider
 
Constructor Summary
LiftParetoChart(SimpleDataTable liftChartData, java.lang.String targetValue, boolean showBarLabels, boolean showCumulativeLabels, boolean rotateLabels)
           
 
Method Summary
 void finishRendering()
          Will be invoked directly after rendering and gives the object the chance to perform some clean-up.
 java.lang.String getExtension()
           
 java.lang.String getFileDescription()
           
 DataTable getLiftChartData()
           
 java.lang.String getName()
          The default implementation returns the classname without package.
 int getRenderHeight(int preferredHeight)
          This method return the pixel height the rendering needs
 int getRenderWidth(int preferredWidth)
          This method returns the pixel width the rendering needs
 java.lang.String getTargetValue()
           
 void prepareRendering()
          Will be invoked before rendering and even before render width and height retrieval.
 void render(java.awt.Graphics graphics, int width, int height)
          This method paints the visual representation onto the given graphics
 boolean rotateLabels()
           
 boolean showBarLabels()
           
 boolean showCumulativeLabels()
           
 java.lang.String toString()
           
 
Methods inherited from class com.rapidminer.operator.ResultObjectAdapter
addAction, getActions, getAnnotations, getResultIcon, log, log, logError, logNote, logWarning, toHTML, toResultString
 
Methods inherited from class com.rapidminer.operator.AbstractIOObject
appendOperatorToHistory, copy, getLog, getProcessingHistory, getSource, initWriting, read, read, read, read, setLoggingHandler, setSource, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.rapidminer.operator.IOObject
appendOperatorToHistory, copy, getLog, getProcessingHistory, getSource, setLoggingHandler, setSource, write
 

Constructor Detail

LiftParetoChart

public LiftParetoChart(SimpleDataTable liftChartData,
                       java.lang.String targetValue,
                       boolean showBarLabels,
                       boolean showCumulativeLabels,
                       boolean rotateLabels)
Method Detail

getLiftChartData

public DataTable getLiftChartData()

getTargetValue

public java.lang.String getTargetValue()

showBarLabels

public boolean showBarLabels()

showCumulativeLabels

public boolean showCumulativeLabels()

rotateLabels

public boolean rotateLabels()

getName

public java.lang.String getName()
Description copied from class: ResultObjectAdapter
The default implementation returns the classname without package.

Specified by:
getName in interface ResultObject
Overrides:
getName in class ResultObjectAdapter

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getExtension

public java.lang.String getExtension()

getFileDescription

public java.lang.String getFileDescription()

prepareRendering

public void prepareRendering()
Description copied from interface: Renderable
Will be invoked before rendering and even before render width and height retrieval.

Specified by:
prepareRendering in interface Renderable

finishRendering

public void finishRendering()
Description copied from interface: Renderable
Will be invoked directly after rendering and gives the object the chance to perform some clean-up.

Specified by:
finishRendering in interface Renderable

getRenderHeight

public int getRenderHeight(int preferredHeight)
Description copied from interface: Renderable
This method return the pixel height the rendering needs

Specified by:
getRenderHeight in interface Renderable
Parameters:
preferredHeight - tells the renderable of the size it should deliver best
Returns:
the pixel height

getRenderWidth

public int getRenderWidth(int preferredWidth)
Description copied from interface: Renderable
This method returns the pixel width the rendering needs

Specified by:
getRenderWidth in interface Renderable
Parameters:
preferredWidth - tells the renderable of the size it should deliver best
Returns:
the pixel width

render

public void render(java.awt.Graphics graphics,
                   int width,
                   int height)
Description copied from interface: Renderable
This method paints the visual representation onto the given graphics

Specified by:
render in interface Renderable
Parameters:
graphics - the graphics to render onto


Copyright © 2001-2009 by Rapid-I