Java Doc for HSSFShape.java in  » Collaboration » poi-3.0.2-beta2 » org » apache » poi » hssf » usermodel » 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 » Collaboration » poi 3.0.2 beta2 » org.apache.poi.hssf.usermodel 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.poi.hssf.usermodel.HSSFShape

All known Subclasses:   org.apache.poi.hssf.usermodel.HSSFSimpleShape,  org.apache.poi.hssf.usermodel.HSSFPolygon,  org.apache.poi.hssf.usermodel.HSSFShapeGroup,
HSSFShape
abstract public class HSSFShape (Code)
An abstract shape.
author:
   Glen Stampoultzis (glens at apache.org)


Field Summary
final public static  intLINESTYLE_DASHDOTDOTSYS
    
final public static  intLINESTYLE_DASHDOTGEL
    
final public static  intLINESTYLE_DASHDOTSYS
    
final public static  intLINESTYLE_DASHGEL
    
final public static  intLINESTYLE_DASHSYS
    
final public static  intLINESTYLE_DOTGEL
    
final public static  intLINESTYLE_DOTSYS
    
final public static  intLINESTYLE_LONGDASHDOTDOTGEL
    
final public static  intLINESTYLE_LONGDASHDOTGEL
    
final public static  intLINESTYLE_LONGDASHGEL
    
final public static  intLINESTYLE_NONE
    
final public static  intLINESTYLE_SOLID
    
final public static  intLINEWIDTH_DEFAULT
    
final public static  intLINEWIDTH_ONE_PT
    
 HSSFAnchoranchor
    
 intfillColor
    
 intlineStyle
    
 intlineStyleColor
    
 intlineWidth
    
 booleannoFill
    
 HSSFShapeparent
    

Constructor Summary
 HSSFShape(HSSFShape parent, HSSFAnchor anchor)
     Create a new shape with the specified parent and anchor.

Method Summary
public  intcountOfAllChildren()
     Count of all children and their childrens children.
public  HSSFAnchorgetAnchor()
    
public  intgetFillColor()
     The color used to fill this shape.
public  intgetLineStyle()
    
public  intgetLineStyleColor()
     The color applied to the lines of this shape.
public  intgetLineWidth()
     returns with width of the line in EMUs.
public  HSSFShapegetParent()
     Gets the parent shape.
public  booleanisNoFill()
    
public  voidsetAnchor(HSSFAnchor anchor)
     Sets a particular anchor.
public  voidsetFillColor(int fillColor)
     The color used to fill this shape.
public  voidsetFillColor(int red, int green, int blue)
     The color used to fill this shape.
public  voidsetLineStyle(int lineStyle)
     Sets the line style.
public  voidsetLineStyleColor(int lineStyleColor)
     The color applied to the lines of this shape.
public  voidsetLineStyleColor(int red, int green, int blue)
     The color applied to the lines of this shape.
public  voidsetLineWidth(int lineWidth)
     Sets the width of the line.
public  voidsetNoFill(boolean noFill)
     Sets whether this shape is filled or transparent.

Field Detail
LINESTYLE_DASHDOTDOTSYS
final public static int LINESTYLE_DASHDOTDOTSYS(Code)



LINESTYLE_DASHDOTGEL
final public static int LINESTYLE_DASHDOTGEL(Code)



LINESTYLE_DASHDOTSYS
final public static int LINESTYLE_DASHDOTSYS(Code)



LINESTYLE_DASHGEL
final public static int LINESTYLE_DASHGEL(Code)



LINESTYLE_DASHSYS
final public static int LINESTYLE_DASHSYS(Code)



LINESTYLE_DOTGEL
final public static int LINESTYLE_DOTGEL(Code)



LINESTYLE_DOTSYS
final public static int LINESTYLE_DOTSYS(Code)



LINESTYLE_LONGDASHDOTDOTGEL
final public static int LINESTYLE_LONGDASHDOTDOTGEL(Code)



LINESTYLE_LONGDASHDOTGEL
final public static int LINESTYLE_LONGDASHDOTGEL(Code)



LINESTYLE_LONGDASHGEL
final public static int LINESTYLE_LONGDASHGEL(Code)



LINESTYLE_NONE
final public static int LINESTYLE_NONE(Code)



LINESTYLE_SOLID
final public static int LINESTYLE_SOLID(Code)



LINEWIDTH_DEFAULT
final public static int LINEWIDTH_DEFAULT(Code)



LINEWIDTH_ONE_PT
final public static int LINEWIDTH_ONE_PT(Code)



anchor
HSSFAnchor anchor(Code)



fillColor
int fillColor(Code)



lineStyle
int lineStyle(Code)



lineStyleColor
int lineStyleColor(Code)



lineWidth
int lineWidth(Code)



noFill
boolean noFill(Code)



parent
HSSFShape parent(Code)




Constructor Detail
HSSFShape
HSSFShape(HSSFShape parent, HSSFAnchor anchor)(Code)
Create a new shape with the specified parent and anchor.




Method Detail
countOfAllChildren
public int countOfAllChildren()(Code)
Count of all children and their childrens children.



getAnchor
public HSSFAnchor getAnchor()(Code)
the anchor that is used by this shape.



getFillColor
public int getFillColor()(Code)
The color used to fill this shape.



getLineStyle
public int getLineStyle()(Code)
One of the constants in LINESTYLE_*



getLineStyleColor
public int getLineStyleColor()(Code)
The color applied to the lines of this shape.



getLineWidth
public int getLineWidth()(Code)
returns with width of the line in EMUs. 12700 = 1 pt.



getParent
public HSSFShape getParent()(Code)
Gets the parent shape.



isNoFill
public boolean isNoFill()(Code)
true if this shape is not filled with a color.



setAnchor
public void setAnchor(HSSFAnchor anchor)(Code)
Sets a particular anchor. A top-level shape must have an anchor of HSSFClientAnchor. A child anchor must have an anchor of HSSFChildAnchor
Parameters:
  anchor - the anchor to use.
throws:
  IllegalArgumentException - when the wrong anchor is used forthis particular shape.
See Also:   HSSFChildAnchor
See Also:   HSSFClientAnchor



setFillColor
public void setFillColor(int fillColor)(Code)
The color used to fill this shape.



setFillColor
public void setFillColor(int red, int green, int blue)(Code)
The color used to fill this shape.



setLineStyle
public void setLineStyle(int lineStyle)(Code)
Sets the line style.
Parameters:
  lineStyle - One of the constants in LINESTYLE_*



setLineStyleColor
public void setLineStyleColor(int lineStyleColor)(Code)
The color applied to the lines of this shape.



setLineStyleColor
public void setLineStyleColor(int red, int green, int blue)(Code)
The color applied to the lines of this shape.



setLineWidth
public void setLineWidth(int lineWidth)(Code)
Sets the width of the line. 12700 = 1 pt.
Parameters:
  lineWidth - width in EMU's. 12700EMU's = 1 pt
See Also:   HSSFShape.LINEWIDTH_ONE_PT



setNoFill
public void setNoFill(boolean noFill)(Code)
Sets whether this shape is filled or transparent.



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.