Java Doc for ComponentProperties.java in  » Swing-Library » InfoNode-Docking-Windows » net » infonode » properties » gui » util » 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 » InfoNode Docking Windows » net.infonode.properties.gui.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.infonode.properties.propertymap.PropertyMapContainer
      net.infonode.properties.gui.util.ComponentProperties

ComponentProperties
public class ComponentProperties extends PropertyMapContainer (Code)
Properties and property values for a JComponent .
author:
   $Author: jesper $
version:
   $Revision: 1.17 $


Field Summary
final public static  ColorPropertyBACKGROUND_COLOR
     Component background color.
final public static  BorderPropertyBORDER
     Component border.
final public static  FontPropertyFONT
     Component text font.
final public static  ColorPropertyFOREGROUND_COLOR
     Component foreground color.
final public static  InsetsPropertyINSETS
     Component insets inside the border.
final public static  PropertyMapGroupPROPERTIES
     Property group for all component properties.

Constructor Summary
public  ComponentProperties()
     Creates an empty property object.
public  ComponentProperties(PropertyMap map)
     Creates a property map containing the map.
public  ComponentProperties(ComponentProperties inheritFrom)
     Creates a property object that inherit values from another property object.

Method Summary
public  ComponentPropertiesaddSuperObject(ComponentProperties properties)
     Adds a super object from which property values are inherited.
public  voidapplyTo(JComponent component)
     Applies the property values to a component.
public  voidapplyTo(JComponent component, Direction insetsDirection)
     Applies the property values to a component and rotates the insets in the given direction.
public  ColorgetBackgroundColor()
     Returns the component background color.
public  BordergetBorder()
     Returns the component border.
public  FontgetFont()
     Returns the component text font.
public  ColorgetForegroundColor()
     Returns the component foreground color.
public  InsetsgetInsets()
     Returns the component insets inside the border.
public  ComponentPropertiesremoveSuperObject()
     Removes the last added super object.
public  ComponentPropertiesremoveSuperObject(ComponentProperties superObject)
     Removes the given super object.
public  ComponentPropertiessetBackgroundColor(Color color)
     Sets the component background color.
public  ComponentPropertiessetBorder(Border border)
     Sets the component border.
public  ComponentPropertiessetFont(Font font)
     Sets the component text font.
public  ComponentPropertiessetForegroundColor(Color foregroundColor)
     Sets the component foreground color.
public  ComponentPropertiessetInsets(Insets insets)
     Sets the component insets inside the border.

Field Detail
BACKGROUND_COLOR
final public static ColorProperty BACKGROUND_COLOR(Code)
Component background color. A null value means that no background will be painted.



BORDER
final public static BorderProperty BORDER(Code)
Component border.



FONT
final public static FontProperty FONT(Code)
Component text font.



FOREGROUND_COLOR
final public static ColorProperty FOREGROUND_COLOR(Code)
Component foreground color.



INSETS
final public static InsetsProperty INSETS(Code)
Component insets inside the border.



PROPERTIES
final public static PropertyMapGroup PROPERTIES(Code)
Property group for all component properties.




Constructor Detail
ComponentProperties
public ComponentProperties()(Code)
Creates an empty property object.



ComponentProperties
public ComponentProperties(PropertyMap map)(Code)
Creates a property map containing the map.
Parameters:
  map - the property map



ComponentProperties
public ComponentProperties(ComponentProperties inheritFrom)(Code)
Creates a property object that inherit values from another property object.
Parameters:
  inheritFrom - the object from which to inherit property values




Method Detail
addSuperObject
public ComponentProperties addSuperObject(ComponentProperties properties)(Code)
Adds a super object from which property values are inherited.
Parameters:
  properties - the object from which to inherit property values this



applyTo
public void applyTo(JComponent component)(Code)
Applies the property values to a component.
Parameters:
  component - the component on which to apply the property values



applyTo
public void applyTo(JComponent component, Direction insetsDirection)(Code)
Applies the property values to a component and rotates the insets in the given direction.
Parameters:
  component - the component on which to apply the property values
Parameters:
  insetsDirection - insets direction



getBackgroundColor
public Color getBackgroundColor()(Code)
Returns the component background color. the component background color



getBorder
public Border getBorder()(Code)
Returns the component border. the component border



getFont
public Font getFont()(Code)
Returns the component text font. the component text font



getForegroundColor
public Color getForegroundColor()(Code)
Returns the component foreground color. the component foreground color



getInsets
public Insets getInsets()(Code)
Returns the component insets inside the border. the component insets inside the border



removeSuperObject
public ComponentProperties removeSuperObject()(Code)
Removes the last added super object. this



removeSuperObject
public ComponentProperties removeSuperObject(ComponentProperties superObject)(Code)
Removes the given super object.
Parameters:
  superObject - super object to remove this



setBackgroundColor
public ComponentProperties setBackgroundColor(Color color)(Code)
Sets the component background color.
Parameters:
  color - the background color, null means no background this



setBorder
public ComponentProperties setBorder(Border border)(Code)
Sets the component border.
Parameters:
  border - the component border this



setFont
public ComponentProperties setFont(Font font)(Code)
Sets the component text font.
Parameters:
  font - the component text font this



setForegroundColor
public ComponentProperties setForegroundColor(Color foregroundColor)(Code)
Sets the component foreground color.
Parameters:
  foregroundColor - the component foreground color this



setInsets
public ComponentProperties setInsets(Insets insets)(Code)
Sets the component insets inside the border.
Parameters:
  insets - the component insets this



Methods inherited from net.infonode.properties.propertymap.PropertyMapContainer
public PropertyMap getMap()(Code)(Java Doc)

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.