Java Doc for Drawable.java in  » Scripting » hecl » org » 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 » Scripting » hecl » org.graphics 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.graphics.Drawable

Drawable
public class Drawable (Code)


Field Summary
final public static  shortLT_DOTTED
    
final public static  shortLT_SOLID
    
protected  Colorbgcol
    
protected  Fontcurrf
    
protected  VFontcurrvf
    
final public static  Stringdefvfont
    
protected  Colorfgcol
    
protected  Graphicsg
    
protected  inth
    
protected  shortlinestipple
    
protected  intlinestipplefactor
    
protected  intlinewidth
    
protected  booleanneedflush
    
protected  doubletx
    
protected  doublety
    
protected static  Hashtablevfonttab
    
protected  intw
    

Constructor Summary
public  Drawable(Graphics agraphics, int width, int height)
    

Method Summary
public  voidclear()
    
public  voidclipRect(int x, int y, int width, int height)
    
public  voidclipRect(Rectangle r)
    
public  voidcopyArea(Point2D p, Dimension d, Point2D dst, int anchor)
    
public  voiddrawArc(Point2D p, Dimension d, int startAngle, int arcAngle, boolean filled)
    
public  voiddrawChar(char character, int x, int y, int anchor)
    
public  voiddrawChar(char character, Point2D p, int anchor)
    
public  voiddrawChars(char[] data, int offset, int length, int x, int y, int anchor)
    
public  voiddrawChars(char[] data, int offset, int length, Point2D p, int anchor)
    
public  voiddrawImage(Image img, int x, int y, ImageObserver observer)
    
public  voiddrawImage(Image img, Point2D p, ImageObserver observer)
    
public  voiddrawImage(Image img, int x, int y, int anchor)
    
public  voiddrawImage(Image img, Point2D p, int anchor)
    
public  voiddrawLine(int fromx, int fromy, int tox, int toy)
    
public  voiddrawLine(Point2D from, Point2D to)
    
public  voiddrawPoint(Point2D p)
    
public  voiddrawPolygon(int n, Point2D[] points, boolean filled)
    
public  voiddrawRGB(int[] rgbData, int offset, int scanlength, int x, int y, int width, int height, boolean processAlpha)
    
public  voiddrawRGB(int[] rgbData, int offset, int scanlength, Point2D p, Dimension d, boolean processAlpha)
    
public  voiddrawRect(int x, int y, int width, int height, boolean filled)
    
public  voiddrawRect(Point2D p, Dimension d, boolean filled)
    
public  voiddrawRegion(Image src, int srcx, int srcy, int width, int height, int transform, int dstx, int dsty, int anchor)
    
public  voiddrawRegion(Image src, Point2D psrc, Dimension d, int transform, Point2D dest, int anchor)
    
public  voiddrawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
    
public  voiddrawRoundRect(Point2D p, Dimension d, int arcWidth, int arcHeight)
    
public  voiddrawString(String str, int x, int y, int anchor)
    
public  voiddrawString(String str, Point2D p, int anchor)
    
public  voiddrawVString(String str, Point2D p)
    
public  voiddrawVString(String str, Point2D p, int anchor)
    
public  voiddrawVString(String str, Point2D p, int anchor, double sx, double sy, double rotindegree, double slantintanrad)
    
public  RectangleextentVString(String str, Point2D p, int anchor, Rectangle r)
    
public  voidfillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
    
public  voidfillRoundRect(Point2D p, Dimension d, int arcWidth, int arcHeight)
    
public  voidfillTriangle(int x1, int y1, int x2, int y2, int x3, int y3)
    
public  voidfillTriangle(Point p1, Point p2, Point p3)
    
public  voidflush()
    
protected  intfromX(int x)
    
protected  intfromY(int y)
    
public  ColorgetBackground()
    
public  RectanglegetClipBounds(Rectangle r)
    
public  RectanglegetClipBounds(Rectangle r)
    
public  RectanglegetClipBounds()
    
public  ColorgetColor()
    
public  FontgetFont()
    
public  GraphicsgetGraphics()
    
public  intgetGrayScale()
    
public  shortgetLineStipple()
    
public  intgetLineType()
    
public  intgetLineWidth()
    
public  VFontgetVFont()
    
public  booleanneedsFlush()
    
public  voidresize(int newWidth, int newHeight)
    
protected static  intround(double x)
    
public  voidsetBackground(Color c)
    
public  voidsetClip(int x, int y, int width, int height)
    
public  voidsetClip(Rectangle r)
    
public  voidsetColor(Color c)
    
public  voidsetFont(Font f)
    
public  voidsetGrayScale(int value)
    
public  voidsetLineStipple(short stipple)
    
public  voidsetLineStipple(int factor, short stipple)
    
public  voidsetLineWidth(int width)
    
public  voidsetVFont(String name)
    
public  voidsetVFont(VFont vf)
    
protected  inttoX(Point2D p)
    
protected  inttoX(int x)
    
protected  inttoY(Point2D p)
    
protected  inttoY(int y)
    
public  voidxline(Point2D from, Point2D to)
    
public  voidxline(int fromx, int fromy, int tox, int toy)
    

Field Detail
LT_DOTTED
final public static short LT_DOTTED(Code)



LT_SOLID
final public static short LT_SOLID(Code)



bgcol
protected Color bgcol(Code)



currf
protected Font currf(Code)



currvf
protected VFont currvf(Code)



defvfont
final public static String defvfont(Code)



fgcol
protected Color fgcol(Code)



g
protected Graphics g(Code)



h
protected int h(Code)



linestipple
protected short linestipple(Code)



linestipplefactor
protected int linestipplefactor(Code)



linewidth
protected int linewidth(Code)



needflush
protected boolean needflush(Code)



tx
protected double tx(Code)



ty
protected double ty(Code)



vfonttab
protected static Hashtable vfonttab(Code)



w
protected int w(Code)




Constructor Detail
Drawable
public Drawable(Graphics agraphics, int width, int height)(Code)




Method Detail
clear
public void clear()(Code)



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



clipRect
public void clipRect(Rectangle r)(Code)



copyArea
public void copyArea(Point2D p, Dimension d, Point2D dst, int anchor)(Code)



drawArc
public void drawArc(Point2D p, Dimension d, int startAngle, int arcAngle, boolean filled)(Code)



drawChar
public void drawChar(char character, int x, int y, int anchor)(Code)



drawChar
public void drawChar(char character, Point2D p, int anchor)(Code)



drawChars
public void drawChars(char[] data, int offset, int length, int x, int y, int anchor)(Code)



drawChars
public void drawChars(char[] data, int offset, int length, Point2D p, int anchor)(Code)



drawImage
public void drawImage(Image img, int x, int y, ImageObserver observer)(Code)



drawImage
public void drawImage(Image img, Point2D p, ImageObserver observer)(Code)



drawImage
public void drawImage(Image img, int x, int y, int anchor)(Code)



drawImage
public void drawImage(Image img, Point2D p, int anchor)(Code)



drawLine
public void drawLine(int fromx, int fromy, int tox, int toy)(Code)



drawLine
public void drawLine(Point2D from, Point2D to)(Code)



drawPoint
public void drawPoint(Point2D p)(Code)



drawPolygon
public void drawPolygon(int n, Point2D[] points, boolean filled)(Code)



drawRGB
public void drawRGB(int[] rgbData, int offset, int scanlength, int x, int y, int width, int height, boolean processAlpha)(Code)



drawRGB
public void drawRGB(int[] rgbData, int offset, int scanlength, Point2D p, Dimension d, boolean processAlpha)(Code)



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



drawRect
public void drawRect(Point2D p, Dimension d, boolean filled)(Code)



drawRegion
public void drawRegion(Image src, int srcx, int srcy, int width, int height, int transform, int dstx, int dsty, int anchor)(Code)



drawRegion
public void drawRegion(Image src, Point2D psrc, Dimension d, int transform, Point2D dest, int anchor)(Code)



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



drawRoundRect
public void drawRoundRect(Point2D p, Dimension d, int arcWidth, int arcHeight)(Code)



drawString
public void drawString(String str, int x, int y, int anchor)(Code)



drawString
public void drawString(String str, Point2D p, int anchor)(Code)



drawVString
public void drawVString(String str, Point2D p)(Code)



drawVString
public void drawVString(String str, Point2D p, int anchor)(Code)



drawVString
public void drawVString(String str, Point2D p, int anchor, double sx, double sy, double rotindegree, double slantintanrad)(Code)



extentVString
public Rectangle extentVString(String str, Point2D p, int anchor, Rectangle r)(Code)



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



fillRoundRect
public void fillRoundRect(Point2D p, Dimension d, int arcWidth, int arcHeight)(Code)



fillTriangle
public void fillTriangle(int x1, int y1, int x2, int y2, int x3, int y3)(Code)



fillTriangle
public void fillTriangle(Point p1, Point p2, Point p3)(Code)



flush
public void flush()(Code)



fromX
protected int fromX(int x)(Code)



fromY
protected int fromY(int y)(Code)



getBackground
public Color getBackground()(Code)



getClipBounds
public Rectangle getClipBounds(Rectangle r)(Code)



getClipBounds
public Rectangle getClipBounds(Rectangle r)(Code)



getClipBounds
public Rectangle getClipBounds()(Code)



getColor
public Color getColor()(Code)



getFont
public Font getFont()(Code)



getGraphics
public Graphics getGraphics()(Code)



getGrayScale
public int getGrayScale()(Code)



getLineStipple
public short getLineStipple()(Code)



getLineType
public int getLineType()(Code)



getLineWidth
public int getLineWidth()(Code)



getVFont
public VFont getVFont()(Code)



needsFlush
public boolean needsFlush()(Code)



resize
public void resize(int newWidth, int newHeight)(Code)



round
protected static int round(double x)(Code)



setBackground
public void setBackground(Color c)(Code)



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



setClip
public void setClip(Rectangle r)(Code)



setColor
public void setColor(Color c)(Code)



setFont
public void setFont(Font f)(Code)



setGrayScale
public void setGrayScale(int value)(Code)



setLineStipple
public void setLineStipple(short stipple)(Code)



setLineStipple
public void setLineStipple(int factor, short stipple)(Code)



setLineWidth
public void setLineWidth(int width)(Code)



setVFont
public void setVFont(String name)(Code)



setVFont
public void setVFont(VFont vf)(Code)



toX
protected int toX(Point2D p)(Code)



toX
protected int toX(int x)(Code)



toY
protected int toY(Point2D p)(Code)



toY
protected int toY(int y)(Code)



xline
public void xline(Point2D from, Point2D to)(Code)



xline
public void xline(int fromx, int fromy, int tox, int toy)(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.