|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapPopup
This interface is implemented by classes that can be created by calling
JMap.createPopup(javax.swing.JComponent[], Graphic, boolean)
.
Method Summary | |
---|---|
void |
close()
Close the MapPopup rather than simply hiding it. |
String |
getTitle()
Gets the title. |
boolean |
isMovingWithMap()
Checks if this MapPopup is set to move with the map. |
void |
setAnchorPoint(Point anchorPoint)
Sets the anchor point that the callout tail is pointing at. |
void |
setMovingWithMap(boolean moveWithMap)
When this is set true, the MapPopup will move with the map. |
void |
setNewGraphic(Graphic newGraphic)
Sets the new graphic. |
void |
setTitle(String title)
Sets the title. |
void |
setVisible(boolean isVisible)
Sets the MapPopup visibility. |
void |
updateLocation()
|
Method Detail |
---|
void setTitle(String title)
title
- the new titleString getTitle()
void setNewGraphic(Graphic newGraphic)
newGraphic
- the new new graphicvoid setVisible(boolean isVisible)
isVisible
- the new visibleboolean isMovingWithMap()
void setMovingWithMap(boolean moveWithMap)
moveWithMap
- true to move with the map, false to stay in place on
the screenvoid updateLocation()
void close()
void setAnchorPoint(Point anchorPoint)
anchorPoint
- the new anchor point
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |