Java Doc for HtmlDisplayBox.java in  » J2EE » Sofia » com » salmonllc » html » 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 » J2EE » Sofia » com.salmonllc.html 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.salmonllc.html.HtmlComponent
      com.salmonllc.html.HtmlContainer
         com.salmonllc.html.HtmlDisplayBox

HtmlDisplayBox
public class HtmlDisplayBox extends HtmlContainer (Code)
This container can be used to create a display box in a page. The display box has a heading caption, components in the heading band and one component inside the box.


Field Summary
final public static  intSIZE_PERCENT
    
final public static  intSIZE_PIXELS
    
 HtmlContainer_box
    
 String_headingCaption
    

Constructor Summary
public  HtmlDisplayBox(String name, HtmlPage p)
     Constructs an HtmlDisplayBox using the default theme.
public  HtmlDisplayBox(String name, String theme, HtmlPage p)
     Constructs an HtmlDisplayBox using the default theme.

Method Summary
public  voidaddHeadingComponent(HtmlComponent h)
     This method will add a component (usually a button) to the heading of the box.
public  booleanexecuteEvent(int eventType)
    
public  voidgenerateHTML(PrintWriter p, int rowNo)
    
public  voidgenerateInitialHTML(PrintWriter p)
    
public  StringgetBodyClassname()
    
public  intgetBorder()
    
public  HtmlContainergetBoxComponent()
    
public  intgetCellPadding()
     Gets the cell padding for the table.
public  intgetCellSpacing()
     Gets the cell spacing for the table.
public  EnumerationgetComponents()
     This method will return a list of all components in the container.
public  StringgetFont()
     This method will return the font type used by this control.
public  StringgetHeadingBackgroundColor()
    
public  StringgetHeadingCaption()
     This method returns the heading caption for the component.
public  StringgetHeadingClassname()
    
public  intgetSizeOption()
     This method returns the size option for the table and each cell in it.
public  StringgetTheme()
     This method returns the property theme for the component.
public  intgetWidth()
     This method returns the width of the table.
public  booleanprocessParms(Hashtable parms, int rowNo)
    
public  voidremoveHeadingComponent(HtmlComponent h)
     This method will remove a component (usually a button) from the heading of the box.
public  voidsetBodyClassname(String string)
    
public  voidsetBorder(int border)
    
public  voidsetBoxComponent(HtmlContainer cont)
    
public  voidsetCellPadding(int value)
     Sets the cell padding for the table.
public  voidsetCellSpacing(int value)
     Sets the cell spacing for the table.
public  voidsetFont(String font)
     This method will load the font start and end tags from the page properties object.
public  voidsetFontEndTag(String value)
     This method sets the end font tag for the component.
public  voidsetFontStartTag(String value)
     This method sets the start font tag for the component.
public  voidsetHeadingBackgroundColor(String color)
    
public  voidsetHeadingCaption(String text)
    
public  voidsetHeadingClassname(String string)
    
public  voidsetSizeOption(int option)
     This method sets the size option for the table and each cell in it.
public  voidsetTheme(String theme)
     This method sets the property theme for the component.
public  voidsetWidth(int width)
     This method sets the minimum width of the table in either pixels or percent depending on size option.
public  voidsuppressHeading(boolean supHead)
    

Field Detail
SIZE_PERCENT
final public static int SIZE_PERCENT(Code)



SIZE_PIXELS
final public static int SIZE_PIXELS(Code)



_box
HtmlContainer _box(Code)



_headingCaption
String _headingCaption(Code)




Constructor Detail
HtmlDisplayBox
public HtmlDisplayBox(String name, HtmlPage p)(Code)
Constructs an HtmlDisplayBox using the default theme.
Parameters:
  name - The name of the component
Parameters:
  p - The page that it goies in.



HtmlDisplayBox
public HtmlDisplayBox(String name, String theme, HtmlPage p)(Code)
Constructs an HtmlDisplayBox using the default theme.
Parameters:
  name - The name of the component
Parameters:
  theme - The theme to use for loading properties.
Parameters:
  p - The page that it goes in.




Method Detail
addHeadingComponent
public void addHeadingComponent(HtmlComponent h)(Code)
This method will add a component (usually a button) to the heading of the box.



executeEvent
public boolean executeEvent(int eventType) throws Exception(Code)



generateHTML
public void generateHTML(PrintWriter p, int rowNo) throws Exception(Code)



generateInitialHTML
public void generateInitialHTML(PrintWriter p) throws Exception(Code)



getBodyClassname
public String getBodyClassname()(Code)



getBorder
public int getBorder()(Code)
This method gets the border width for component



getBoxComponent
public HtmlContainer getBoxComponent()(Code)
This method will get the component that will be displayed in the display box



getCellPadding
public int getCellPadding()(Code)
Gets the cell padding for the table.



getCellSpacing
public int getCellSpacing()(Code)
Gets the cell spacing for the table.



getComponents
public Enumeration getComponents()(Code)
This method will return a list of all components in the container.



getFont
public String getFont()(Code)
This method will return the font type used by this control.



getHeadingBackgroundColor
public String getHeadingBackgroundColor()(Code)
This method gets the background color for the heading on the component



getHeadingCaption
public String getHeadingCaption()(Code)
This method returns the heading caption for the component.



getHeadingClassname
public String getHeadingClassname()(Code)



getSizeOption
public int getSizeOption()(Code)
This method returns the size option for the table and each cell in it. Valid return values are SIZE_PIXELS or SIZE_PERCENT.



getTheme
public String getTheme()(Code)
This method returns the property theme for the component.
Parameters:
  theme - The theme to use.



getWidth
public int getWidth()(Code)
This method returns the width of the table.



processParms
public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code)



removeHeadingComponent
public void removeHeadingComponent(HtmlComponent h)(Code)
This method will remove a component (usually a button) from the heading of the box.



setBodyClassname
public void setBodyClassname(String string)(Code)

Parameters:
  sets - the style sheet class name for the body



setBorder
public void setBorder(int border)(Code)
This method sets the border width for component



setBoxComponent
public void setBoxComponent(HtmlContainer cont)(Code)
This method will set the component that will be displayed in the display box



setCellPadding
public void setCellPadding(int value)(Code)
Sets the cell padding for the table.



setCellSpacing
public void setCellSpacing(int value)(Code)
Sets the cell spacing for the table.



setFont
public void setFont(String font)(Code)
This method will load the font start and end tags from the page properties object.



setFontEndTag
public void setFontEndTag(String value)(Code)
This method sets the end font tag for the component.



setFontStartTag
public void setFontStartTag(String value)(Code)
This method sets the start font tag for the component.



setHeadingBackgroundColor
public void setHeadingBackgroundColor(String color)(Code)
This method sets the background color for the heading on the component



setHeadingCaption
public void setHeadingCaption(String text)(Code)
This method sets the text for the heading on the component



setHeadingClassname
public void setHeadingClassname(String string)(Code)

Parameters:
  sets - the style sheet class name for the heading



setSizeOption
public void setSizeOption(int option)(Code)
This method sets the size option for the table and each cell in it. Valid return values are SIZE_PIXELS or SIZE_PERCENT.



setTheme
public void setTheme(String theme)(Code)
This method sets the property theme for the component.
Parameters:
  theme - The theme to use.



setWidth
public void setWidth(int width)(Code)
This method sets the minimum width of the table in either pixels or percent depending on size option.



suppressHeading
public void suppressHeading(boolean supHead)(Code)
This method sets the border width for component



Fields inherited from com.salmonllc.html.HtmlContainer
protected boolean _center(Code)(Java Doc)
protected Vector _componentsVec(Code)(Java Doc)
protected boolean _enabled(Code)(Java Doc)
protected HtmlComponent _submit(Code)(Java Doc)

Methods inherited from com.salmonllc.html.HtmlContainer
public void add(HtmlComponent comp)(Code)(Java Doc)
public void clearSubmit()(Code)(Java Doc)
public boolean executeEvent(int eventType) throws Exception(Code)(Java Doc)
public void generateHTML(PrintWriter p, int rowNo) throws Exception(Code)(Java Doc)
public void generateHTML(PrintWriter p, int rowStart, int rowEnd) throws Exception(Code)(Java Doc)
public void generateInitialHTML(PrintWriter p) throws Exception(Code)(Java Doc)
public boolean getCenter()(Code)(Java Doc)
public HtmlComponent getComponent(String name)(Code)(Java Doc)
public Enumeration getComponents()(Code)(Java Doc)
public boolean getEnabled()(Code)(Java Doc)
public HtmlComponent getSubmitComponent()(Code)(Java Doc)
public void insertComponentAt(HtmlComponent comp, int index)(Code)(Java Doc)
public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code)(Java Doc)
public void remove(HtmlComponent comp)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public boolean replaceComponent(HtmlComponent comp, Object compToReplace)(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void setCenter(boolean center)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from com.salmonllc.html.HtmlComponent
final public static int DISABLED_ATTRIBUTE_USE_NEVER(Code)(Java Doc)
final public static int DISABLED_ATTRIBUTE_USE_ON_SUPPORTED_BROWSERS(Code)(Java Doc)
final public static int DISABLED_ATTRIBUTE_USE_SYSTEM_DEFAULT(Code)(Java Doc)
final public static int EVENT_NONE(Code)(Java Doc)
final public static int EVENT_OTHER(Code)(Java Doc)
final public static int EVENT_SUBMIT(Code)(Java Doc)
protected String _class(Code)(Java Doc)
String _fullName(Code)(Java Doc)
protected boolean _generateNewline(Code)(Java Doc)
String _name(Code)(Java Doc)
protected HtmlComponent _parent(Code)(Java Doc)
protected boolean _visible(Code)(Java Doc)
final protected static boolean debug(Code)(Java Doc)

Methods inherited from com.salmonllc.html.HtmlComponent
public void doBinding() throws Exception(Code)(Java Doc)
public String encodeURL(String url)(Code)(Java Doc)
public StringBuffer encodeURL(StringBuffer url)(Code)(Java Doc)
public boolean executeEvent(int eventType) throws Exception(Code)(Java Doc)
public static String fixSpecialHTMLCharacters(String input)(Code)(Java Doc)
abstract public void generateHTML(PrintWriter p, int rowNo) throws Exception(Code)(Java Doc)
public void generateHTML(PrintWriter p, int rowStart, int rowEnd) throws Exception(Code)(Java Doc)
protected String generateImageURL()(Code)(Java Doc)
public void generateInitialHTML(PrintWriter p) throws Exception(Code)(Java Doc)
public String getClassName()(Code)(Java Doc)
public String getDataSource()(Code)(Java Doc)
public int getFormIndex()(Code)(Java Doc)
public String getFormString()(Code)(Java Doc)
public String getFullName()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public HtmlPage getPage()(Code)(Java Doc)
public HtmlComponent getParent()(Code)(Java Doc)
protected String getPortletNameSpace()(Code)(Java Doc)
protected String getSiteMapEntryName(String url)(Code)(Java Doc)
public String getTheme()(Code)(Java Doc)
public int getUseDisabledAttribute()(Code)(Java Doc)
public boolean getVisible()(Code)(Java Doc)
public boolean getVisible(boolean checkParents)(Code)(Java Doc)
public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void setClassName(String sClass)(Code)(Java Doc)
public void setDataSource(String dataSource)(Code)(Java Doc)
public void setFormIndex(int formIndex)(Code)(Java Doc)
public void setGenerateNewline(boolean enable)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setPage(HtmlPage p)(Code)(Java Doc)
public void setParent(HtmlComponent parent)(Code)(Java Doc)
public void setTheme(String theme)(Code)(Java Doc)
public void setUseDisabledAttribute(int i)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public String translateSiteMapURL(String url)(Code)(Java Doc)
protected boolean useDisabledAttribute()(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.