public class AttributionSupport
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.awt.Font |
ATTR_FONT |
static java.awt.Font |
ATTR_LINK_FONT |
protected java.awt.Rectangle |
attrImageBounds |
protected java.awt.Rectangle |
attrTextBounds |
protected java.awt.Rectangle |
attrToUBounds |
Constructor and Description |
---|
AttributionSupport() |
Modifier and Type | Method and Description |
---|---|
boolean |
handleAttribution(java.awt.Point p,
boolean click) |
boolean |
handleAttributionCursor(java.awt.Point p) |
void |
initialize(Attributed source) |
void |
paintAttribution(java.awt.Graphics g,
int width,
int height,
Coordinate topLeft,
Coordinate bottomRight,
int zoom,
java.awt.image.ImageObserver observer) |
public static final java.awt.Font ATTR_FONT
public static final java.awt.Font ATTR_LINK_FONT
protected java.awt.Rectangle attrTextBounds
protected java.awt.Rectangle attrToUBounds
protected java.awt.Rectangle attrImageBounds
public void initialize(Attributed source)
public void paintAttribution(java.awt.Graphics g, int width, int height, Coordinate topLeft, Coordinate bottomRight, int zoom, java.awt.image.ImageObserver observer)
public boolean handleAttributionCursor(java.awt.Point p)
public boolean handleAttribution(java.awt.Point p, boolean click)