Java Doc for IconProperty.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.IconProperty

All known Subclasses:   com.jeta.forms.store.properties.ImageProperty,
IconProperty
public class IconProperty extends JETAProperty implements Icon(Code)
A class for handling handling icon properties in a Java bean. All icons are loaded from the CLASSPATH. In the designer, the user specifies the package and filename that contains the icon resource for a given Java bean icon property. This object is responsible for serializing the path to the icon resource as well as loading the icon from the CLASSPATH at runtime.
author:
   Jeff Tassin


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

Constructor Summary
public  IconProperty()
     Creates an unitialized IconProperty instance.

Method Summary
public  StringgetDescription()
    
public  intgetIconHeight()
     Returns the height of the icon in pixels.
public  intgetIconWidth()
     Returns the width of the icon in pixels.
public  StringgetRelativePath()
     Returns the path relative to the current CLASSPATH that contains the icon.
public  ImageIconimageIcon()
     Returns the underlying image icon.
public  booleanisEmbedded()
     Returns true if this image is embedded.
public  voidloadImage()
     Loads the image from the project manager and caches the resulting ImageIcon.
public  voidpaintIcon(Component c, Graphics g, int x, int y)
     Icon implementation.
public  voidprint()
    
public  voidread(JETAObjectInput in)
    
public  voidsetDescription(String desc)
     Sets the description for this icon.
public  voidsetEmbedded(boolean bembedded)
     Sets the flag that indicates if this image is embedded or not Not currently used.
public  voidsetRelativePath(String path)
     Sets the relative path where the icon file is located.
public  voidsetValue(Object prop)
     Sets this property to that of another IconProperty.
public  voidupdateBean(JETABean jbean)
     Updates the bean.
public  voidwrite(JETAObjectOutput out)
    

Field Detail
VERSION
final public static int VERSION(Code)
The version of this class.



serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
IconProperty
public IconProperty()(Code)
Creates an unitialized IconProperty instance.




Method Detail
getDescription
public String getDescription()(Code)
the description for this property



getIconHeight
public int getIconHeight()(Code)
Returns the height of the icon in pixels. the height of the image in pixels



getIconWidth
public int getIconWidth()(Code)
Returns the width of the icon in pixels. the width of the image in pixels



getRelativePath
public String getRelativePath()(Code)
Returns the path relative to the current CLASSPATH that contains the icon. the relative path



imageIcon
public ImageIcon imageIcon()(Code)
Returns the underlying image icon. the underlying image icon;



isEmbedded
public boolean isEmbedded()(Code)
Returns true if this image is embedded. Currently this should always return false. true if this image is embedded



loadImage
public void loadImage()(Code)
Loads the image from the project manager and caches the resulting ImageIcon.



paintIcon
public void paintIcon(Component c, Graphics g, int x, int y)(Code)
Icon implementation. Renders the icon specified by this property on the given graphics context.



print
public void print()(Code)
Prints this value to the console



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



setDescription
public void setDescription(String desc)(Code)
Sets the description for this icon. This is only useful for embedded images.
Parameters:
  desc - the description for this icon.



setEmbedded
public void setEmbedded(boolean bembedded)(Code)
Sets the flag that indicates if this image is embedded or not Not currently used. Embedded icons are not currently supported.



setRelativePath
public void setRelativePath(String path)(Code)
Sets the relative path where the icon file is located. This path is relative to the classpath.
Parameters:
  path - the relative path to the icon resource.



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



updateBean
public void updateBean(JETABean jbean)(Code)
Updates the bean. No op for this property.



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)
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.