Java Doc for LayerViewPanel.java in  » GIS » openjump » com » vividsolutions » jump » workbench » ui » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » openjump » com.vividsolutions.jump.workbench.ui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JPanel
   com.vividsolutions.jump.workbench.ui.LayerViewPanel

LayerViewPanel
public class LayerViewPanel extends JPanel implements LayerListener,LayerManagerProxy,SelectionManagerProxy(Code)
Be sure to call #dispose() when the LayerViewPanel is no longer needed.

Inner Class :class MouseWheelZoomListener implements MouseWheelListener

Field Summary
 BorderLayoutborderLayout1
    

Constructor Summary
public  LayerViewPanel(LayerManager layerManager, LayerViewPanelContext context)
    

Method Summary
public  voidaddListener(LayerViewPanelListener listener)
    
public  voidcategoryChanged(CategoryEvent e)
    
public static  Listcomponents(Geometry g)
    
public  ImagecreateBlankPanelImage()
     Returns an image with the dimensions of this panel.
public  voiddispose()
    
public  voiderase(Graphics2D g)
    
public  voidfeaturesChanged(FeatureEvent e)
    
public  CollectionfeaturesWithVertex(Point2D viewPoint, double viewTolerance, Collection features)
    
public  voidfill(Graphics2D g, Color color)
    
public  voidfireSelectionChanged()
    
public  voidflash(Shape shape, Color color, Stroke stroke, int millisecondDelay)
    
public  voidflash(GeometryCollection geometryCollection)
    
public  Stringformat(double d)
    
protected  Stringformat(double d, double pixelWidthInModelUnits)
    
public  BlackboardgetBlackboard()
    
public  LayerViewPanelContextgetContext()
    
public  CursorToolgetCurrentCursorTool()
    
public  GeometrygetFence()
    
public  Java2DConvertergetJava2DConverter()
    
public  java.awt.PointgetLastClickedPoint()
     Note: the popup menu is shown only if the user right-clicks the panel.
public  LayerManagergetLayerManager()
    
public  RenderingManagergetRenderingManager()
    
public  SelectionManagergetSelectionManager()
    
public  StringgetToolTipText(MouseEvent event)
    
public  ToolTipWritergetToolTipWriter()
    
public  ViewportgetViewport()
    
public static  booleanintersects(Geometry a, Geometry b)
     Workaround for the fact that GeometryCollection#intersects is not currently implemented.
 voidjbInit()
    
public  voidlayerChanged(LayerEvent e)
    
public  voidpaintComponent(Graphics g)
    
public static  JPopupMenupopupMenu()
    
public  voidremoveListener(LayerViewPanelListener listener)
    
public  voidrepaint()
    
public  voidsetCurrentCursorTool(CursorTool currentCursorTool)
    
public  voidsetDeferLayerEvents(boolean defer)
    
public  voidsetViewportInitialized(boolean viewportInitialized)
     When a layer is added, if this flag is false, the viewport will be zoomed to the extent of the layer.
public  voidsuperRepaint()
    
 voidthis_componentResized(ComponentEvent e)
    
 voidthis_mouseReleased(MouseEvent e)
    
public  MapvisibleLayerToFeaturesInFenceMap()
     The Fence layer will be excluded.
public  MapvisibleLayerToFeaturesInFenceMap(Geometry fence)
     The Fence layer will be included.

Field Detail
borderLayout1
BorderLayout borderLayout1(Code)




Constructor Detail
LayerViewPanel
public LayerViewPanel(LayerManager layerManager, LayerViewPanelContext context)(Code)




Method Detail
addListener
public void addListener(LayerViewPanelListener listener)(Code)



categoryChanged
public void categoryChanged(CategoryEvent e)(Code)



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)



erase
public void erase(Graphics2D g)(Code)



featuresChanged
public void featuresChanged(FeatureEvent e)(Code)



featuresWithVertex
public Collection featuresWithVertex(Point2D viewPoint, double viewTolerance, Collection features) throws NoninvertibleTransformException(Code)



fill
public void fill(Graphics2D g, Color color)(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!



flash
public void flash(GeometryCollection geometryCollection) throws NoninvertibleTransformException(Code)



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)



getBlackboard
public Blackboard getBlackboard()(Code)



getContext
public LayerViewPanelContext getContext()(Code)



getCurrentCursorTool
public CursorTool getCurrentCursorTool()(Code)



getFence
public Geometry getFence()(Code)
the fence in model-coordinates, or null if there is no fence



getJava2DConverter
public Java2DConverter getJava2DConverter()(Code)



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.



getLayerManager
public LayerManager getLayerManager()(Code)



getRenderingManager
public RenderingManager getRenderingManager()(Code)



getSelectionManager
public SelectionManager getSelectionManager()(Code)



getToolTipText
public String getToolTipText(MouseEvent event)(Code)



getToolTipWriter
public ToolTipWriter getToolTipWriter()(Code)



getViewport
public Viewport getViewport()(Code)



intersects
public static boolean intersects(Geometry a, Geometry b)(Code)
Workaround for the fact that GeometryCollection#intersects is not currently implemented.



jbInit
void jbInit() throws Exception(Code)



layerChanged
public void layerChanged(LayerEvent e)(Code)



paintComponent
public void paintComponent(Graphics g)(Code)



popupMenu
public static JPopupMenu popupMenu()(Code)



removeListener
public void removeListener(LayerViewPanelListener listener)(Code)



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)



this_componentResized
void this_componentResized(ComponentEvent e)(Code)



this_mouseReleased
void this_mouseReleased(MouseEvent e)(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.



Methods inherited from javax.swing.JPanel
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public PanelUI getUI()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void setUI(PanelUI ui)(Code)(Java Doc)
public void updateUI()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.