Java Doc for HtmlBaseTag.java in  » Library » Apache-beehive-1.0.2-src » org » apache » beehive » netui » tags » 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 » Library » Apache beehive 1.0.2 src » org.apache.beehive.netui.tags.html 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.beehive.netui.tags.AbstractClassicTag
   org.apache.beehive.netui.tags.html.HtmlBaseTag

All known Subclasses:   org.apache.beehive.netui.tags.html.HtmlFocusBaseTag,  org.apache.beehive.netui.tags.html.SelectOption,  org.apache.beehive.netui.tags.html.Body,  org.apache.beehive.netui.tags.html.Form,  org.apache.beehive.netui.tags.html.LabelBase,  org.apache.beehive.netui.tags.html.Image,  org.apache.beehive.netui.tags.html.AnchorBase,
HtmlBaseTag
abstract public class HtmlBaseTag extends AbstractClassicTag implements HtmlConstants,IAttributeConsumer,IHtmlAttrs(Code)
[Base] Anchor, Form, Image, ImageAnchor (Image), Label, SelectOption [FocusBase] Button, CheckBoxOption, ImageButton, RadioButtonOption [DataSource] FileUpload [DefaultableDatSource] CheckBox, TextArea, TextBox [OptionsDataSource] Select [GroupDataSource] CheckBoxGroup, RadioButtonGroup




Method Summary
protected  StringgetJavaScriptAttribute(String name)
    
public  StringgetOnClick()
     Gets the onClick javascript event.
abstract protected  AbstractHtmlStategetState()
     This method will return the state associated with the tag.
public  StringgetTagId()
     Return the ID of the tag.
protected  voidlocalRelease()
     Free the state variables of this base class.
protected  StringrenderDefaultNameAndId(HttpServletRequest request, AbstractHtmlState state, String id, String name)
    
final protected  StringrenderNameAndId(HttpServletRequest request, AbstractHtmlState state, Form parentForm)
    
public  voidsetAttribute(String name, String value, String facet)
     Base support for the attribute tag.
public  voidsetDir(String dir)
     Sets the dir attribute for the HTML element.
public  voidsetLang(String lang)
     Sets the lang attribute for the HTML element.
public  voidsetOnClick(String onclick)
     Sets the onClick javascript event.
public  voidsetOnDblClick(String ondblclick)
     Sets the onDblClick javascript event.
public  voidsetOnKeyDown(String onkeydown)
     Sets the onKeyDown javascript event.
public  voidsetOnKeyPress(String onkeypress)
     Sets the onKeyPress javascript event.
public  voidsetOnKeyUp(String onkeyup)
     Sets the onKeyUp javascript event.
public  voidsetOnMouseDown(String onmousedown)
     Sets the onMouseDown javascript event.
public  voidsetOnMouseMove(String onmousemove)
     Sets the onMouseMove javascript event.
public  voidsetOnMouseOut(String onmouseout)
     Sets the onMouseOut javascript event.
public  voidsetOnMouseOver(String onmouseover)
     Sets the onMouseOver javascript event.
public  voidsetOnMouseUp(String onmouseup)
     Sets the onMouseUp javascript event.
protected  voidsetStateAttribute(String name, String value, AbstractHtmlState tsh)
     Attribute implementation.
public  voidsetStyle(String style)
     Sets the style of the rendered html tag.
public  voidsetStyleClass(String styleClass)
     Sets the style class of the rendered html tag.
public  voidsetTagId(String tagId)
     Set the ID of the tag.
Parameters:
  tagId - the tagId.
public  voidsetTitle(String title)
     Sets the value of the title attribute.



Method Detail
getJavaScriptAttribute
protected String getJavaScriptAttribute(String name)(Code)



getOnClick
public String getOnClick()(Code)
Gets the onClick javascript event. the onClick event.



getState
abstract protected AbstractHtmlState getState()(Code)
This method will return the state associated with the tag. This is used by this base class to access the individual state objects created by the tags. a subclass of the AbstractHtmlState class.



getTagId
public String getTagId()(Code)
Return the ID of the tag. The id may be rewritten by the container (such as a portal) to make sure it is unique. JavaScript may lookup the actual id of the element by looking it up in the netui_names table written into the HTML. the tagId.



localRelease
protected void localRelease()(Code)
Free the state variables of this base class.



renderDefaultNameAndId
protected String renderDefaultNameAndId(HttpServletRequest request, AbstractHtmlState state, String id, String name)(Code)



renderNameAndId
final protected String renderNameAndId(HttpServletRequest request, AbstractHtmlState state, Form parentForm)(Code)
Assumptions:
  • The state.name must be fully formed or the "real name" of the form.
  • The state.id is the tagId value set on the tag and has not be rewritten yet to form the "real id"

Parameters:
  state -
Parameters:
  parentForm - String



setAttribute
public void setAttribute(String name, String value, String facet) throws JspException(Code)
Base support for the attribute tag. This requires that the tag buffer their body and write attribute in the end tag. For the HTML tags it is not legal to set the id or name attributes. In addition, the base tag does not allow facets to be set. If the attribute is legal it will be added to the general expression map stored in the AbstractHtmlState of the tag.
Parameters:
  name - The name of the attribute. This value may not be null or the empty string.
Parameters:
  value - The value of the attribute. This may contain an expression.
Parameters:
  facet - The name of a facet to which the attribute will be applied. This is optional.
throws:
  JspException - A JspException may be thrown if there is an error setting the attribute.



setDir
public void setDir(String dir)(Code)
Sets the dir attribute for the HTML element.
Parameters:
  dir -



setLang
public void setLang(String lang)(Code)
Sets the lang attribute for the HTML element.
Parameters:
  lang -



setOnClick
public void setOnClick(String onclick)(Code)
Sets the onClick javascript event.
Parameters:
  onclick - the onClick event.



setOnDblClick
public void setOnDblClick(String ondblclick)(Code)
Sets the onDblClick javascript event.
Parameters:
  ondblclick - the onDblClick event.



setOnKeyDown
public void setOnKeyDown(String onkeydown)(Code)
Sets the onKeyDown javascript event.
Parameters:
  onkeydown - the onKeyDown event.



setOnKeyPress
public void setOnKeyPress(String onkeypress)(Code)
Sets the onKeyPress javascript event.
Parameters:
  onkeypress - the onKeyPress event.



setOnKeyUp
public void setOnKeyUp(String onkeyup)(Code)
Sets the onKeyUp javascript event.
Parameters:
  onkeyup - the onKeyUp event.



setOnMouseDown
public void setOnMouseDown(String onmousedown)(Code)
Sets the onMouseDown javascript event.
Parameters:
  onmousedown - the onMouseDown event.



setOnMouseMove
public void setOnMouseMove(String onmousemove)(Code)
Sets the onMouseMove javascript event.
Parameters:
  onmousemove - the onMouseMove event.



setOnMouseOut
public void setOnMouseOut(String onmouseout)(Code)
Sets the onMouseOut javascript event.
Parameters:
  onmouseout - the onMouseOut event.



setOnMouseOver
public void setOnMouseOver(String onmouseover)(Code)
Sets the onMouseOver javascript event.
Parameters:
  onmouseover - the onMouseOver event.



setOnMouseUp
public void setOnMouseUp(String onmouseup)(Code)
Sets the onMouseUp javascript event.
Parameters:
  onmouseup - the onMouseUp event.



setStateAttribute
protected void setStateAttribute(String name, String value, AbstractHtmlState tsh) throws JspException(Code)
Attribute implementation.
Parameters:
  name -
Parameters:
  value -
Parameters:
  tsh -
throws:
  JspException -



setStyle
public void setStyle(String style)(Code)
Sets the style of the rendered html tag.
Parameters:
  style - the html style.



setStyleClass
public void setStyleClass(String styleClass)(Code)
Sets the style class of the rendered html tag.
Parameters:
  styleClass - the html style class.



setTagId
public void setTagId(String tagId) throws JspException(Code)
Set the ID of the tag.
Parameters:
  tagId - the tagId. A value is required.



setTitle
public void setTitle(String title)(Code)
Sets the value of the title attribute.
Parameters:
  title -



Fields inherited from org.apache.beehive.netui.tags.AbstractClassicTag
final public static List DefaultNamingChain(Code)(Java Doc)
final protected static String EMPTY_STRING(Code)(Java Doc)
final public static String NETUI_UNIQUE_CNT(Code)(Java Doc)

Methods inherited from org.apache.beehive.netui.tags.AbstractClassicTag
protected String applyNamingChain(String name) throws JspException(Code)(Java Doc)
protected String getErrorsReport()(Code)(Java Doc)
final protected String getIdForTagId(String tagId)(Code)(Java Doc)
protected List getNamingChain()(Code)(Java Doc)
protected Form getNearestForm()(Code)(Java Doc)
protected int getNextId(ServletRequest req)(Code)(Java Doc)
protected IScriptReporter getScriptReporter()(Code)(Java Doc)
abstract public String getTagName()(Code)(Java Doc)
protected Locale getUserLocale()(Code)(Java Doc)
protected boolean hasErrors()(Code)(Java Doc)
protected void localRelease()(Code)(Java Doc)
protected String qualifyAttribute(String name) throws JspException(Code)(Java Doc)
public void registerTagError(String message, Throwable e) throws JspException(Code)(Java Doc)
public void registerTagError(AbstractPageError error) throws JspException(Code)(Java Doc)
protected int reportAndExit(int returnValue) throws JspException(Code)(Java Doc)
protected void reportErrors() throws JspException(Code)(Java Doc)
final protected String rewriteName(String name)(Code)(Java Doc)
final protected String setNonEmptyValueAttribute(String attrValue)(Code)(Java Doc)
final protected String setRequiredValueAttribute(String attrValue, String attrName) throws JspException(Code)(Java Doc)
final protected void write(String string)(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.