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


java.lang.Object
   net.infonode.properties.propertymap.PropertyMapContainer
      net.infonode.tabbedpanel.titledtab.TitledTabProperties

TitledTabProperties
public class TitledTabProperties extends PropertyMapContainer (Code)

TitledTabProperties holds all properties for a TitledTab .

A titled tab can have three states, normal, highlighted and disabled. Each state is represented by a TitledTabStateProperties object containing all properties that can be set for a state.

By default the property values in the highlighted and disabled state are references to corresponding values in the normal state. This means that if you set a property value in the normal state, then highlighted and the disabled state will use that property value if the property has not been set in the highlighted or disabled state.

Example:
Setting the background color in the normal state means that normal, highlighted and disabled state will use that color as background color. If you set background color for highlighted state, then the highlighted state will use that color regardless of the background color for the normal state.

By default the tool tip text in all states is the same as the tab text in the normal state. For example, if you change the tab text in the highlighted state and want the tooltip to display the same text, you must set the "Tool Tip Text" property TitledTabStateProperties.TOOL_TIP_TEXT in the highlighted state.


author:
   $Author: jesper $
version:
   $Revision: 1.42 $
See Also:   TitledTab
See Also:   TitledTabStateProperties


Field Summary
final public static  TitledTabBorderSizePolicyPropertyBORDER_SIZE_POLICY
    
final public static  PropertyMapPropertyDISABLED_PROPERTIES
    
final public static  BooleanPropertyENABLED
    
final public static  BooleanPropertyFOCUSABLE
    
final public static  BooleanPropertyFOCUS_MARKER_ENABLED
    
final public static  PropertyMapPropertyHIGHLIGHTED_PROPERTIES
    
final public static  IntegerPropertyHIGHLIGHTED_RAISED_AMOUNT
    
final public static  HoverListenerPropertyHOVER_LISTENER
    
final public static  DimensionProviderPropertyMINIMUM_SIZE_PROVIDER
    
final public static  PropertyMapPropertyNORMAL_PROPERTIES
    
final public static  PropertyMapGroupPROPERTIES
    
final public static  TitledTabSizePolicyPropertySIZE_POLICY
    

Constructor Summary
public  TitledTabProperties()
    
public  TitledTabProperties(PropertyMap object)
    
public  TitledTabProperties(TitledTabProperties inheritFrom)
    

Method Summary
public  TitledTabPropertiesaddSuperObject(TitledTabProperties superObject)
     Adds a super object from which property values are inherited.
public  TitledTabBorderSizePolicygetBorderSizePolicy()
    
public static  TitledTabPropertiesgetDefaultProperties()
    
public  TitledTabStatePropertiesgetDisabledProperties()
    
public  booleangetEnabled()
    
public  booleangetFocusMarkerEnabled()
    

Gets if this TitledTab should show its built-in focus marker when this tab has focus.

public  booleangetFocusable()
    
public  TitledTabStatePropertiesgetHighlightedProperties()
    
public  intgetHighlightedRaised()
    
public  HoverListenergetHoverListener()
    
public  DimensionProvidergetMinimumSizeProvider()
    
public  TitledTabStatePropertiesgetNormalProperties()
    
public  TitledTabSizePolicygetSizePolicy()
    
public  TitledTabPropertiesremoveSuperObject()
     Removes the last added super object.
public  TitledTabPropertiesremoveSuperObject(TitledTabProperties superObject)
     Removes the given super object.
public  TitledTabPropertiesreplaceSuperObject(TitledTabProperties oldSuperObject, TitledTabProperties newSuperObject)
     Replaces the given super objects.
public  TitledTabPropertiessetBorderSizePolicy(TitledTabBorderSizePolicy sizePolicy)
    
public  TitledTabPropertiessetEnabled(boolean value)
    

Sets if this TitledTab should be enabled or not.

public  TitledTabPropertiessetFocusMarkerEnabled(boolean value)
    

Sets if this TitledTab should show its built-in focus marker when this tab has focus.

public  TitledTabPropertiessetFocusable(boolean value)
    
public  TitledTabPropertiessetHighlightedRaised(int amount)
    
public  TitledTabPropertiessetHoverListener(HoverListener listener)
    
public  TitledTabPropertiessetMinimumSizeProvider(DimensionProvider size)
    
public  TitledTabPropertiessetSizePolicy(TitledTabSizePolicy sizePolicy)
    

Field Detail
BORDER_SIZE_POLICY
final public static TitledTabBorderSizePolicyProperty BORDER_SIZE_POLICY(Code)
Border size policy property
See Also:   TitledTabProperties.setBorderSizePolicy
See Also:   TitledTabProperties.getBorderSizePolicy



DISABLED_PROPERTIES
final public static PropertyMapProperty DISABLED_PROPERTIES(Code)
Disabled state properties
See Also:   TitledTabProperties.getDisabledProperties



ENABLED
final public static BooleanProperty ENABLED(Code)
TitledTab enabled property
See Also:   TitledTabProperties.setEnabled
See Also:   TitledTabProperties.getEnabled
since:
   ITP 1.5.0



FOCUSABLE
final public static BooleanProperty FOCUSABLE(Code)
Focusabled property
See Also:   TitledTabProperties.setFocusable
See Also:   TitledTabProperties.getFocusable



FOCUS_MARKER_ENABLED
final public static BooleanProperty FOCUS_MARKER_ENABLED(Code)
Focus Marker Enabled property
See Also:   TitledTabProperties.setFocusMarkerEnabled
See Also:   TitledTabProperties.getFocusMarkerEnabled
since:
   ITP 1.4.0



HIGHLIGHTED_PROPERTIES
final public static PropertyMapProperty HIGHLIGHTED_PROPERTIES(Code)
Highlighted state properties
See Also:   TitledTabProperties.getHighlightedProperties



HIGHLIGHTED_RAISED_AMOUNT
final public static IntegerProperty HIGHLIGHTED_RAISED_AMOUNT(Code)
Highlighted raised amount property
See Also:   TitledTabProperties.setHighlightedRaised
See Also:   TitledTabProperties.getHighlightedRaised



HOVER_LISTENER
final public static HoverListenerProperty HOVER_LISTENER(Code)
Hover listener property
See Also:   TitledTabProperties.setHoverListener
See Also:   TitledTabProperties.getHoverListener
since:
   ITP 1.3.0



MINIMUM_SIZE_PROVIDER
final public static DimensionProviderProperty MINIMUM_SIZE_PROVIDER(Code)
Tab minimum size property
See Also:   TitledTabProperties.setMinimumSizeProvider(DimensionProvider)
See Also:   TitledTabProperties.getMinimumSizeProvider()



NORMAL_PROPERTIES
final public static PropertyMapProperty NORMAL_PROPERTIES(Code)
Normal state properties
See Also:   TitledTabProperties.getNormalProperties



PROPERTIES
final public static PropertyMapGroup PROPERTIES(Code)
A property group for all properties in TitledTabProperties



SIZE_POLICY
final public static TitledTabSizePolicyProperty SIZE_POLICY(Code)
Size policy property
See Also:   TitledTabProperties.setSizePolicy
See Also:   TitledTabProperties.getSizePolicy




Constructor Detail
TitledTabProperties
public TitledTabProperties()(Code)
Constructs an empty TitledTabProperties object



TitledTabProperties
public TitledTabProperties(PropertyMap object)(Code)
Constructs a TitledTabProperties object with the give object as property storage
Parameters:
  object - object to store properties in



TitledTabProperties
public TitledTabProperties(TitledTabProperties inheritFrom)(Code)
Constructs a TitledTabProperties object that inherits its properties from the given TitledTabProperties object
Parameters:
  inheritFrom - TitledTabProperties object to inherit properties from




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



getBorderSizePolicy
public TitledTabBorderSizePolicy getBorderSizePolicy()(Code)
Gets the border size policy for this TitledTab the border size policy



getDefaultProperties
public static TitledTabProperties getDefaultProperties()(Code)
Creates a properties object with default properties based on the current look and feel properties object



getDisabledProperties
public TitledTabStateProperties getDisabledProperties()(Code)
Gets the properties for the disabled state the disabled state properties



getEnabled
public boolean getEnabled()(Code)
Gets if this TitledTab is enabled or disabled true for enabled, otherwise false
since:
   ITP 1.5.0



getFocusMarkerEnabled
public boolean getFocusMarkerEnabled()(Code)

Gets if this TitledTab should show its built-in focus marker when this tab has focus.

Note: Disabling the focus marker is useful when for example creating a theme that draws its own focus marker.

true for enabled, otherwise false
since:
   ITP 1.4.0



getFocusable
public boolean getFocusable()(Code)
Gets if this TitledTab is focusable true for focusable, otherwise false



getHighlightedProperties
public TitledTabStateProperties getHighlightedProperties()(Code)
Gets the properties for the highlighted state the highlighted state properties



getHighlightedRaised
public int getHighlightedRaised()(Code)
Gets how many pixels higher this TitledTab will be when it is in its highlighted state compared to its normal and disabled state number of pixels



getHoverListener
public HoverListener getHoverListener()(Code)

Gets the hover listener that will be triggered when the tab is hovered by the mouse.

The hovered titled tab will be the source of the hover event sent to the hover listener.

the hover listener
since:
   ITP 1.3.0



getMinimumSizeProvider
public DimensionProvider getMinimumSizeProvider()(Code)
Gets the dimension provider for the tab's minimum size the minimum size provider or null if default tab minimum size is to be used instead



getNormalProperties
public TitledTabStateProperties getNormalProperties()(Code)
Gets the properties for the normal state the normal state properties



getSizePolicy
public TitledTabSizePolicy getSizePolicy()(Code)
Gets the size policy for this TitledTab the size policy



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



removeSuperObject
public TitledTabProperties removeSuperObject(TitledTabProperties superObject)(Code)
Removes the given super object.
Parameters:
  superObject - super object to remove this
since:
   ITP 1.3.0



replaceSuperObject
public TitledTabProperties replaceSuperObject(TitledTabProperties oldSuperObject, TitledTabProperties newSuperObject)(Code)
Replaces the given super objects.
Parameters:
  oldSuperObject - super object to replace
Parameters:
  newSuperObject - new super object this
since:
   ITP 1.4.0



setBorderSizePolicy
public TitledTabProperties setBorderSizePolicy(TitledTabBorderSizePolicy sizePolicy)(Code)
Sets the border size policy for this TitledTab
Parameters:
  sizePolicy - the border size policy this TitledTabProperties



setEnabled
public TitledTabProperties setEnabled(boolean value)(Code)

Sets if this TitledTab should be enabled or not.

Note: Calling TitledTab.setEnabled(boolean) will modify this property for the tab.


Parameters:
  value - true for enabled, otherwise false this TitledTabProperties
since:
   ITP 1.5.0



setFocusMarkerEnabled
public TitledTabProperties setFocusMarkerEnabled(boolean value)(Code)

Sets if this TitledTab should show its built-in focus marker when this tab has focus.

Note: Disabling the focus marker is useful when for example creating a theme that draws its own focus marker.


Parameters:
  value - true for enabled, otherwise false this TitledTabProperties
since:
   ITP 1.4.0



setFocusable
public TitledTabProperties setFocusable(boolean value)(Code)
Sets if this TitledTab should be focusable
Parameters:
  value - true for focusable, otherwise false this TitledTabProperties



setHighlightedRaised
public TitledTabProperties setHighlightedRaised(int amount)(Code)
Sets how many pixels higher this TitledTab will be when it is in its highlighted state compared to its normal and disabled state
Parameters:
  amount - number of pixels this TitledTabProperties



setHoverListener
public TitledTabProperties setHoverListener(HoverListener listener)(Code)

Sets the hover listener that will be triggered when the tab is hovered by the mouse.

The hovered titled tab will be the source of the hover event sent to the hover listener.


Parameters:
  listener - the hover listener this TitledTabProperties
since:
   ITP 1.3.0



setMinimumSizeProvider
public TitledTabProperties setMinimumSizeProvider(DimensionProvider size)(Code)
Sets the tab's minimum size dimension provider
Parameters:
  size - the minimum size dimension provider or null if tab's default minimum size should be used instead this TitledTabProperties



setSizePolicy
public TitledTabProperties setSizePolicy(TitledTabSizePolicy sizePolicy)(Code)
Sets the size policy for this TitledTab
Parameters:
  sizePolicy - the size policy this TitledTabProperties



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.