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


java.lang.Object
   com.salmonllc.html.HtmlComponent
      com.salmonllc.jsp.JspContainer
         com.salmonllc.jsp.JspDisplayBox
            com.salmonllc.jsp.JspFormDisplayBox

All known Subclasses:   com.salmonllc.jsp.JspDetailFormDisplayBox,  com.salmonllc.jsp.JspListFormDisplayBox,  com.salmonllc.jsp.JspSearchFormDisplayBox,
JspFormDisplayBox
abstract public class JspFormDisplayBox extends JspDisplayBox (Code)
An extended version of the display box with addional functionality for building search, list and detail forms. This is the base class for the specific form components

Inner Class :protected class MessageButton extends HtmlSubmitButton

Field Summary
final public static  StringALIGN_CENTER
    
final public static  StringALIGN_LEFT
    
final public static  StringALIGN_RIGHT
    
final public static  intBUTTON_DISPLAY_BELOW_TABLE
    
final public static  intBUTTON_DISPLAY_IN_HEADER
    
final public static  intBUTTON_DISPLAY_IN_HEADER_AND_BELOW_TABLE
    
protected  String_bottomButtonAlign
    
protected  String_buttonBgColor
    
protected  int_buttonDisplayLocation
    
protected  String_buttonFontStyle
    
protected  ArrayList_buttons
    
protected  ArrayList_hidden
    
protected  ArrayList_messageButtons
    
protected  String_okButtonCap_cancelButtonCap_undoButtonCap
    
protected  boolean_updateLocale
    
protected  HtmlValidatorText_validator
    
protected  boolean_validatorBuiltInternally
    

Constructor Summary
public  JspFormDisplayBox(String name, String theme, HtmlPage p)
    

Method Summary
protected  voidaddConfirmScript(String message, HtmlHiddenField hidden)
    
abstract public  voidautoBindComponents()
     Binds various components to the component based on their names passed to the constructor.
public static  StringbuildWhereFromDsRow(DataStore dsb, int row)
    
protected  HtmlFormComponentfindFirstFormComponent(JspContainer cont)
    
protected  HtmlTextfindFirstTextComponent(JspContainer cont)
    
protected  HtmlCheckBoxfindFirstUnboundCheckBox(JspContainer cont)
    
public  voidgenerateHTML(TagWriter t, String boxBody)
     Generates the Html for the component.
public  StringgetBottomButtonAlign()
    
protected  boolean[]getButtonsVisible()
    
public  StringgetCancelButtonCap()
    
protected  StringgetLookupReturnToURL(String keyVal, String descVal)
    
public  StringgetOkButtonCap()
    
public  StringgetUndoButtonCap()
    
protected  booleanisFromLookup()
    
protected  booleanisFromPopupLookup()
    
protected  voidprocessLocaleInfo()
    
public  voidsetBottomButtonAlign(String string)
     rets the alignment for buttons that appear at the bottom of the component under the table.
public  voidsetButtonBgColor(String bgColor)
    
public  voidsetButtonFontStyle(String style)
    
protected  voidsetButtonVisible(boolean vis)
    
public  voidsetCancelButtonCap(String string)
    
public  voidsetOkButtonCap(String string)
    
public  voidsetTheme(String theme)
    
public  voidsetUndoButtonCap(String string)
    
protected  voidsetUpButtons()
    
public  voidsetVisible(boolean vis)
    
public  voidupdateLocale()
    

Field Detail
ALIGN_CENTER
final public static String ALIGN_CENTER(Code)



ALIGN_LEFT
final public static String ALIGN_LEFT(Code)



ALIGN_RIGHT
final public static String ALIGN_RIGHT(Code)



BUTTON_DISPLAY_BELOW_TABLE
final public static int BUTTON_DISPLAY_BELOW_TABLE(Code)



BUTTON_DISPLAY_IN_HEADER
final public static int BUTTON_DISPLAY_IN_HEADER(Code)



BUTTON_DISPLAY_IN_HEADER_AND_BELOW_TABLE
final public static int BUTTON_DISPLAY_IN_HEADER_AND_BELOW_TABLE(Code)



_bottomButtonAlign
protected String _bottomButtonAlign(Code)



_buttonBgColor
protected String _buttonBgColor(Code)



_buttonDisplayLocation
protected int _buttonDisplayLocation(Code)



_buttonFontStyle
protected String _buttonFontStyle(Code)



_buttons
protected ArrayList _buttons(Code)



_hidden
protected ArrayList _hidden(Code)



_messageButtons
protected ArrayList _messageButtons(Code)



_okButtonCap_cancelButtonCap_undoButtonCap
protected String _okButtonCap_cancelButtonCap_undoButtonCap(Code)



_updateLocale
protected boolean _updateLocale(Code)



_validator
protected HtmlValidatorText _validator(Code)



_validatorBuiltInternally
protected boolean _validatorBuiltInternally(Code)




Constructor Detail
JspFormDisplayBox
public JspFormDisplayBox(String name, String theme, HtmlPage p)(Code)




Method Detail
addConfirmScript
protected void addConfirmScript(String message, HtmlHiddenField hidden)(Code)



autoBindComponents
abstract public void autoBindComponents() throws Exception(Code)
Binds various components to the component based on their names passed to the constructor. CriteriaBuilder, CriteriaValidator and ListForm. This method is called by the framework and should not be called directly.



buildWhereFromDsRow
public static String buildWhereFromDsRow(DataStore dsb, int row) throws DataStoreException(Code)



findFirstFormComponent
protected HtmlFormComponent findFirstFormComponent(JspContainer cont)(Code)



findFirstTextComponent
protected HtmlText findFirstTextComponent(JspContainer cont)(Code)



findFirstUnboundCheckBox
protected HtmlCheckBox findFirstUnboundCheckBox(JspContainer cont)(Code)



generateHTML
public void generateHTML(TagWriter t, String boxBody) throws Exception(Code)
Generates the Html for the component. This method is called by the framework and should not be called directly



getBottomButtonAlign
public String getBottomButtonAlign()(Code)
the alignment for buttons that appear at the bottom of the component under the table



getButtonsVisible
protected boolean[] getButtonsVisible()(Code)



getCancelButtonCap
public String getCancelButtonCap()(Code)
the caption for the cancel button



getLookupReturnToURL
protected String getLookupReturnToURL(String keyVal, String descVal)(Code)



getOkButtonCap
public String getOkButtonCap()(Code)
the caption for the ok button



getUndoButtonCap
public String getUndoButtonCap()(Code)
the caption for the undo button



isFromLookup
protected boolean isFromLookup()(Code)



isFromPopupLookup
protected boolean isFromPopupLookup()(Code)



processLocaleInfo
protected void processLocaleInfo()(Code)



setBottomButtonAlign
public void setBottomButtonAlign(String string)(Code)
rets the alignment for buttons that appear at the bottom of the component under the table. Valid values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT



setButtonBgColor
public void setButtonBgColor(String bgColor)(Code)
Sets the background color for the search and add buttons



setButtonFontStyle
public void setButtonFontStyle(String style)(Code)
Sets the font style for the search and add buttons



setButtonVisible
protected void setButtonVisible(boolean vis)(Code)



setCancelButtonCap
public void setCancelButtonCap(String string)(Code)
sets the caption for the cancel button



setOkButtonCap
public void setOkButtonCap(String string)(Code)
sets the caption for the ok button



setTheme
public void setTheme(String theme)(Code)
Sets the theme for the component



setUndoButtonCap
public void setUndoButtonCap(String string)(Code)
sets the caption for the undo button



setUpButtons
protected void setUpButtons()(Code)



setVisible
public void setVisible(boolean vis)(Code)
Sets the component and all subcomponents visible or not



updateLocale
public void updateLocale()(Code)
Updates the display box button labels for the current language



Fields inherited from com.salmonllc.jsp.JspDisplayBox
final public static int SIZE_PERCENT(Code)(Java Doc)
final public static int SIZE_PIXELS(Code)(Java Doc)
protected String _fontEndTag(Code)(Java Doc)
protected String _fontStartTag(Code)(Java Doc)
String _headingCaption(Code)(Java Doc)

Methods inherited from com.salmonllc.jsp.JspDisplayBox
public void generateHTML(TagWriter t, String headingBody, String boxBody) throws java.io.IOException(Code)(Java Doc)
public String getBackgroundColor()(Code)(Java Doc)
public String getBodyClassname()(Code)(Java Doc)
public int getBorder()(Code)(Java Doc)
public int getCellPadding()(Code)(Java Doc)
public int getCellSpacing()(Code)(Java Doc)
public String getFont()(Code)(Java Doc)
public String getHeaderFont()(Code)(Java Doc)
public String getHeadingBackgroundColor()(Code)(Java Doc)
public String getHeadingCaption()(Code)(Java Doc)
public String getHeadingClassname()(Code)(Java Doc)
public int getInnerCellPadding()(Code)(Java Doc)
public int getInnerCellSpacing()(Code)(Java Doc)
public String getTheme()(Code)(Java Doc)
public String getWidth()(Code)(Java Doc)
public boolean isHeadingSuppressed()(Code)(Java Doc)
public void setBackgroundColor(String color)(Code)(Java Doc)
public void setBodyClassname(String string)(Code)(Java Doc)
public void setBorder(int border)(Code)(Java Doc)
public void setCellPadding(int value)(Code)(Java Doc)
public void setCellSpacing(int value)(Code)(Java Doc)
public void setFont(String font)(Code)(Java Doc)
public void setFontEndTag(String value)(Code)(Java Doc)
public void setFontStartTag(String value)(Code)(Java Doc)
public void setHeaderFont(String fontName)(Code)(Java Doc)
public void setHeadingBackgroundColor(String color)(Code)(Java Doc)
public void setHeadingCaption(String text)(Code)(Java Doc)
public void setHeadingClassname(String string)(Code)(Java Doc)
public void setInnerCellPadding(int value)(Code)(Java Doc)
public void setInnerCellSpacing(int value)(Code)(Java Doc)
public void setTheme(String theme)(Code)(Java Doc)
public void setWidth(String width)(Code)(Java Doc)
public void suppressHeading(boolean supHead)(Code)(Java Doc)

Fields inherited from com.salmonllc.jsp.JspContainer
final public static int TYPE_COMP(Code)(Java Doc)
final public static int TYPE_FOOTER(Code)(Java Doc)
final public static int TYPE_GROUP_FOOTER(Code)(Java Doc)
final public static int TYPE_GROUP_HEADER(Code)(Java Doc)
final public static int TYPE_HEADER(Code)(Java Doc)
final public static int TYPE_ROW(Code)(Java Doc)
protected boolean _center(Code)(Java Doc)
protected boolean _enabled(Code)(Java Doc)
protected HtmlComponent _submit(Code)(Java Doc)

Methods inherited from com.salmonllc.jsp.JspContainer
public void add(HtmlComponent comp, int type)(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 java.lang.Exception(Code)(Java Doc)
public HtmlComponent getComponent(int i)(Code)(Java Doc)
public int getComponentCount()(Code)(Java Doc)
public int getComponentIndex(HtmlComponent comp)(Code)(Java Doc)
public int getComponentType(int i)(Code)(Java Doc)
public int getComponentType(HtmlComponent comp)(Code)(Java Doc)
public Enumeration getComponents()(Code)(Java Doc)
public JspController getController()(Code)(Java Doc)
public boolean getDoInit()(Code)(Java Doc)
public HtmlComponent getSubmitComponent()(Code)(Java Doc)
public void initialize()(Code)(Java Doc)
public boolean isComponentInContainer(HtmlComponent comp)(Code)(Java Doc)
public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code)(Java Doc)
boolean replaceComponent(HtmlComponent comp, Object compToReplace)(Code)(Java Doc)
public void setDoInit(boolean b)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setVisible(boolean visible)(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)
protected boolean _generateNewline(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.