|
Quaqua 7.2.1 2010-08-01 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.randelshofer.quaqua.util.CachedPainter
ch.randelshofer.quaqua.QuaquaSquareButtonBorder
public class QuaquaSquareButtonBorder
QuaquaSquareButtonBorder.
| Constructor Summary | |
|---|---|
QuaquaSquareButtonBorder()
Creates a new instance of QuaquaSquareButtonBorder |
|
| Method Summary | |
|---|---|
protected java.awt.Image |
createImage(java.awt.Component c,
int w,
int h,
java.awt.GraphicsConfiguration config)
Creates the image to cache. |
java.awt.Insets |
getBorderInsets(java.awt.Component c)
|
boolean |
isBorderOpaque()
|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics gr,
int x,
int y,
int width,
int height)
|
protected void |
paintToImage(java.awt.Component c,
java.awt.Graphics gr,
int width,
int height,
java.lang.Object[] args)
Paints the representation to cache to the supplied Graphics. |
| Methods inherited from class ch.randelshofer.quaqua.util.CachedPainter |
|---|
paint, paintImage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuaquaSquareButtonBorder()
| Method Detail |
|---|
public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets in interface javax.swing.border.Borderpublic boolean isBorderOpaque()
isBorderOpaque in interface javax.swing.border.Border
protected java.awt.Image createImage(java.awt.Component c,
int w,
int h,
java.awt.GraphicsConfiguration config)
createImage in class CachedPainterc - Component painting tow - Width of image to createh - Height to image to createconfig - GraphicsConfiguration that will be
rendered to, this may be null.
public void paintBorder(java.awt.Component c,
java.awt.Graphics gr,
int x,
int y,
int width,
int height)
paintBorder in interface javax.swing.border.Border
protected void paintToImage(java.awt.Component c,
java.awt.Graphics gr,
int width,
int height,
java.lang.Object[] args)
CachedPainter
paintToImage in class CachedPainterc - Component painting togr - Graphics to paint towidth - Width to paint toheight - Height to paint toargs - Arguments supplied to paint
|
Copyright 2003-2007 (c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||