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


com.jeta.forms.store.properties.JETAProperty
   com.jeta.forms.store.properties.effects.RadialGradientProperty

RadialGradientProperty
public class RadialGradientProperty extends JETAProperty implements PaintSupport(Code)
Property for storing settings for a radial gradient effect. See: com.jeta.forms.gui.effects.RadialGradientPainter
author:
   Jeff Tassin


Field Summary
final public static  intBOTTOM_CENTER
    
final public static  intBOTTOM_LEFT
    
final public static  intBOTTOM_RIGHT
    
final public static  intCENTER
    
final public static  intLEFT_CENTER
    
final public static  intRIGHT_CENTER
    
final public static  intTOP_CENTER
    
final public static  intTOP_LEFT
    
final public static  intTOP_RIGHT
    
final public static  intVERSION
    
final static  longserialVersionUID
    

Constructor Summary
public  RadialGradientProperty()
     Creates an uninitialized RadialGradientProperty instance.
public  RadialGradientProperty(ColorProperty startColor, ColorProperty endColor, int position, int magnitude)
     Creates an uninitialized RadialGradientProperty instance.

Method Summary
public  PaintercreatePainter()
     PaintSupport implementation.
public  ColorPropertygetEndColor()
     Returns the end color.
public  intgetMagnitude()
     Returns the rate of change from one color to the next.
public  intgetPosition()
     Returns the center of the radial gradient.
public  ColorPropertygetStartColor()
     Returns the color at the center of the radial.
public  voidread(JETAObjectInput in)
    
public  voidsetEndColor(ColorProperty c)
     Sets the end color.
public  voidsetMagnitude(int mag)
     Sets the rate of change from one color to the next.
public  voidsetPosition(int position)
     Sets the position of the radial center.
Parameters:
  position - the location of the center of the gradient.
public  voidsetStartColor(ColorProperty c)
     Sets the color at the center of the radial.
public  voidsetValue(Object prop)
     Sets this property to that of another property.
public  StringtoString()
    
public  voidupdateBean(JETABean jbean)
     Updates the bean.
public  voidwrite(JETAObjectOutput out)
    

Field Detail
BOTTOM_CENTER
final public static int BOTTOM_CENTER(Code)



BOTTOM_LEFT
final public static int BOTTOM_LEFT(Code)



BOTTOM_RIGHT
final public static int BOTTOM_RIGHT(Code)



CENTER
final public static int CENTER(Code)



LEFT_CENTER
final public static int LEFT_CENTER(Code)



RIGHT_CENTER
final public static int RIGHT_CENTER(Code)



TOP_CENTER
final public static int TOP_CENTER(Code)



TOP_LEFT
final public static int TOP_LEFT(Code)



TOP_RIGHT
final public static int TOP_RIGHT(Code)



VERSION
final public static int VERSION(Code)



serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
RadialGradientProperty
public RadialGradientProperty()(Code)
Creates an uninitialized RadialGradientProperty instance.



RadialGradientProperty
public RadialGradientProperty(ColorProperty startColor, ColorProperty endColor, int position, int magnitude)(Code)
Creates an uninitialized RadialGradientProperty instance.
Parameters:
  startColor - the start color for the gradient




Method Detail
createPainter
public Painter createPainter()(Code)
PaintSupport implementation. Creates a painter that renders a radial gradient using the attributes defined in this object.



getEndColor
public ColorProperty getEndColor()(Code)
Returns the end color. the end color



getMagnitude
public int getMagnitude()(Code)
Returns the rate of change from one color to the next. 100 is the default value.



getPosition
public int getPosition()(Code)
Returns the center of the radial gradient. Valid values: TOP_LEFT, TOP_CENTER, TOP_RIGHT, CENTER, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT, LEFT_CENTER, RIGHT_CENTER



getStartColor
public ColorProperty getStartColor()(Code)
Returns the color at the center of the radial. the start color



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



setEndColor
public void setEndColor(ColorProperty c)(Code)
Sets the end color.
Parameters:
  c - the end color



setMagnitude
public void setMagnitude(int mag)(Code)
Sets the rate of change from one color to the next. 100 is the default value.
Parameters:
  mag - the magnitude



setPosition
public void setPosition(int position)(Code)
Sets the position of the radial center.
Parameters:
  position - the location of the center of the gradient. Valid values:TOP_LEFT, TOP_CENTER, TOP_RIGHT, CENTER, BOTTOM_LEFT,BOTTOM_CENTER, BOTTOM_RIGHT, LEFT_CENTER, RIGHT_CENTER



setStartColor
public void setStartColor(ColorProperty c)(Code)
Sets the color at the center of the radial.
Parameters:
  c - the start color



setValue
public void setValue(Object prop)(Code)
Sets this property to that of another property.



toString
public String toString()(Code)
a string representation of this proprety



updateBean
public void updateBean(JETABean jbean)(Code)
Updates the bean. Gets the underlying Java bean component associated with this property and if that component implements the Paintable interface, sets the background painter.



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



Fields inherited from com.jeta.forms.store.properties.JETAProperty
final public static int VERSION(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.