| java.lang.Object net.infonode.gui.componentpainter.AbstractComponentPainter net.infonode.gui.componentpainter.GradientComponentPainter
GradientComponentPainter | public class GradientComponentPainter extends AbstractComponentPainter implements Serializable(Code) | | A painter that paints an gradient area specified by four corner colors.
author: $Author: jesper $ version: $Revision: 1.11 $ |
GradientComponentPainter | public GradientComponentPainter(Color topLeftColor, Color topRightColor, Color bottomLeftColor, Color bottomRightColor)(Code) | | Constructor.
Parameters: topLeftColor - the top left corner color Parameters: topRightColor - the top right corner color Parameters: bottomLeftColor - the bottom left corner color Parameters: bottomRightColor - the bottom right corner color |
GradientComponentPainter | public GradientComponentPainter(ColorProvider topLeftColor, ColorProvider topRightColor, ColorProvider bottomLeftColor, ColorProvider bottomRightColor)(Code) | | Constructor.
Parameters: topLeftColor - the top left corner color provider Parameters: topRightColor - the top right corner color provider Parameters: bottomLeftColor - the bottom left corner color provider Parameters: bottomRightColor - the bottom right corner color provider |
paint | public void paint(Component component, Graphics g, int x, int y, int width, int height, Direction direction, boolean horizontalFlip, boolean verticalFlip)(Code) | | |
Methods inherited from net.infonode.gui.componentpainter.AbstractComponentPainter | public boolean isOpaque(Component component)(Code)(Java Doc) public void paint(Component component, Graphics g, int x, int y, int width, int height)(Code)(Java Doc) public void paint(Component component, Graphics g, int x, int y, int width, int height, Direction direction, boolean horizontalFlip, boolean verticalFlip)(Code)(Java Doc)
|
|
|