Java Doc for LineProperty.java in  » Swing-Library » abeille-forms-designer » com » jeta » forms » store » properties » 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 » Swing Library » abeille forms designer » com.jeta.forms.store.properties 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.jeta.forms.store.properties.JETAProperty
   com.jeta.forms.store.properties.LineProperty

LineProperty
public class LineProperty extends JETAProperty (Code)
A LineProperty is used to define the attributes for a single line in a compound line component. See: com.jeta.forms.store.CompoundLineProperty
author:
   Jeff Tassin


Field Summary
final public static  StringPROPERTY_ID
    
final public static  intVERSION
     The version for this class.
final static  longserialVersionUID
    

Constructor Summary
public  LineProperty()
     Creates a LineProperty object with a thickness of 1 pixel and a black color.

Method Summary
public  ColorgetColor()
     Returns the line color.
public  ColorPropertygetColorProperty()
     Returns the color property that defines the line color.
public  float[]getDash()
     Returns the stroke style.
public  StrokegetStroke(int maxThickness)
     Returns a Stroke object that is used to render the line in a graphics context.
Parameters:
  maxThickness - defines the maximum thickness for the stroke.
public  StrokegetStroke()
     Returns the Stroke object used to render the line.
public  intgetThickness()
     Returns the line thickness in pixels.
public  voidprint()
    
public  voidread(JETAObjectInput in)
    
public  voidsetColorProperty(ColorProperty cprop)
     Sets the line color.
public  voidsetConstantColor(Color c)
    
public  voidsetDash(float[] dash)
     Sets the stroke style.
public  voidsetThickness(int t)
    
public  voidsetValue(Object prop)
    
public  voidupdateBean(JETABean jbean)
     JETAProperty implementation.
public  voidwrite(JETAObjectOutput out)
    

Field Detail
PROPERTY_ID
final public static String PROPERTY_ID(Code)



VERSION
final public static int VERSION(Code)
The version for this class.



serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
LineProperty
public LineProperty()(Code)
Creates a LineProperty object with a thickness of 1 pixel and a black color.




Method Detail
getColor
public Color getColor()(Code)
Returns the line color. the line color



getColorProperty
public ColorProperty getColorProperty()(Code)
Returns the color property that defines the line color. the color property



getDash
public float[] getDash()(Code)
Returns the stroke style. Currently not used. the stroke style



getStroke
public Stroke getStroke(int maxThickness)(Code)
Returns a Stroke object that is used to render the line in a graphics context.
Parameters:
  maxThickness - defines the maximum thickness for the stroke. If the linethickness for this property is greater than the maxThickness,then the maxThickness is used. the stroke object.



getStroke
public Stroke getStroke()(Code)
Returns the Stroke object used to render the line. a stroke defined by this property



getThickness
public int getThickness()(Code)
Returns the line thickness in pixels. the line thickness



print
public void print()(Code)
Prints this component state to the console



read
public void read(JETAObjectInput in) throws ClassNotFoundException, IOException(Code)
JETAPersistable Implementation



setColorProperty
public void setColorProperty(ColorProperty cprop)(Code)
Sets the line color.
Parameters:
  cprop - a color property.



setConstantColor
public void setConstantColor(Color c)(Code)
Sets the color property to constant using the specified color
Parameters:
  c - the color to apply to this line.



setDash
public void setDash(float[] dash)(Code)
Sets the stroke style. Currently not used.



setThickness
public void setThickness(int t)(Code)
Sets the line thickness
Parameters:
  t - the line thickness



setValue
public void setValue(Object prop)(Code)
Sets this property to that of another LineProperty
Parameters:
  prop - a LineProperty instance.



updateBean
public void updateBean(JETABean jbean)(Code)
JETAProperty implementation. No op for this property.



write
public void write(JETAObjectOutput out) throws IOException(Code)
JETAPersistable Implementation



Fields inherited from com.jeta.forms.store.properties.JETAProperty
final public static int VERSION(Code)(Java Doc)
final static long serialVersionUID(Code)(Java Doc)

Methods inherited from com.jeta.forms.store.properties.JETAProperty
public boolean equals(Object object)(Code)(Java Doc)
public String getName()(Code)(Java Doc)
protected static boolean isCollectionsEqual(Collection c1, Collection c2)(Code)(Java Doc)
protected static boolean isEqual(Object o1, Object o2)(Code)(Java Doc)
public boolean isPreferred()(Code)(Java Doc)
public boolean isTransient()(Code)(Java Doc)
public void postInitialize(FormPanel panel, JETABean jbean)(Code)(Java Doc)
public void read(JETAObjectInput in) throws ClassNotFoundException, IOException(Code)(Java Doc)
public void setPreferred(boolean pref)(Code)(Java Doc)
abstract public void setValue(Object obj)(Code)(Java Doc)
abstract public void updateBean(JETABean jbean)(Code)(Java Doc)
public void write(JETAObjectOutput out) throws IOException(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.