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 |
private java.awt.Image |
attrImage |
protected java.awt.Rectangle |
attrImageBounds |
private java.lang.String |
attrTermsText |
private java.lang.String |
attrTermsUrl |
protected java.awt.Rectangle |
attrTextBounds |
protected java.awt.Rectangle |
attrToUBounds |
private Attributed |
source |
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,
ICoordinate topLeft,
ICoordinate bottomRight,
int zoom,
java.awt.image.ImageObserver observer) |
private Attributed source
private java.awt.Image attrImage
private java.lang.String attrTermsText
private java.lang.String attrTermsUrl
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 AttributionSupport()
public void initialize(Attributed source)
public void paintAttribution(java.awt.Graphics g, int width, int height, ICoordinate topLeft, ICoordinate bottomRight, int zoom, java.awt.image.ImageObserver observer)
public boolean handleAttributionCursor(java.awt.Point p)
public boolean handleAttribution(java.awt.Point p, boolean click)