Java Doc for JMapPane.java in  » GIS » GeoTools-2.4.1 » org » geotools » gui » swing » 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 » GeoTools 2.4.1 » org.geotools.gui.swing 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JPanel
   org.geotools.gui.swing.JMapPane

JMapPane
public class JMapPane extends JPanel implements MouseListener,MouseMotionListener,HighlightChangeListener,SelectionChangeListener,PropertyChangeListener,MapLayerListListener(Code)


Field Summary
final public static  intPan
    
final public static  intReset
    
final public static  intSelect
    
final public static  intZoomIn
    
final public static  intZoomOut
    
 booleanchanged
    
 MapContextcontext
    
 FilterFactory2ff
    
 GeometryFactorygf
    
 FeatureCollectionhighlightFeature
    
 LabelCachelabelCache
    
 intlastX
    
 intlastY
    
 StylelineHighlightStyle
    
 StylelineSelectionStyle
    
 EnvelopemapArea
    
 StylepointHighlightStyle
    
 StylepointSelectionStyle
    
 StylepolygonHighlightStyle
    
 StylepolygonSelectionStyle
    
 GTRendererrenderer
    
 FeatureCollectionselection
    
 intstartX
    
 intstartY
    

Constructor Summary
public  JMapPane()
    
public  JMapPane(GTRenderer render, MapContext context)
    
public  JMapPane(LayoutManager layout, boolean isDoubleBuffered, GTRenderer render, MapContext context)
    

Method Summary
public  voiddoSelection(double x, double y, MapLayer layer)
    
public  MapContextgetContext()
    
public  MapLayergetHighlightLayer()
    
public  HighlightManagergetHighlightManager()
    
public  StylegetLineHighlightStyle()
    
public  StylegetLineSelectionStyle()
    
public  EnvelopegetMapArea()
    
public  StylegetPointHighlightStyle()
    
public  StylegetPointSelectionStyle()
    
public  StylegetPolygonHighlightStyle()
    
public  StylegetPolygonSelectionStyle()
    
public  GTRenderergetRenderer()
    
public  FeatureCollectiongetSelection()
    
public  MapLayergetSelectionLayer()
    
public  SelectionManagergetSelectionManager()
    
public  intgetState()
    
public  doublegetZoomFactor()
    
public  voidhighlightChanged(HighlightChangedEvent e)
    
public  booleanisHighlight()
    
public  booleanisReset()
    
public  voidlayerAdded(MapLayerListEvent event)
    
public  voidlayerChanged(MapLayerListEvent event)
    
public  voidlayerMoved(MapLayerListEvent event)
    
public  voidlayerRemoved(MapLayerListEvent event)
    
public  voidmouseClicked(MouseEvent e)
    
public  voidmouseDragged(MouseEvent e)
    
public  voidmouseEntered(MouseEvent e)
    
public  voidmouseExited(MouseEvent e)
    
public  voidmouseMoved(MouseEvent e)
    
public  voidmousePressed(MouseEvent e)
    
public  voidmouseReleased(MouseEvent e)
    
protected  voidpaintComponent(Graphics g)
    
public  voidpropertyChange(PropertyChangeEvent evt)
    
public  voidselectionChanged(SelectionChangedEvent e)
    
public  voidsetClickable(boolean clickable)
     if clickable is set to true then a single click on the map pane will zoom or pan the map.
public  voidsetContext(MapContext context)
    
public  voidsetHighlight(boolean highlight)
    
public  voidsetHighlightLayer(MapLayer highlightLayer)
    
public  voidsetHighlightManager(HighlightManager highlightManager)
    
public  voidsetLineHighlightStyle(Style lineHighlightStyle)
    
public  voidsetLineSelectionStyle(Style lineSelectionStyle)
    
public  voidsetMapArea(Envelope mapArea)
    
public  voidsetPointHighlightStyle(Style pointHighlightStyle)
    
public  voidsetPointSelectionStyle(Style pointSelectionStyle)
    
public  voidsetPolygonHighlightStyle(Style polygonHighlightStyle)
    
public  voidsetPolygonSelectionStyle(Style polygonSelectionStyle)
    
public  voidsetRenderer(GTRenderer renderer)
    
public  voidsetReset(boolean reset)
    
public  voidsetSelection(FeatureCollection selection)
    
public  voidsetSelectionLayer(MapLayer selectionLayer)
    
public  voidsetSelectionManager(SelectionManager selectionManager)
    
public  voidsetState(int state)
    
public  voidsetZoomFactor(double zoomFactor)
    

Field Detail
Pan
final public static int Pan(Code)



Reset
final public static int Reset(Code)



Select
final public static int Select(Code)



ZoomIn
final public static int ZoomIn(Code)



ZoomOut
final public static int ZoomOut(Code)



changed
boolean changed(Code)



context
MapContext context(Code)
the map context to render



ff
FilterFactory2 ff(Code)
a factory for filters



gf
GeometryFactory gf(Code)
a factory for geometries



highlightFeature
FeatureCollection highlightFeature(Code)
the collections of features to be selected or highlighted



labelCache
LabelCache labelCache(Code)



lastX
int lastX(Code)



lastY
int lastY(Code)



lineHighlightStyle
Style lineHighlightStyle(Code)



lineSelectionStyle
Style lineSelectionStyle(Code)



mapArea
Envelope mapArea(Code)
the area of the map to draw



pointHighlightStyle
Style pointHighlightStyle(Code)



pointSelectionStyle
Style pointSelectionStyle(Code)



polygonHighlightStyle
Style polygonHighlightStyle(Code)



polygonSelectionStyle
Style polygonSelectionStyle(Code)



renderer
GTRenderer renderer(Code)
what renders the map



selection
FeatureCollection selection(Code)
the collections of features to be selected or highlighted



startX
int startX(Code)



startY
int startY(Code)




Constructor Detail
JMapPane
public JMapPane()(Code)



JMapPane
public JMapPane(GTRenderer render, MapContext context)(Code)
create a basic JMapPane
Parameters:
  render - -how to draw the map
Parameters:
  context - -the map context to display



JMapPane
public JMapPane(LayoutManager layout, boolean isDoubleBuffered, GTRenderer render, MapContext context)(Code)
full constructor extending JPanel
Parameters:
  layout - -layout (probably shouldn't be set)
Parameters:
  isDoubleBuffered - -a Swing thing I don't really understand
Parameters:
  render - -what to draw the map with
Parameters:
  context - -what to draw




Method Detail
doSelection
public void doSelection(double x, double y, MapLayer layer)(Code)



getContext
public MapContext getContext()(Code)



getHighlightLayer
public MapLayer getHighlightLayer()(Code)



getHighlightManager
public HighlightManager getHighlightManager()(Code)



getLineHighlightStyle
public Style getLineHighlightStyle()(Code)



getLineSelectionStyle
public Style getLineSelectionStyle()(Code)



getMapArea
public Envelope getMapArea()(Code)



getPointHighlightStyle
public Style getPointHighlightStyle()(Code)



getPointSelectionStyle
public Style getPointSelectionStyle()(Code)



getPolygonHighlightStyle
public Style getPolygonHighlightStyle()(Code)



getPolygonSelectionStyle
public Style getPolygonSelectionStyle()(Code)



getRenderer
public GTRenderer getRenderer()(Code)
get the renderer



getSelection
public FeatureCollection getSelection()(Code)



getSelectionLayer
public MapLayer getSelectionLayer()(Code)



getSelectionManager
public SelectionManager getSelectionManager()(Code)



getState
public int getState()(Code)



getZoomFactor
public double getZoomFactor()(Code)



highlightChanged
public void highlightChanged(HighlightChangedEvent e)(Code)



isHighlight
public boolean isHighlight()(Code)



isReset
public boolean isReset()(Code)



layerAdded
public void layerAdded(MapLayerListEvent event)(Code)



layerChanged
public void layerChanged(MapLayerListEvent event)(Code)



layerMoved
public void layerMoved(MapLayerListEvent event)(Code)



layerRemoved
public void layerRemoved(MapLayerListEvent event)(Code)



mouseClicked
public void mouseClicked(MouseEvent e)(Code)



mouseDragged
public void mouseDragged(MouseEvent e)(Code)



mouseEntered
public void mouseEntered(MouseEvent e)(Code)



mouseExited
public void mouseExited(MouseEvent e)(Code)



mouseMoved
public void mouseMoved(MouseEvent e)(Code)



mousePressed
public void mousePressed(MouseEvent e)(Code)



mouseReleased
public void mouseReleased(MouseEvent e)(Code)



paintComponent
protected void paintComponent(Graphics g)(Code)



propertyChange
public void propertyChange(PropertyChangeEvent evt)(Code)



selectionChanged
public void selectionChanged(SelectionChangedEvent e)(Code)



setClickable
public void setClickable(boolean clickable)(Code)
if clickable is set to true then a single click on the map pane will zoom or pan the map.
Parameters:
  clickable -



setContext
public void setContext(MapContext context)(Code)



setHighlight
public void setHighlight(boolean highlight)(Code)



setHighlightLayer
public void setHighlightLayer(MapLayer highlightLayer)(Code)



setHighlightManager
public void setHighlightManager(HighlightManager highlightManager)(Code)



setLineHighlightStyle
public void setLineHighlightStyle(Style lineHighlightStyle)(Code)



setLineSelectionStyle
public void setLineSelectionStyle(Style lineSelectionStyle)(Code)



setMapArea
public void setMapArea(Envelope mapArea)(Code)



setPointHighlightStyle
public void setPointHighlightStyle(Style pointHighlightStyle)(Code)



setPointSelectionStyle
public void setPointSelectionStyle(Style pointSelectionStyle)(Code)



setPolygonHighlightStyle
public void setPolygonHighlightStyle(Style polygonHighlightStyle)(Code)



setPolygonSelectionStyle
public void setPolygonSelectionStyle(Style polygonSelectionStyle)(Code)



setRenderer
public void setRenderer(GTRenderer renderer)(Code)



setReset
public void setReset(boolean reset)(Code)



setSelection
public void setSelection(FeatureCollection selection)(Code)



setSelectionLayer
public void setSelectionLayer(MapLayer selectionLayer)(Code)



setSelectionManager
public void setSelectionManager(SelectionManager selectionManager)(Code)



setState
public void setState(int state)(Code)



setZoomFactor
public void setZoomFactor(double zoomFactor)(Code)



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.