Java Doc for Viewport.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) 


java.lang.Object
   com.vividsolutions.jump.workbench.ui.Viewport

Viewport
public class Viewport implements Java2DConverter.PointConverter(Code)
Controls the area on the model being viewed by a LayerViewPanel.



Constructor Summary
public  Viewport(LayerViewPanel panel)
    

Method Summary
public  voidaddListener(ViewportListener l)
    
public  EnvelopefullExtent()
    
public  EnvelopegetEnvelopeInModelCoordinates()
    
public  Java2DConvertergetJava2DConverter()
    
public  AffineTransformgetModelToViewTransform()
    
public  Point2DgetOriginInModelCoordinates()
    
public  LayerViewPanelgetPanel()
    
public  doublegetScale()
    
public  ZoomHistorygetZoomHistory()
    
public  voidinitialize(double newScale, Point2D newViewOriginAsPerceivedByModel)
     Set both values but repaint once.
public static  AffineTransformmodelToViewTransform(double scale, Point2D viewOriginAsPerceivedByModel, double panelHeight)
    
public  voidremoveListener(ViewportListener l)
    
public  voidsetJava2DConverter(Java2DConverter converter)
    
public  CoordinatetoModelCoordinate(Point2D viewPoint)
    
public  EnvelopetoModelEnvelope(double x1, double x2, double y1, double y2)
    
public  Point2DtoModelPoint(Point2D viewPoint)
    
public  Point2DtoViewPoint(Point2D modelPoint)
    
public  Point2DtoViewPoint(Coordinate modelCoordinate)
    
public  CollectiontoViewPoints(Collection modelCoordinates)
    
public  Rectangle2DtoViewRectangle(Envelope envelope)
    
public  voidupdate()
    
public  voidzoom(Point2D centreOfNewViewAsPerceivedByOldView, double widthOfNewViewAsPerceivedByOldView, double heightOfNewViewAsPerceivedByOldView)
     Of widthOfNewViewAsPerceivedByOldView and heightOfNewViewAsPerceivedByOldView, this method will choose the one producing the least zoom.
public  voidzoom(Envelope modelEnvelope)
    
public  voidzoomToFullExtent()
    
public  voidzoomToViewPoint(Point2D centreOfNewViewAsPerceivedByOldView, double zoomFactor)
    


Constructor Detail
Viewport
public Viewport(LayerViewPanel panel)(Code)




Method Detail
addListener
public void addListener(ViewportListener l)(Code)



fullExtent
public Envelope fullExtent()(Code)



getEnvelopeInModelCoordinates
public Envelope getEnvelopeInModelCoordinates()(Code)



getJava2DConverter
public Java2DConverter getJava2DConverter()(Code)



getModelToViewTransform
public AffineTransform getModelToViewTransform() throws NoninvertibleTransformException(Code)



getOriginInModelCoordinates
public Point2D getOriginInModelCoordinates()(Code)



getPanel
public LayerViewPanel getPanel()(Code)



getScale
public double getScale()(Code)



getZoomHistory
public ZoomHistory getZoomHistory()(Code)



initialize
public void initialize(double newScale, Point2D newViewOriginAsPerceivedByModel)(Code)
Set both values but repaint once.



modelToViewTransform
public static AffineTransform modelToViewTransform(double scale, Point2D viewOriginAsPerceivedByModel, double panelHeight)(Code)



removeListener
public void removeListener(ViewportListener l)(Code)



setJava2DConverter
public void setJava2DConverter(Java2DConverter converter)(Code)



toModelCoordinate
public Coordinate toModelCoordinate(Point2D viewPoint) throws NoninvertibleTransformException(Code)



toModelEnvelope
public Envelope toModelEnvelope(double x1, double x2, double y1, double y2) throws NoninvertibleTransformException(Code)



toModelPoint
public Point2D toModelPoint(Point2D viewPoint) throws NoninvertibleTransformException(Code)



toViewPoint
public Point2D toViewPoint(Point2D modelPoint) throws NoninvertibleTransformException(Code)



toViewPoint
public Point2D toViewPoint(Coordinate modelCoordinate) throws NoninvertibleTransformException(Code)



toViewPoints
public Collection toViewPoints(Collection modelCoordinates) throws NoninvertibleTransformException(Code)



toViewRectangle
public Rectangle2D toViewRectangle(Envelope envelope) throws NoninvertibleTransformException(Code)



update
public void update() throws NoninvertibleTransformException(Code)



zoom
public void zoom(Point2D centreOfNewViewAsPerceivedByOldView, double widthOfNewViewAsPerceivedByOldView, double heightOfNewViewAsPerceivedByOldView) throws NoninvertibleTransformException(Code)
Of widthOfNewViewAsPerceivedByOldView and heightOfNewViewAsPerceivedByOldView, this method will choose the one producing the least zoom.



zoom
public void zoom(Envelope modelEnvelope) throws NoninvertibleTransformException(Code)



zoomToFullExtent
public void zoomToFullExtent() throws NoninvertibleTransformException(Code)



zoomToViewPoint
public void zoomToViewPoint(Point2D centreOfNewViewAsPerceivedByOldView, double zoomFactor) throws NoninvertibleTransformException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.