javax.swing.text.html
Class StyleSheet.BackgroundImagePainter

java.lang.Object
  extended byjavax.swing.text.html.StyleSheet.BackgroundImagePainter
All Implemented Interfaces:
Serializable
Enclosing class:
StyleSheet

static class StyleSheet.BackgroundImagePainter
extends Object
implements Serializable

Paints the background image.


Field Summary
(package private)  ImageIcon backgroundImage
           
(package private)  short flags
           
(package private)  float hPosition
           
private  int paintMaxX
           
private  int paintMaxY
           
private  int paintX
           
private  int paintY
           
(package private)  float vPosition
           
 
Constructor Summary
(package private) StyleSheet.BackgroundImagePainter(AttributeSet a, CSS css, StyleSheet ss)
           
 
Method Summary
(package private)  void paint(Graphics g, float x, float y, float w, float h, View v)
           
private  boolean updatePaintCoordinates(Rectangle clip, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

backgroundImage

ImageIcon backgroundImage

hPosition

float hPosition

vPosition

float vPosition

flags

short flags

paintX

private int paintX

paintY

private int paintY

paintMaxX

private int paintMaxX

paintMaxY

private int paintMaxY
Constructor Detail

StyleSheet.BackgroundImagePainter

StyleSheet.BackgroundImagePainter(AttributeSet a,
                                  CSS css,
                                  StyleSheet ss)
Method Detail

paint

void paint(Graphics g,
           float x,
           float y,
           float w,
           float h,
           View v)

updatePaintCoordinates

private boolean updatePaintCoordinates(Rectangle clip,
                                       int width,
                                       int height)