com.rapidminer.gui.look.painters
Class ButtonPainter
java.lang.Object
com.rapidminer.gui.look.painters.AbstractCachedPainter
com.rapidminer.gui.look.painters.ButtonPainter
public class ButtonPainter
- extends AbstractCachedPainter
This is a cached painter for the buttons.
- Author:
- Ingo Mierswa
|
Method Summary |
void |
paint(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
|
void |
paintButton(java.awt.Graphics g,
int w,
int h)
|
void |
paintButtonDisabled(java.awt.Graphics g,
int w,
int h,
boolean selected)
|
void |
paintButtonPressed(java.awt.Graphics g,
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)
|
void |
paintToImage(java.awt.Component c,
java.awt.Graphics g,
int w,
int h)
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SINGLETON
public static final ButtonPainter SINGLETON
paint
public void paint(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
paintToImage
public void paintToImage(java.awt.Component c,
java.awt.Graphics g,
int w,
int h)
paintButtonPressed
public void paintButtonPressed(java.awt.Graphics g,
int w,
int h)
paintButton
public void paintButton(java.awt.Graphics g,
int w,
int h)
paintButtonDisabled
public void paintButtonDisabled(java.awt.Graphics g,
int w,
int h,
boolean selected)
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
Copyright © 2001-2009 by Rapid-I