|
|||||||||
| Home >> All >> com >> memoire >> [ bu overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.memoire.bu
Class BuBackgroundPainter

java.lang.Objectcom.memoire.bu.BuBackgroundPainter
- All Implemented Interfaces:
- java.io.Serializable
- public class BuBackgroundPainter
- extends java.lang.Object
- implements java.io.Serializable
- extends java.lang.Object
An utility class to paint the background of a component. Accepts texture and gradient.
| Field Summary | |
private boolean |
bar_
|
private int |
bheight_
|
private boolean |
dots_
|
private int |
gheight_
|
private boolean |
gradient_
|
private boolean |
grid_
|
private javax.swing.Icon |
icon_
|
| Constructor Summary | |
BuBackgroundPainter()
|
|
BuBackgroundPainter(javax.swing.Icon _icon,
boolean _gradient)
|
|
| Method Summary | |
int |
getBarHeight()
|
int |
getGradientHeight()
|
javax.swing.Icon |
getIcon()
|
boolean |
isBar()
|
boolean |
isDots()
|
boolean |
isGradient()
|
boolean |
isGrid()
|
void |
paintBackground(javax.swing.JComponent _c,
java.awt.Graphics _g)
|
void |
setBar(boolean _bar)
|
void |
setBarHeight(int _bheight)
|
void |
setDots(boolean _dots)
|
void |
setGradient(boolean _gradient)
|
void |
setGradientHeight(int _gheight)
|
void |
setGrid(boolean _grid)
|
void |
setIcon(javax.swing.Icon _icon)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
icon_
private javax.swing.Icon icon_
grid_
private boolean grid_
dots_
private boolean dots_
gradient_
private boolean gradient_
gheight_
private int gheight_
bar_
private boolean bar_
bheight_
private int bheight_
| Constructor Detail |
BuBackgroundPainter
public BuBackgroundPainter()
BuBackgroundPainter
public BuBackgroundPainter(javax.swing.Icon _icon, boolean _gradient)
| Method Detail |
paintBackground
public void paintBackground(javax.swing.JComponent _c, java.awt.Graphics _g)
getIcon
public javax.swing.Icon getIcon()
setIcon
public void setIcon(javax.swing.Icon _icon)
isGrid
public boolean isGrid()
setGrid
public void setGrid(boolean _grid)
isDots
public boolean isDots()
setDots
public void setDots(boolean _dots)
isGradient
public boolean isGradient()
setGradient
public void setGradient(boolean _gradient)
getGradientHeight
public int getGradientHeight()
setGradientHeight
public void setGradientHeight(int _gheight)
isBar
public boolean isBar()
setBar
public void setBar(boolean _bar)
getBarHeight
public int getBarHeight()
setBarHeight
public void setBarHeight(int _bheight)
|
|||||||||
| Home >> All >> com >> memoire >> [ bu overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.memoire.bu.BuBackgroundPainter