|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openstreetmap.gui.jmapviewer.AttributionSupport
public class AttributionSupport
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
AttributionSupport()
|
|
| Method Summary | |
|---|---|
boolean |
handleAttribution(java.awt.Point p,
boolean click)
|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public AttributionSupport()
| Method Detail |
|---|
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 handleAttribution(java.awt.Point p,
boolean click)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||