|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.rapidminer.gui.plotter.PlotterAdapter
public abstract class PlotterAdapter
This adapter class can be used for simple plotter implementation which only need to overwrite the methods
they need. Most method implementations are rather restrictive and need to be overwritten for the more
sophisticated plotter possibilities. The complete plotting has to be done in the paintComponent(Graphics)
method (which must be invoked by super.paintComponent in order to get the correct color schemes),
plotter updates should be intitiated by invoking Component.repaint().
Subclasses should at least react to setDataTable(DataTable) in order to properly update
the plotter. Another method usually overridden is setPlotColumn(int, boolean). Other overridden
methods might include the methods for plot column and axis column handling.
| Nested Class Summary | |
|---|---|
protected static class |
PlotterAdapter.EllipsoidPointStyle
The point style that should be used for plotting points. |
protected static class |
PlotterAdapter.LineColorIcon
This icon is displayed before the columns to indicate the color and line style (as a legend or key). |
protected static class |
PlotterAdapter.LineStyle
The line style that should be used for plotting lines. |
protected static class |
PlotterAdapter.LineStyleIcon
This icon is displayed before the columns to indicate the color and line style (as a legend or key). |
protected static interface |
PlotterAdapter.PointStyle
The point style that should be used for plotting points. |
protected static class |
PlotterAdapter.RectanglePointStyle
The point style that should be used for plotting points. |
protected static class |
PlotterAdapter.StarPointStyle
The point style that should be used for plotting points. |
protected static class |
PlotterAdapter.TriangularPointStyle
The point style that should be used for plotting points. |
protected static class |
PlotterAdapter.TurnedTriangularPointStyle
The point style that should be used for plotting points. |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
javax.swing.JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
javax.swing.JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected static PlotterAdapter.PointStyle |
ELLIPSOID_POINT_STYLE
|
protected static java.awt.Color |
GRID_COLOR
|
protected static PlotterAdapter.PointStyle[] |
KNOWN_POINT_STYLES
|
static java.awt.Font |
LABEL_FONT
|
static java.awt.Font |
LABEL_FONT_BOLD
|
protected static java.awt.Color[] |
LINE_COLORS
|
protected static java.awt.Stroke[] |
LINE_STROKES
|
protected static javax.swing.Icon[] |
LINE_STYLE_ICONS
|
protected static PlotterAdapter.LineStyle[] |
LINE_STYLES
|
static int |
MARGIN
|
protected static PlotterAdapter.PointStyle[] |
POINT_STYLES
|
static double |
POINTSIZE
|
protected static PlotterAdapter.PointStyle |
RECTANGLE_POINT_STYLE
|
protected static PlotterAdapter.PointStyle |
STAR_POINT_STYLE
|
protected static java.awt.Color |
TOOLTIP_COLOR
|
protected static PlotterAdapter.PointStyle |
TRIANGUALAR_POINT_STYLE
|
protected static PlotterAdapter.PointStyle |
TURNED_TRIANGUALAR_POINT_STYLE
|
static int |
WEIGHT_BORDER_WIDTH
|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface com.rapidminer.gui.plotter.Plotter |
|---|
MULTIPLE_SELECTION, NO_SELECTION, SINGLE_SELECTION |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
PlotterAdapter()
|
|
| Method Summary | |
|---|---|
boolean |
canHandleContinousJittering()
Indicates if the jittering can be handled continously. |
boolean |
canHandleJitter()
Returns false. |
boolean |
canHandleZooming()
Returns false. |
void |
dataTableUpdated(DataTable source)
Invokes Component.repaint(). |
protected void |
drawGenericNominalLegend(java.awt.Graphics graphics,
java.lang.String[] names,
PlotterAdapter.PointStyle[] pointStyles,
java.awt.Color[] colors,
int xOffset,
int alpha)
|
protected void |
drawLegend(java.awt.Graphics graphics,
DataTable table,
int legendColumn)
This method can be used to draw a legend on the given graphics context. |
protected void |
drawLegend(java.awt.Graphics graphics,
DataTable table,
int legendColumn,
int xOffset,
int alpha)
This method can be used to draw a legend on the given graphics context. |
void |
drawNumericalLegend(java.awt.Graphics graphics,
int width,
java.lang.String minColorString,
java.lang.String maxColorString,
int alpha)
This method can be used to draw a legend on the given graphics context. |
protected void |
drawPoint(java.awt.Graphics2D g,
double x,
double y,
java.awt.Color color,
java.awt.Color borderColor)
This helper method can be used to draw a point in the given graphics object. |
protected void |
drawPoint(java.awt.Graphics2D g,
PlotterAdapter.PointStyle pointStyle,
double x,
double y,
java.awt.Color color,
java.awt.Color borderColor)
This helper method can be used to draw a point in the given graphics object. |
void |
drawSimpleDateLegend(java.awt.Graphics graphics,
int x,
int y,
DataTable table,
int legendColumn,
double min,
double max)
|
void |
drawSimpleNumericalLegend(java.awt.Graphics graphics,
int x,
int y,
java.lang.String minColorString,
java.lang.String maxColorString)
This method can be used to draw a legend on the given graphics context. |
protected void |
drawToolTip(java.awt.Graphics2D g,
ToolTip toolTip)
|
protected void |
drawWeightRectangle(java.awt.Graphics2D newSpace,
DataTable dataTable,
int column,
double maxWeight,
int plotterSize)
|
void |
finishRendering()
Do nothing. |
void |
forcePlotGeneration()
This default implementation does nothing. |
java.util.List<ParameterType> |
getAdditionalParameterKeys()
The default implementation delivers an empty set. |
int |
getAxis(int axis)
Returns -1. |
java.lang.String |
getAxisName(int index)
Returns null. |
ColorProvider |
getColorProvider()
|
javax.swing.Icon |
getIcon(int index)
Returns a line icon depending on the index. |
java.lang.String |
getIdForPos(int x,
int y)
Returns null. |
int |
getInitialZoomFactor()
Returns 1. |
protected double |
getMaxWeight(DataTable dataTable)
|
int |
getNumberOfAxes()
Returns 0. |
protected int |
getNumberOfPlots(DataTable table)
|
protected double |
getNumericalTicSize(double min,
double max)
|
javax.swing.JComponent |
getOptionsComponent(int index)
Returns null. |
java.util.List<ParameterType> |
getParameterTypes()
Returns the list of parameter types supported by this plotter for setting from outside. |
boolean |
getPlotColumn(int dimension)
Returns false. |
java.lang.String |
getPlotName()
Returns null. |
javax.swing.JComponent |
getPlotter()
Returns this. |
PlotterCondition |
getPlotterCondition()
Returns a BasicPlotterCondition allowing for all DataTables. |
java.lang.String |
getPlotterName()
Returns the name of this plotter. |
protected PlotterAdapter.PointStyle |
getPointStyle(int styleIndex)
|
java.awt.geom.Point2D |
getPositionInDataSpace(java.awt.Point p)
Returns null. |
java.awt.Dimension |
getPreferredSize()
|
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 |
protected double |
getTicSize(DataTable dataTable,
int column,
double min,
double max)
|
int |
getValuePlotSelectionType()
Returns Plotter.SINGLE_SELECTION. |
static java.awt.Color |
getWeightColor(double weight,
double maxWeight)
Returns a color for the given weight. |
boolean |
hasOptionsDialog()
Returns false. |
boolean |
hasSaveImageButton()
Returns false. |
boolean |
isProvidingCoordinates()
Returns false. |
boolean |
isSaveable()
Returns false. |
boolean |
isSupportingAbsoluteValues()
Returns false. |
boolean |
isSupportingLogScale(int axis)
Returns true if a log scale for this column is supported. |
boolean |
isSupportingLogScaleForPlotColumns()
Returns true if a log scale for the plot columns is supported. |
boolean |
isSupportingSorting()
Returns false. |
void |
paintComponent(java.awt.Graphics g)
Invokes super method and sets correct color schemes. |
void |
prepareRendering()
Invokes force plot generation. |
void |
render(java.awt.Graphics graphics,
int width,
int height)
This method paints the visual representation onto the given graphics |
void |
save()
Does nothing. |
void |
setAbsolute(boolean absolute)
Does nothing. |
void |
setAdditionalParameter(java.lang.String key,
java.lang.String value)
The default implementation does nothing. |
void |
setAxis(int plotterAxis,
int dimension)
Does nothing. |
void |
setDataTable(DataTable dataTable)
Does nothing. |
void |
setDragBounds(int x,
int y,
int w,
int h)
Does nothing. |
void |
setDrawRange(double x,
double y,
double w,
double h)
Does nothing. |
void |
setJitter(int jitter)
Does nothing. |
void |
setKey(java.lang.String key)
Does nothing. |
void |
setLogScale(int axis,
boolean logScale)
Sets if the given axis should be plotted with log scale. |
void |
setLogScaleForPlotColumns(boolean logScale)
Sets if the plot columns should be plotted with log scale. |
void |
setMousePosInDataSpace(int mouseX,
int mouseY)
Does nothing. |
void |
setParameter(DataTable dataTable,
java.lang.String key,
java.lang.Object value)
Sets the given parameter. |
void |
setPlotColumn(int dimension,
boolean plot)
Does nothing. |
void |
setSorting(boolean sorting)
Does nothing. |
void |
setZooming(int zooming)
Does nothing. |
void |
showOptionsDialog()
Does nothing. |
void |
stopUpdates(boolean value)
This default implementation does nothing. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
|---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rapidminer.gui.plotter.Plotter |
|---|
addMouseListener, addMouseMotionListener |
| Field Detail |
|---|
public static final double POINTSIZE
public static final int MARGIN
public static final int WEIGHT_BORDER_WIDTH
public static final java.awt.Font LABEL_FONT_BOLD
public static final java.awt.Font LABEL_FONT
protected static final java.awt.Color GRID_COLOR
protected static final java.awt.Color TOOLTIP_COLOR
protected static final PlotterAdapter.PointStyle ELLIPSOID_POINT_STYLE
protected static final PlotterAdapter.PointStyle RECTANGLE_POINT_STYLE
protected static final PlotterAdapter.PointStyle TRIANGUALAR_POINT_STYLE
protected static final PlotterAdapter.PointStyle TURNED_TRIANGUALAR_POINT_STYLE
protected static final PlotterAdapter.PointStyle STAR_POINT_STYLE
protected static final java.awt.Color[] LINE_COLORS
protected static final PlotterAdapter.PointStyle[] KNOWN_POINT_STYLES
protected static final java.awt.Stroke[] LINE_STROKES
protected static final PlotterAdapter.LineStyle[] LINE_STYLES
protected static final PlotterAdapter.PointStyle[] POINT_STYLES
protected static final javax.swing.Icon[] LINE_STYLE_ICONS
| Constructor Detail |
|---|
public PlotterAdapter()
| Method Detail |
|---|
public java.lang.String getPlotterName()
Plotter
getPlotterName in interface Plotterpublic void forcePlotGeneration()
forcePlotGeneration in interface Plotterpublic void stopUpdates(boolean value)
stopUpdates in interface Plotterpublic void paintComponent(java.awt.Graphics g)
paintComponent in class javax.swing.JComponentpublic boolean canHandleJitter()
setJitter(int).
canHandleJitter in interface Plotterpublic boolean canHandleContinousJittering()
Plotter
canHandleContinousJittering in interface Plotterpublic boolean canHandleZooming()
setZooming(int).
canHandleZooming in interface Plotterpublic int getAxis(int axis)
getAxisName(int),
setAxis(int, int), and getNumberOfAxes().
getAxis in interface Plotterpublic java.lang.String getAxisName(int index)
getAxis(int),
setAxis(int, int), and getNumberOfAxes().
getAxisName in interface Plotterpublic javax.swing.Icon getIcon(int index)
getIcon in interface Plotter
public java.lang.String getIdForPos(int x,
int y)
getIdForPos in interface Plotterpublic int getInitialZoomFactor()
getInitialZoomFactor in interface Plotterpublic int getNumberOfAxes()
getAxisName(int),
setAxis(int, int), and getAxis(int).
getNumberOfAxes in interface Plotterpublic javax.swing.JComponent getOptionsComponent(int index)
getOptionsComponent in interface Plotterpublic boolean getPlotColumn(int dimension)
getPlotColumn in interface Plotterpublic java.lang.String getPlotName()
getPlotName in interface Plotterpublic javax.swing.JComponent getPlotter()
Plotter.
getPlotter in interface Plotterpublic PlotterCondition getPlotterCondition()
BasicPlotterCondition allowing for all DataTables. Subclasses
should override this method in order to indicate that they might not be able to handle
certain data tables.
getPlotterCondition in interface Plotterpublic java.awt.geom.Point2D getPositionInDataSpace(java.awt.Point p)
isProvidingCoordinates(), too.
getPositionInDataSpace in interface Plotterpublic int getValuePlotSelectionType()
Plotter.SINGLE_SELECTION. Subclasses might override this method and return
Plotter.NO_SELECTION or Plotter.MULTIPLE_SELECTION.
getValuePlotSelectionType in interface Plotterpublic boolean hasOptionsDialog()
hasOptionsDialog in interface Plotterpublic boolean hasSaveImageButton()
hasSaveImageButton in interface Plotterpublic boolean isProvidingCoordinates()
getPositionInDataSpace(Point).
isProvidingCoordinates in interface Plotterpublic boolean isSaveable()
save() should also be overridden.
isSaveable in interface Plotterpublic void save()
isSaveable().
save in interface Plotter
public void setAxis(int plotterAxis,
int dimension)
getAxis(int),
getAxisName(int), and getNumberOfAxes().
setAxis in interface Plotter
public void setDragBounds(int x,
int y,
int w,
int h)
setDragBounds in interface Plotter
public void setDrawRange(double x,
double y,
double w,
double h)
setDrawRange in interface Plotterpublic void setJitter(int jitter)
canHandleJitter().
setJitter in interface Plotterpublic void setKey(java.lang.String key)
setKey in interface Plotter
public void setMousePosInDataSpace(int mouseX,
int mouseY)
setMousePosInDataSpace in interface Plotter
public void setPlotColumn(int dimension,
boolean plot)
getPlotColumn(int) should also be overriden.
setPlotColumn in interface Plotterpublic void setDataTable(DataTable dataTable)
setDataTable in interface Plotterpublic void setZooming(int zooming)
canHandleZooming().
setZooming in interface Plotterpublic void showOptionsDialog()
showOptionsDialog in interface Plotterpublic boolean isSupportingLogScale(int axis)
isSupportingLogScale in interface Plotterpublic boolean isSupportingLogScaleForPlotColumns()
isSupportingLogScaleForPlotColumns in interface Plotter
public void setLogScale(int axis,
boolean logScale)
setLogScale in interface Plotterpublic void setLogScaleForPlotColumns(boolean logScale)
setLogScaleForPlotColumns in interface Plotterpublic boolean isSupportingAbsoluteValues()
isSupportingAbsoluteValues in interface Plotterpublic boolean isSupportingSorting()
isSupportingSorting in interface Plotterpublic void setAbsolute(boolean absolute)
setAbsolute in interface Plotterpublic void setSorting(boolean sorting)
setSorting in interface Plotterpublic final void dataTableUpdated(DataTable source)
Component.repaint(). Will be invoked since all plotters are DataTableListeners.
public ColorProvider getColorProvider()
protected PlotterAdapter.PointStyle getPointStyle(int styleIndex)
protected void drawPoint(java.awt.Graphics2D g,
double x,
double y,
java.awt.Color color,
java.awt.Color borderColor)
protected void drawPoint(java.awt.Graphics2D g,
PlotterAdapter.PointStyle pointStyle,
double x,
double y,
java.awt.Color color,
java.awt.Color borderColor)
protected void drawLegend(java.awt.Graphics graphics,
DataTable table,
int legendColumn)
protected void drawLegend(java.awt.Graphics graphics,
DataTable table,
int legendColumn,
int xOffset,
int alpha)
public void drawNumericalLegend(java.awt.Graphics graphics,
int width,
java.lang.String minColorString,
java.lang.String maxColorString,
int alpha)
public void drawSimpleNumericalLegend(java.awt.Graphics graphics,
int x,
int y,
java.lang.String minColorString,
java.lang.String maxColorString)
public void drawSimpleDateLegend(java.awt.Graphics graphics,
int x,
int y,
DataTable table,
int legendColumn,
double min,
double max)
protected void drawGenericNominalLegend(java.awt.Graphics graphics,
java.lang.String[] names,
PlotterAdapter.PointStyle[] pointStyles,
java.awt.Color[] colors,
int xOffset,
int alpha)
protected void drawToolTip(java.awt.Graphics2D g,
ToolTip toolTip)
protected int getNumberOfPlots(DataTable table)
protected double getTicSize(DataTable dataTable,
int column,
double min,
double max)
protected double getNumericalTicSize(double min,
double max)
protected double getMaxWeight(DataTable dataTable)
public static java.awt.Color getWeightColor(double weight,
double maxWeight)
protected void drawWeightRectangle(java.awt.Graphics2D newSpace,
DataTable dataTable,
int column,
double maxWeight,
int plotterSize)
public java.awt.Dimension getPreferredSize()
getPreferredSize in class javax.swing.JComponentpublic void prepareRendering()
prepareRendering in interface Renderablepublic void finishRendering()
finishRendering in interface Renderablepublic int getRenderHeight(int preferredHeight)
Renderable
getRenderHeight in interface RenderablepreferredHeight - tells the renderable of the size it should deliver best
public int getRenderWidth(int preferredWidth)
Renderable
getRenderWidth in interface RenderablepreferredWidth - tells the renderable of the size it should deliver best
public void render(java.awt.Graphics graphics,
int width,
int height)
Renderable
render in interface Renderablegraphics - the graphics to render onto
public void setParameter(DataTable dataTable,
java.lang.String key,
java.lang.Object value)
Plotter
setParameter in interface Plotterpublic java.util.List<ParameterType> getAdditionalParameterKeys()
public void setAdditionalParameter(java.lang.String key,
java.lang.String value)
public java.util.List<ParameterType> getParameterTypes()
Plotter
getParameterTypes in interface Plotter
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||