Java Doc for ShadowBorderProperty.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.BorderProperty
      com.jeta.forms.store.properties.ShadowBorderProperty

ShadowBorderProperty
public class ShadowBorderProperty extends BorderProperty (Code)
A ShadowBorderProperty defines the attributes needed to define a shadow border for a component. The Swing library does not define a shadow border, so one is defined in the forms code. See: com.jeta.forms.components.border.ShadowBorder
author:
   Jeff Tassin


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

Constructor Summary
public  ShadowBorderProperty()
    
public  ShadowBorderProperty(int type, int thickness, ColorProperty startColor, ColorProperty endColor, boolean symmetric)
     Creates a ShadowBorderProperty with the specified type, thickness and colors.

Method Summary
public  BordercreateBorder(Component comp)
     BorderProperty implementation.
public  ColorPropertygetEndColor()
    
public  ColorPropertygetStartColor()
    
public  intgetThickness()
     Returns the thickness of the border.
public  intgetType()
    
public  booleanisSymmetric()
     Returns the flag that indicates if the border takes up the same space on the top/left as the bottom/right.
public  voidread(JETAObjectInput in)
    
public  voidsetEndColor(ColorProperty c)
     Sets the end color for the border.
public  voidsetStartColor(ColorProperty c)
     Sets the start color for the border.
public  voidsetSymmetric(boolean symmetric)
     Sets the flag that controls the border symmetry.
public  voidsetThickness(int t)
    
public  voidsetType(int type)
     Sets the type of shadow for this border.
public  voidsetValue(Object prop)
    
public  StringtoString()
    
public  voidwrite(JETAObjectOutput out)
    

Field Detail
GRADIENT
final public static int GRADIENT(Code)



SOLID
final public static int SOLID(Code)



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



serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
ShadowBorderProperty
public ShadowBorderProperty()(Code)
Creates an unitialized ShadowBorderProperty



ShadowBorderProperty
public ShadowBorderProperty(int type, int thickness, ColorProperty startColor, ColorProperty endColor, boolean symmetric)(Code)
Creates a ShadowBorderProperty with the specified type, thickness and colors.
Parameters:
  type - the type of shadow: SOLID or GRADIENT
Parameters:
  thickness - the thickness of the border
Parameters:
  startColor - the start color
Parameters:
  endColor - the end color
Parameters:
  symmetric - flag that indicates if the border is symmetric.




Method Detail
createBorder
public Border createBorder(Component comp)(Code)
BorderProperty implementation. Creates a ShadowBorder instance with the attributes of this object. a border instance that can be applied to any Swing component.



getEndColor
public ColorProperty getEndColor()(Code)
Returns the end color property for the border the end color property



getStartColor
public ColorProperty getStartColor()(Code)
Returns the start color property for the border the start color property



getThickness
public int getThickness()(Code)
Returns the thickness of the border. the border thickness.



getType
public int getType()(Code)
Returns the type of shadow: SOLID or GRADIENT the type of shadow.



isSymmetric
public boolean isSymmetric()(Code)
Returns the flag that indicates if the border takes up the same space on the top/left as the bottom/right. If false, the border has zero padding on the top and left sides. the symmetric flag for this border.



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



setEndColor
public void setEndColor(ColorProperty c)(Code)
Sets the end color for the border. This only has an effect for GRADIENT shadows.
Parameters:
  c - the end color for the border.



setStartColor
public void setStartColor(ColorProperty c)(Code)
Sets the start color for the border.
Parameters:
  c - the start color for the border



setSymmetric
public void setSymmetric(boolean symmetric)(Code)
Sets the flag that controls the border symmetry.
Parameters:
  symmetric - if true the border will have equal padding on the top/bottomand left/right



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



setType
public void setType(int type)(Code)
Sets the type of shadow for this border. Either SOLID or GRADIENT.
Parameters:
  type - the type of shadow



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



toString
public String toString()(Code)



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



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

Methods inherited from com.jeta.forms.store.properties.BorderProperty
public Border createBorder(Component comp)(Code)(Java Doc)
public Border createTitle(Border b)(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
public static int fromJustificationString(String just)(Code)(Java Doc)
public static int fromPositionString(String pos)(Code)(Java Doc)
public int getJustification()(Code)(Java Doc)
public int getPosition()(Code)(Java Doc)
public Color getTextColor()(Code)(Java Doc)
public ColorProperty getTextColorProperty()(Code)(Java Doc)
public Font getTextFont()(Code)(Java Doc)
public String getTitle()(Code)(Java Doc)
public boolean isBottomPainted()(Code)(Java Doc)
public boolean isIncludeTitle()(Code)(Java Doc)
public boolean isLeftPainted()(Code)(Java Doc)
public boolean isRightPainted()(Code)(Java Doc)
public boolean isTopPainted()(Code)(Java Doc)
public void read(JETAObjectInput in) throws ClassNotFoundException, IOException(Code)(Java Doc)
public void setBottomPainted(boolean bpaint)(Code)(Java Doc)
public void setIncludeTitle(boolean includeTitle)(Code)(Java Doc)
public void setJustification(int justification)(Code)(Java Doc)
public void setLeftPainted(boolean bpaint)(Code)(Java Doc)
public void setPosition(int position)(Code)(Java Doc)
public void setRightPainted(boolean bpaint)(Code)(Java Doc)
public void setTextColorProperty(ColorProperty c)(Code)(Java Doc)
public void setTitle(String title)(Code)(Java Doc)
public void setTopPainted(boolean bpaint)(Code)(Java Doc)
public void setValue(Object obj)(Code)(Java Doc)
public static String toJustificationString(int just)(Code)(Java Doc)
public static String toPositionString(int pos)(Code)(Java Doc)
public void updateBean(JETABean jbean)(Code)(Java Doc)
public void write(JETAObjectOutput out) throws IOException(Code)(Java Doc)

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.