Java Doc for ModalDimmer.java in  » Web-Framework » roma-webwizard » tucana » echo2 » app » 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 » Web Framework » roma webwizard » tucana.echo2.app 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


tucana.echo2.app.ModalDimmer

ModalDimmer
public class ModalDimmer extends Component implements FloatingPane(Code)
The ModalDimmer component a non-standard component intended to be added to an application only once. Once added, it will dim everything under to modal component (usually a windowpane).
author:
   Jeremy Volkman


Field Summary
final public static  intDIM_TYPE_AUTO
     Auto selection.
final public static  intDIM_TYPE_IMAGE
     Image dimming.
final public static  intDIM_TYPE_OPACITY
     Opacity dimming.
final public static  StringPROPERTY_DIM_ANIMATED
    
final public static  StringPROPERTY_DIM_ANIMATION_SPEED
     The dimming speed.
final public static  StringPROPERTY_DIM_COLOR
     The color to use for opacity dimming.
final public static  StringPROPERTY_DIM_IMAGE
    
final public static  StringPROPERTY_DIM_OPACITY
    
final public static  StringPROPERTY_DIM_TYPE
    

Constructor Summary
public  ModalDimmer()
    

Method Summary
public  voidadd(Component child, int n)
     Disallow the addition of children.
public  floatgetDimAnimationSpeed()
    
public  ColorgetDimColor()
    
public  ImageReferencegetDimImage()
     Get the current dim image.
public  floatgetDimOpacity()
     Get the current dim opacity.
public  intgetDimType()
     Return the current dim type.
public  booleanisDimAnimated()
     Return the current animation on/off status.
public  voidsetDimAnimated(boolean animated)
    
public  voidsetDimAnimationSpeed(float speed)
    
public  voidsetDimColor(Color color)
    
public  voidsetDimImage(ImageReference dimImage)
     Set the dim image to use.
public  voidsetDimOpacity(float opacity)
     Set the dim opacity.
public  voidsetDimType(int type)
     Set the dimming type.

Field Detail
DIM_TYPE_AUTO
final public static int DIM_TYPE_AUTO(Code)
Auto selection. This mode favors opacity dimming, but falls back to image based on browser support. This is probably the desired option.



DIM_TYPE_IMAGE
final public static int DIM_TYPE_IMAGE(Code)
Image dimming. Overlay an alpha-supporting image over the window. This mode does not support animated dimming.



DIM_TYPE_OPACITY
final public static int DIM_TYPE_OPACITY(Code)
Opacity dimming. Use a colored DIV and set an opacity value on it. This mode supports animated dimming.



PROPERTY_DIM_ANIMATED
final public static String PROPERTY_DIM_ANIMATED(Code)
Whether or not dimming should be animated
See Also:   ModalDimmer.DIM_TYPE_OPACITY
See Also:   ModalDimmer.PROPERTY_DIM_ANIMATION_SPEED



PROPERTY_DIM_ANIMATION_SPEED
final public static String PROPERTY_DIM_ANIMATION_SPEED(Code)
The dimming speed. Higher numbers are faster.
See Also:   ModalDimmer.DIM_TYPE_OPACITY
See Also:   ModalDimmer.PROPERTY_DIM_ANIMATED



PROPERTY_DIM_COLOR
final public static String PROPERTY_DIM_COLOR(Code)
The color to use for opacity dimming.
See Also:   ModalDimmer.DIM_TYPE_OPACITY



PROPERTY_DIM_IMAGE
final public static String PROPERTY_DIM_IMAGE(Code)
The overlay image to use
See Also:   ModalDimmer.DIM_TYPE_IMAGE



PROPERTY_DIM_OPACITY
final public static String PROPERTY_DIM_OPACITY(Code)
The final dim opacity
See Also:   ModalDimmer.DIM_TYPE_OPACITY



PROPERTY_DIM_TYPE
final public static String PROPERTY_DIM_TYPE(Code)
The dimming type
See Also:   ModalDimmer.DIM_TYPE_OPACITY
See Also:   ModalDimmer.DIM_TYPE_IMAGE




Constructor Detail
ModalDimmer
public ModalDimmer()(Code)




Method Detail
add
public void add(Component child, int n)(Code)
Disallow the addition of children.



getDimAnimationSpeed
public float getDimAnimationSpeed()(Code)
Return the current dim animation speed The current animation speed, or -1.0f if it is not set.
See Also:   ModalDimmer.DIM_TYPE_OPACITY



getDimColor
public Color getDimColor()(Code)
Get the opacity dimming color The opacity dimming color, or null if none is set.



getDimImage
public ImageReference getDimImage()(Code)
Get the current dim image. The current dim image, or null if one is not set.



getDimOpacity
public float getDimOpacity()(Code)
Get the current dim opacity. The current opacity, or -1.0f if it is not set.



getDimType
public int getDimType()(Code)
Return the current dim type. The current dim type, or -1 if one is not set.
See Also:   ModalDimmer.DIM_TYPE_IMAGE
See Also:   ModalDimmer.DIM_TYPE_OPACITY



isDimAnimated
public boolean isDimAnimated()(Code)
Return the current animation on/off status. The current animation on/off status, or false if it is not set.
See Also:   ModalDimmer.DIM_TYPE_OPACITY



setDimAnimated
public void setDimAnimated(boolean animated)(Code)
Set the animation status
Parameters:
  animated - Animation on/off status
See Also:   ModalDimmer.DIM_TYPE_OPACITY



setDimAnimationSpeed
public void setDimAnimationSpeed(float speed)(Code)
Set the dimming animation speed
Parameters:
  speed - The speed
See Also:   ModalDimmer.DIM_TYPE_OPACITY



setDimColor
public void setDimColor(Color color)(Code)
Set the opacity dimming color
Parameters:
  color - The opacity dimming color
See Also:   ModalDimmer.DIM_TYPE_OPACITY



setDimImage
public void setDimImage(ImageReference dimImage)(Code)
Set the dim image to use.
Parameters:
  dimImage - The dim image to use
See Also:   ModalDimmer.DIM_TYPE_IMAGE



setDimOpacity
public void setDimOpacity(float opacity)(Code)
Set the dim opacity. Valid values are between 0 and 1.
Parameters:
  opacity - The dim opacity.
See Also:   ModalDimmer.DIM_TYPE_OPACITY



setDimType
public void setDimType(int type)(Code)
Set the dimming type.
Parameters:
  type - The new dimming type.
See Also:   ModalDimmer.DIM_TYPE_IMAGE
See Also:   ModalDimmer.DIM_TYPE_OPACITY



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.