| javax.swing.JPanel com.vividsolutions.jump.workbench.ui.LayerViewPanel
Method Summary | |
public void | addListener(LayerViewPanelListener listener) | public void | categoryChanged(CategoryEvent e) | public static List | components(Geometry g) | public Image | createBlankPanelImage() Returns an image with the dimensions of this panel. | public void | dispose() | public void | erase(Graphics2D g) | public void | featuresChanged(FeatureEvent e) | public Collection | featuresWithVertex(Point2D viewPoint, double viewTolerance, Collection features) | public void | fill(Graphics2D g, Color color) | public void | fireSelectionChanged() | public void | flash(Shape shape, Color color, Stroke stroke, int millisecondDelay) | public void | flash(GeometryCollection geometryCollection) | public String | format(double d) | protected String | format(double d, double pixelWidthInModelUnits) | public Blackboard | getBlackboard() | public LayerViewPanelContext | getContext() | public CursorTool | getCurrentCursorTool() | public Geometry | getFence() | public Java2DConverter | getJava2DConverter() | public java.awt.Point | getLastClickedPoint() Note: the popup menu is shown only if the user right-clicks the panel. | public LayerManager | getLayerManager() | public RenderingManager | getRenderingManager() | public SelectionManager | getSelectionManager() | public String | getToolTipText(MouseEvent event) | public ToolTipWriter | getToolTipWriter() | public Viewport | getViewport() | public static boolean | intersects(Geometry a, Geometry b) Workaround for the fact that GeometryCollection#intersects is not
currently implemented. | void | jbInit() | public void | layerChanged(LayerEvent e) | public void | paintComponent(Graphics g) | public static JPopupMenu | popupMenu() | public void | removeListener(LayerViewPanelListener listener) | public void | repaint() | public void | setCurrentCursorTool(CursorTool currentCursorTool) | public void | setDeferLayerEvents(boolean defer) | public void | setViewportInitialized(boolean viewportInitialized) When a layer is added, if this flag is false, the viewport will be zoomed
to the extent of the layer. | public void | superRepaint() | void | this_componentResized(ComponentEvent e) | void | this_mouseReleased(MouseEvent e) | public Map | visibleLayerToFeaturesInFenceMap() The Fence layer will be excluded. | public Map | visibleLayerToFeaturesInFenceMap(Geometry fence) The Fence layer will be included. |
components | public static List components(Geometry g)(Code) | | |
createBlankPanelImage | public Image createBlankPanelImage()(Code) | | Returns an image with the dimensions of this panel. Note that the image
has an alpha component, and thus is not suitable for creating JPEGs --
they will look pinkish.
|
dispose | public void dispose()(Code) | | |
fireSelectionChanged | public void fireSelectionChanged()(Code) | | |
flash | public void flash(Shape shape, Color color, Stroke stroke, int millisecondDelay)(Code) | | Parameters: millisecondDelay - the GUI will be unresponsive for this length of time, so keepit short! |
format | public String format(double d)(Code) | | d rounded off to the distance represented by one pixel |
format | protected String format(double d, double pixelWidthInModelUnits)(Code) | | |
getFence | public Geometry getFence()(Code) | | the fence in model-coordinates, or null if there is no fence |
getLastClickedPoint | public java.awt.Point getLastClickedPoint()(Code) | | Note: the popup menu is shown only if the user right-clicks the panel.
Thus, popup-menu event handlers don't need to check whether the return
value is null.
|
intersects | public static boolean intersects(Geometry a, Geometry b)(Code) | | Workaround for the fact that GeometryCollection#intersects is not
currently implemented.
|
repaint | public void repaint()(Code) | | |
setCurrentCursorTool | public void setCurrentCursorTool(CursorTool currentCursorTool)(Code) | | |
setDeferLayerEvents | public void setDeferLayerEvents(boolean defer)(Code) | | |
setViewportInitialized | public void setViewportInitialized(boolean viewportInitialized)(Code) | | When a layer is added, if this flag is false, the viewport will be zoomed
to the extent of the layer.
|
superRepaint | public void superRepaint()(Code) | | |
visibleLayerToFeaturesInFenceMap | public Map visibleLayerToFeaturesInFenceMap()(Code) | | The Fence layer will be excluded.
|
visibleLayerToFeaturesInFenceMap | public Map visibleLayerToFeaturesInFenceMap(Geometry fence)(Code) | | The Fence layer will be included.
|
|
|