Java Doc for I_CmsWidgetDialog.java in  » Content-Management-System » opencms » org » opencms » widgets » 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 » Content Management System » opencms » org.opencms.widgets 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.opencms.widgets.I_CmsWidgetDialog

All known Subclasses:   org.opencms.workplace.CmsWidgetDialog,  org.opencms.workplace.editors.CmsXmlContentEditor,
I_CmsWidgetDialog
public interface I_CmsWidgetDialog (Code)
Describes a widget enabled dialog.


author:
   Alexander Kandzior
author:
   Andreas Zahner
version:
   $Revision: 1.14 $
since:
   6.0.0





Method Summary
 Stringbutton(String href, String target, String image, String label, int type)
    
 StringbuttonBar(int segment)
    
 StringbuttonBarHorizontalLine()
    
 StringbuttonBarSeparator(int leftPixel, int rightPixel)
    
 StringbuttonBarSpacer(int width)
    
 StringbuttonBarStartTab(int leftPixel, int rightPixel)
    
 StringdialogHorizontalSpacer(int width)
    
 intgetButtonStyle()
    
 SetgetHelpMessageIds()
     Returns a set of help messages ids that are already included on the widget dialog.

This is used to prevent the occurence of multiple html div id's with the same value when generating the help texts.

 LocalegetLocale()
    
 CmsMessagesgetMessages()
    
 StringgetUserAgent()
    
 booleanuseNewStyle()
    



Method Detail
button
String button(String href, String target, String image, String label, int type)(Code)
Generates a button for the widget dialog.


Parameters:
  href - the href link for the button, if none is given the button will be disabled
Parameters:
  target - the href link target for the button, if none is given the target will be same window
Parameters:
  image - the image name for the button, skin path will be automattically added as prefix
Parameters:
  label - the label for the text of the button
Parameters:
  type - 0: image only (default), 1: image and text, 2: text only a button for the OpenCms workplace
See Also:   org.opencms.workplace.CmsWorkplace.button(StringStringStringStringint)




buttonBar
String buttonBar(int segment)(Code)
Returns the html for a button bar.


Parameters:
  segment - the HTML segment (START / END) a button bar html start / end segment




buttonBarHorizontalLine
String buttonBarHorizontalLine()(Code)
Generates a horizontal button bar separator line with maximum width.

a horizontal button bar separator line




buttonBarSeparator
String buttonBarSeparator(int leftPixel, int rightPixel)(Code)
Generates a button bar separator.


Parameters:
  leftPixel - the amount of pixel left to the separator
Parameters:
  rightPixel - the amount of pixel right to the separator a button bar separator




buttonBarSpacer
String buttonBarSpacer(int width)(Code)
Returns the html for an invisible spacer between button bar contents like buttons, labels, etc.


Parameters:
  width - the width of the invisible spacer the html for the invisible spacer
See Also:   org.opencms.workplace.CmsWorkplace.buttonBarSpacer(int)




buttonBarStartTab
String buttonBarStartTab(int leftPixel, int rightPixel)(Code)
Generates a button bar starter tab.


Parameters:
  leftPixel - the amount of pixel left to the starter
Parameters:
  rightPixel - the amount of pixel right to the starter a button bar starter tab




dialogHorizontalSpacer
String dialogHorizontalSpacer(int width)(Code)
Builds an invisible horiziontal spacer with the specified width.


Parameters:
  width - the width of the spacer in pixels an invisible horiziontal spacer with the specified width
See Also:   org.opencms.workplace.CmsDialog.dialogHorizontalSpacer(int)




getButtonStyle
int getButtonStyle()(Code)
Returns the style setting to use when generating buttons for this widget dialog.

the style setting to use when generating buttons for this widget dialog
See Also:   org.opencms.db.CmsUserSettings.getEditorButtonStyle




getHelpMessageIds
Set getHelpMessageIds()(Code)
Returns a set of help messages ids that are already included on the widget dialog.

This is used to prevent the occurence of multiple html div id's with the same value when generating the help texts. For valid html, each id can be used only once.

a set of help messages ids that are already included on the widget dialog




getLocale
Locale getLocale()(Code)
Returns the current users locale setting.

the current users locale setting
See Also:   org.opencms.workplace.CmsWorkplace.getLocale
See Also:   org.opencms.file.CmsRequestContext.getLocale




getMessages
CmsMessages getMessages()(Code)
Returns a messages object used to render localized keys for the widget dialog.

a messages object used to render localized keys for the widget dialog




getUserAgent
String getUserAgent()(Code)
Returns the "user-agent" of the current request, or null in case no request is available.

the "user-agent" of the current request




useNewStyle
boolean useNewStyle()(Code)
Tests if we are working with the new administration dialog style.

This param is not intended for external use.

true if using the new style




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