|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JInternalFrame com.esri.map.popup.PopupPanel
public class PopupPanel
The Class PopupPanel. This class displays a JInternalFrame based dialog with a callout tail pointing at a given graphic.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JInternalFrame |
---|
JInternalFrame.AccessibleJInternalFrame, JInternalFrame.JDesktopIcon |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JInternalFrame |
---|
closable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, frameIcon, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTY |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
PopupPanel(JMap map,
JComponent[] content,
Graphic graphic)
Instantiates a new popup panel. |
Method Summary | |
---|---|
void |
close()
Close the MapPopup rather than simply hiding it. |
Point |
getAnchorPoint()
Gets the anchor point. |
Point |
getCentrePoint()
Gets the centre point of this PopupPanel. |
Color |
getTailColor()
Gets the tail color. |
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 |
updateLocation()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.esri.map.popup.MapPopup |
---|
getTitle, setTitle, setVisible |
Constructor Detail |
---|
public PopupPanel(JMap map, JComponent[] content, Graphic graphic)
map
- the map containing the the given graphiccontent
- the content to display in the popupgraphic
- the graphic to point the callout tail atMethod Detail |
---|
public Point getAnchorPoint()
public Point getCentrePoint()
public Color getTailColor()
public boolean isMovingWithMap()
MapPopup
isMovingWithMap
in interface MapPopup
public void setMovingWithMap(boolean moveWithMap)
MapPopup
setMovingWithMap
in interface MapPopup
moveWithMap
- true to move with the map, false to stay in place on
the screenpublic void setNewGraphic(Graphic newGraphic)
MapPopup
setNewGraphic
in interface MapPopup
newGraphic
- the new new graphicpublic void close()
MapPopup
close
in interface MapPopup
public void updateLocation()
updateLocation
in interface MapPopup
public void setAnchorPoint(Point anchorPoint)
MapPopup
setAnchorPoint
in interface MapPopup
anchorPoint
- the new anchor point
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |