Java Doc for Rectangle.java in  » Apache-Harmony-Java-SE » java-package » java » awt » 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 » Apache Harmony Java SE » java package » java.awt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.awt.geom.Rectangle2D
   java.awt.Rectangle

Rectangle
public class Rectangle extends Rectangle2D implements Shape,Serializable(Code)


Field Summary
public  intheight
    
public  intwidth
    
public  intx
    
public  inty
    

Constructor Summary
public  Rectangle()
    
public  Rectangle(Point p)
    
public  Rectangle(Point p, Dimension d)
    
public  Rectangle(int x, int y, int width, int height)
    
public  Rectangle(int width, int height)
    
public  Rectangle(Rectangle r)
    
public  Rectangle(Dimension d)
    

Method Summary
public  voidadd(int px, int py)
    
public  voidadd(Point p)
    
public  voidadd(Rectangle r)
    
public  booleancontains(int px, int py)
    
public  booleancontains(Point p)
    
public  booleancontains(int rx, int ry, int rw, int rh)
    
public  booleancontains(Rectangle r)
    
public  Rectangle2DcreateIntersection(Rectangle2D r)
    
public  Rectangle2DcreateUnion(Rectangle2D r)
    
public  booleanequals(Object obj)
    
public  RectanglegetBounds()
    
public  Rectangle2DgetBounds2D()
    
public  doublegetHeight()
    
public  PointgetLocation()
    
public  DimensiongetSize()
    
public  doublegetWidth()
    
public  doublegetX()
    
public  doublegetY()
    
public  voidgrow(int dx, int dy)
    
public  booleaninside(int px, int py)
    
public  Rectangleintersection(Rectangle r)
    
public  booleanintersects(Rectangle r)
    
public  booleanisEmpty()
    
public  voidmove(int x, int y)
    
public  intoutcode(double px, double py)
    
public  voidreshape(int x, int y, int width, int height)
    
public  voidresize(int width, int height)
    
public  voidsetBounds(int x, int y, int width, int height)
    
public  voidsetBounds(Rectangle r)
    
public  voidsetLocation(int x, int y)
    
public  voidsetLocation(Point p)
    
public  voidsetRect(double x, double y, double width, double height)
    
public  voidsetSize(int width, int height)
    
public  voidsetSize(Dimension d)
    
public  StringtoString()
    
public  voidtranslate(int mx, int my)
    
public  Rectangleunion(Rectangle r)
    

Field Detail
height
public int height(Code)



width
public int width(Code)



x
public int x(Code)



y
public int y(Code)




Constructor Detail
Rectangle
public Rectangle()(Code)



Rectangle
public Rectangle(Point p)(Code)



Rectangle
public Rectangle(Point p, Dimension d)(Code)



Rectangle
public Rectangle(int x, int y, int width, int height)(Code)



Rectangle
public Rectangle(int width, int height)(Code)



Rectangle
public Rectangle(Rectangle r)(Code)



Rectangle
public Rectangle(Dimension d)(Code)




Method Detail
add
public void add(int px, int py)(Code)



add
public void add(Point p)(Code)



add
public void add(Rectangle r)(Code)



contains
public boolean contains(int px, int py)(Code)



contains
public boolean contains(Point p)(Code)



contains
public boolean contains(int rx, int ry, int rw, int rh)(Code)



contains
public boolean contains(Rectangle r)(Code)



createIntersection
public Rectangle2D createIntersection(Rectangle2D r)(Code)



createUnion
public Rectangle2D createUnion(Rectangle2D r)(Code)



equals
public boolean equals(Object obj)(Code)



getBounds
public Rectangle getBounds()(Code)



getBounds2D
public Rectangle2D getBounds2D()(Code)



getHeight
public double getHeight()(Code)



getLocation
public Point getLocation()(Code)



getSize
public Dimension getSize()(Code)



getWidth
public double getWidth()(Code)



getX
public double getX()(Code)



getY
public double getY()(Code)



grow
public void grow(int dx, int dy)(Code)



inside
public boolean inside(int px, int py)(Code)



intersection
public Rectangle intersection(Rectangle r)(Code)



intersects
public boolean intersects(Rectangle r)(Code)



isEmpty
public boolean isEmpty()(Code)



move
public void move(int x, int y)(Code)



outcode
public int outcode(double px, double py)(Code)



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



resize
public void resize(int width, int height)(Code)



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



setBounds
public void setBounds(Rectangle r)(Code)



setLocation
public void setLocation(int x, int y)(Code)



setLocation
public void setLocation(Point p)(Code)



setRect
public void setRect(double x, double y, double width, double height)(Code)



setSize
public void setSize(int width, int height)(Code)



setSize
public void setSize(Dimension d)(Code)



toString
public String toString()(Code)



translate
public void translate(int mx, int my)(Code)



union
public Rectangle union(Rectangle r)(Code)



Fields inherited from java.awt.geom.Rectangle2D
final public static int OUT_BOTTOM(Code)(Java Doc)
final public static int OUT_LEFT(Code)(Java Doc)
final public static int OUT_RIGHT(Code)(Java Doc)
final public static int OUT_TOP(Code)(Java Doc)

Methods inherited from java.awt.geom.Rectangle2D
public void add(double x, double y)(Code)(Java Doc)
public void add(Point2D p)(Code)(Java Doc)
public void add(Rectangle2D r)(Code)(Java Doc)
public boolean contains(double x, double y)(Code)(Java Doc)
public boolean contains(double x, double y, double width, double height)(Code)(Java Doc)
abstract public Rectangle2D createIntersection(Rectangle2D r)(Code)(Java Doc)
abstract public Rectangle2D createUnion(Rectangle2D r)(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public Rectangle2D getBounds2D()(Code)(Java Doc)
public PathIterator getPathIterator(AffineTransform t)(Code)(Java Doc)
public PathIterator getPathIterator(AffineTransform t, double flatness)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public static void intersect(Rectangle2D src1, Rectangle2D src2, Rectangle2D dst)(Code)(Java Doc)
public boolean intersects(double x, double y, double width, double height)(Code)(Java Doc)
public boolean intersectsLine(double x1, double y1, double x2, double y2)(Code)(Java Doc)
public boolean intersectsLine(Line2D l)(Code)(Java Doc)
abstract public int outcode(double x, double y)(Code)(Java Doc)
public int outcode(Point2D p)(Code)(Java Doc)
public void setFrame(double x, double y, double width, double height)(Code)(Java Doc)
abstract public void setRect(double x, double y, double width, double height)(Code)(Java Doc)
public void setRect(Rectangle2D r)(Code)(Java Doc)
public static void union(Rectangle2D src1, Rectangle2D src2, Rectangle2D dst)(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.