private class AbstractTileSourceLayer.OffsetMenuBookmarkEntry extends java.lang.Object implements ImageryLayer.OffsetMenuEntry
Modifier and Type | Field and Description |
---|---|
private OffsetBookmark |
bookmark |
Constructor and Description |
---|
OffsetMenuBookmarkEntry(OffsetBookmark bookmark) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed()
Load this bookmark
|
java.lang.String |
getLabel()
Get the label to use for this menu item
|
boolean |
isActive()
Test whether this bookmark is currently active
|
private final OffsetBookmark bookmark
OffsetMenuBookmarkEntry(OffsetBookmark bookmark)
public java.lang.String getLabel()
ImageryLayer.OffsetMenuEntry
getLabel
in interface ImageryLayer.OffsetMenuEntry
public boolean isActive()
ImageryLayer.OffsetMenuEntry
isActive
in interface ImageryLayer.OffsetMenuEntry
true
if it is activepublic void actionPerformed()
ImageryLayer.OffsetMenuEntry
actionPerformed
in interface ImageryLayer.OffsetMenuEntry