com.rapidminer.gui.look.painters
Class MenuSeparatorPainter

java.lang.Object
  extended by com.rapidminer.gui.look.painters.AbstractCachedPainter
      extended by com.rapidminer.gui.look.painters.MenuSeparatorPainter

public class MenuSeparatorPainter
extends AbstractCachedPainter

This is a cached painter for the menu separators.

Author:
Ingo Mierswa

Field Summary
static MenuSeparatorPainter SINGLETON
           
 
Fields inherited from class com.rapidminer.gui.look.painters.AbstractCachedPainter
cacheMap
 
Method Summary
protected  java.awt.Image createImage(java.awt.Component c, int w, int h, java.awt.GraphicsConfiguration config)
           
 void paint(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)
           
protected  void paintImage(java.awt.Component c, java.awt.Graphics g, int x, int y, int imageW, int imageH, java.awt.Image image, java.lang.Object[] args)
           
protected  void paintToImage(java.awt.Component c, java.awt.Graphics g, int w, int h, java.lang.Object[] args)
          Paints the representation to cache to the supplied Graphics.
 
Methods inherited from class com.rapidminer.gui.look.painters.AbstractCachedPainter
clearCache, paint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLETON

public static final MenuSeparatorPainter SINGLETON
Method Detail

paint

public void paint(java.awt.Component c,
                  java.awt.Graphics g,
                  int x,
                  int y,
                  int w,
                  int h)

paintToImage

protected void paintToImage(java.awt.Component c,
                            java.awt.Graphics g,
                            int w,
                            int h,
                            java.lang.Object[] args)
Description copied from class: AbstractCachedPainter
Paints the representation to cache to the supplied Graphics.

Specified by:
paintToImage in class AbstractCachedPainter

paintImage

protected void paintImage(java.awt.Component c,
                          java.awt.Graphics g,
                          int x,
                          int y,
                          int imageW,
                          int imageH,
                          java.awt.Image image,
                          java.lang.Object[] args)
Overrides:
paintImage in class AbstractCachedPainter

createImage

protected java.awt.Image createImage(java.awt.Component c,
                                     int w,
                                     int h,
                                     java.awt.GraphicsConfiguration config)
Overrides:
createImage in class AbstractCachedPainter


Copyright © 2001-2009 by Rapid-I