Java Doc for AWTGraphics.java in  » GIS » udig-1.1 » net » refractions » udig » ui » graphics » 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 » udig 1.1 » net.refractions.udig.ui.graphics 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.refractions.udig.ui.graphics.AWTGraphics

AWTGraphics
public class AWTGraphics implements ViewportGraphics(Code)


Field Summary
public  Graphics2Dg
    

Constructor Summary
public  AWTGraphics(Graphics2D g)
    

Method Summary
public  voidclearRect(int x, int y, int width, int height)
    
public  voiddispose()
    
public  voiddraw(Shape s)
    
public  voiddrawImage(RenderedImage image, int x, int y)
    
public  voiddrawImage(Image image, int x, int y)
    
public  voiddrawImage(Image image, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2)
    
public  voiddrawImage(org.eclipse.swt.graphics.Image image, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2)
    
public  voiddrawImage(org.eclipse.swt.graphics.Image swtImage, int x, int y)
    
public  voiddrawLine(int x1, int y1, int x2, int y2)
    
public  voiddrawOval(int x, int y, int width, int height)
    
public  voiddrawPath(Path path)
    
public  voiddrawRect(int x, int y, int width, int height)
    
public  voiddrawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
    
public  voiddrawString(String string, int x, int y, int alignx, int aligny)
    
public  voidfill(Shape s)
    
public  voidfillOval(int x, int y, int width, int height)
    
public  voidfillPath(Path path)
    
public  voidfillRect(int x, int y, int width, int height)
    
public  voidfillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
    
public  ColorgetBackgroundColor()
    
public  ShapegetClip()
    
public  ColorgetColor()
    
public  intgetFontAscent()
    
public  intgetFontHeight()
    
public  Rectangle2DgetStringBounds(String str)
    
public  AffineTransformgetTransform()
    
public  voidsetBackground(Color c)
    
public  voidsetClip(Rectangle r)
    
public  voidsetClipBounds(Rectangle newBounds)
    
public  voidsetColor(Color c)
    
public  voidsetStroke(int style, int width)
    
public  voidsetTransform(AffineTransform transform)
    
public  intstringWidth(String str)
    
public static  BufferedImagetoAwtImage(ImageData swtImageData)
    
public  voidtranslate(Point offset)
    

Field Detail
g
public Graphics2D g(Code)




Constructor Detail
AWTGraphics
public AWTGraphics(Graphics2D g)(Code)




Method Detail
clearRect
public void clearRect(int x, int y, int width, int height)(Code)

See Also:   net.refractions.udig.ui.graphics.ViewportGraphics.clearRect(intintintint)



dispose
public void dispose()(Code)



draw
public void draw(Shape s)(Code)

See Also:   net.refractions.udig.ui.graphics.ViewportGraphics.draw(java.awt.Shape)



drawImage
public void drawImage(RenderedImage image, int x, int y)(Code)

See Also:   net.refractions.udig.ui.graphics.ViewportGraphics.drawImage(javax.media.jai.PlanarImageintint)



drawImage
public void drawImage(Image image, int x, int y)(Code)

See Also:   net.refractions.udig.ui.graphics.ViewportGraphics.drawImage(java.awt.Imageintint)



drawImage
public void drawImage(Image image, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2)(Code)



drawImage
public void drawImage(org.eclipse.swt.graphics.Image image, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2)(Code)



drawImage
public void drawImage(org.eclipse.swt.graphics.Image swtImage, int x, int y)(Code)



drawLine
public void drawLine(int x1, int y1, int x2, int y2)(Code)



drawOval
public void drawOval(int x, int y, int width, int height)(Code)



drawPath
public void drawPath(Path path)(Code)



drawRect
public void drawRect(int x, int y, int width, int height)(Code)



drawRoundRect
public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code)



drawString
public void drawString(String string, int x, int y, int alignx, int aligny)(Code)

See Also:   net.refractions.udig.ui.graphics.ViewportGraphics.drawString(Stringintint)



fill
public void fill(Shape s)(Code)

See Also:   net.refractions.udig.ui.graphics.ViewportGraphics.draw(java.awt.Shape)



fillOval
public void fillOval(int x, int y, int width, int height)(Code)



fillPath
public void fillPath(Path path)(Code)



fillRect
public void fillRect(int x, int y, int width, int height)(Code)

See Also:   net.refractions.udig.ui.graphics.ViewportGraphics.fillRect(intintintint)



fillRoundRect
public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code)



getBackgroundColor
public Color getBackgroundColor()(Code)



getClip
public Shape getClip()(Code)



getColor
public Color getColor()(Code)



getFontAscent
public int getFontAscent()(Code)



getFontHeight
public int getFontHeight()(Code)



getStringBounds
public Rectangle2D getStringBounds(String str)(Code)



getTransform
public AffineTransform getTransform()(Code)



setBackground
public void setBackground(Color c)(Code)

See Also:   net.refractions.udig.ui.graphics.ViewportGraphics.setBackground(java.awt.Color)



setClip
public void setClip(Rectangle r)(Code)

See Also:   net.refractions.udig.ui.graphics.ViewportGraphics.setClip(java.awt.Rectangle)



setClipBounds
public void setClipBounds(Rectangle newBounds)(Code)



setColor
public void setColor(Color c)(Code)

See Also:   net.refractions.udig.ui.graphics.ViewportGraphics.setColor(java.awt.Color)



setStroke
public void setStroke(int style, int width)(Code)

See Also:   net.refractions.udig.ui.graphics.ViewportGraphics.setStroke(intint)



setTransform
public void setTransform(AffineTransform transform)(Code)

See Also:   net.refractions.udig.ui.graphics.ViewportGraphics.setTransform(java.awt.geom.AffineTransform)



stringWidth
public int stringWidth(String str)(Code)



toAwtImage
public static BufferedImage toAwtImage(ImageData swtImageData)(Code)
Converts an SWT image to an AWT BufferedImage
Parameters:
  swtImageData -



translate
public void translate(Point offset)(Code)

See Also:   net.refractions.udig.ui.graphics.ViewportGraphics.translate(java.awt.Point)



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.