public class AttributionSupport extends Object
Modifier and Type | Field and Description |
---|---|
static Font |
ATTR_FONT |
static Font |
ATTR_LINK_FONT |
private Image |
attrImage |
protected Rectangle |
attrImageBounds |
private String |
attrTermsText |
private String |
attrTermsUrl |
protected Rectangle |
attrTextBounds |
protected Rectangle |
attrToUBounds |
private Attributed |
source |
Constructor and Description |
---|
AttributionSupport() |
Modifier and Type | Method and Description |
---|---|
boolean |
handleAttribution(Point p,
boolean click) |
boolean |
handleAttributionCursor(Point p) |
void |
initialize(Attributed source) |
void |
paintAttribution(Graphics g,
int width,
int height,
ICoordinate topLeft,
ICoordinate bottomRight,
int zoom,
ImageObserver observer) |
private Attributed source
private String attrTermsText
private String attrTermsUrl
public static final Font ATTR_LINK_FONT
protected Rectangle attrTextBounds
protected Rectangle attrToUBounds
protected Rectangle attrImageBounds
public AttributionSupport()
public void initialize(Attributed source)
public void paintAttribution(Graphics g, int width, int height, ICoordinate topLeft, ICoordinate bottomRight, int zoom, ImageObserver observer)
public boolean handleAttributionCursor(Point p)
public boolean handleAttribution(Point p, boolean click)