Java Doc for BaseTag.java in  » Portal » stringbeans-3.5 » com » nabhinc » portlet » mvcportlet » taglib » 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 » Portal » stringbeans 3.5 » com.nabhinc.portlet.mvcportlet.taglib 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.servlet.jsp.tagext.TagSupport
      com.nabhinc.portlet.mvcportlet.taglib.BaseTag

All known Subclasses:   com.nabhinc.portlet.mvcportlet.taglib.InputTag,  com.nabhinc.portlet.mvcportlet.taglib.SelectTag,  com.nabhinc.portlet.mvcportlet.taglib.HtmlAreaTag,  com.nabhinc.portlet.mvcportlet.taglib.TextAreaTag,
BaseTag
abstract public class BaseTag extends TagSupport (Code)
Base class for tags that render form elements capable of including JavaScript event handlers and/or CSS Style attributes. This class does not implement the doStartTag() or doEndTag() methods. Subclasses should provide appropriate implementations of these.
author:
   Don Clasen
author:
   James Turner
version:
   $Revision: 1.7 $ $Date: 2006/09/14 22:16:59 $


Field Summary
protected  StringbtAccesskey
     Access key character.
protected  StringbtName
    
protected  booleanindexed
    
protected  Stringtabindex
     Tab index value.


Method Summary
public  voiddebug(String msg)
     Logs a debug message.
public  voiderror(String msg)
     Logs an error message.
public  voiderror(String msg, Throwable t)
     Logs an error message.
public  voidfatal(String msg)
     Logs a fatal message.
public  voidfatal(String msg, Throwable t)
     Logs a fatal message and stack trace of the error.
public  StringgetAccesskey()
     Returns the accessKey character.
public  StringgetAlt()
     Returns the alternate text attribute.
public  StringgetBundle()
     Returns the name of the message resources bundle to use.
protected  StringgetDefaultFieldValue(PortletRequest request)
    
protected  String[]getDefaultFieldValues(PortletRequest request)
    
public  booleangetDisabled()
     Returns the disabled event handler.
protected  StringgetElementClose()
     Returns the closing brace for an input element depending on xhtml status.
public  StringgetId()
     Returns the tag id attribute.
public  booleangetIndexed()
     Returns the indexed value.
public  StringgetName()
    
public  StringgetOnblur()
     Returns the onBlur event handler.
public  StringgetOnchange()
     Returns the onChange event handler.
public  StringgetOnclick()
     Returns the onClick event handler.
public  StringgetOndblclick()
     Returns the onDblClick event handler.
public  StringgetOnfocus()
     Returns the onFocus event handler.
public  StringgetOnkeydown()
     Returns the onKeyDown event handler.
public  StringgetOnkeypress()
     Returns the onKeyPress event handler.
public  StringgetOnkeyup()
     Returns the onKeyUp event handler.
public  StringgetOnmousedown()
     Returns the onMouseDown event handler.
public  StringgetOnmousemove()
     Returns the onMouseMove event handler.
public  StringgetOnmouseout()
     Returns the onMouseOut event handler.
public  StringgetOnmouseover()
     Returns the onMouseOver event handler.
public  StringgetOnmouseup()
     Returns the onMouseUp event handler.
public  StringgetOnselect()
     Returns the onSelect event handler.
protected  StringgetParamValue(RenderRequest request)
    
protected  String[]getParamValues(RenderRequest request)
    
public  booleangetReadonly()
     Returns the readonly event handler.
public  StringgetStyle()
     Returns the inline style attribute.
public  StringgetStyleClass()
     Returns the style class attribute.
public  StringgetTabindex()
     Returns the tabIndex value.
public  StringgetTitle()
     Returns the advisory title attribute.
public  voidinfo(String msg)
     Logs informational message.
protected  booleanisXhtml()
     Allows HTML tags to find out if they're nested within an %lt;html:html> tag that has xhtml set to true.
protected  StringprepareEventHandlers()
     Prepares the event handlers for inclusion in the component's HTML tag.
protected  voidprepareFocusEvents(StringBuffer handlers)
     Prepares the focus event handlers, appending them to the the given StringBuffer.
protected  voidprepareKeyEvents(StringBuffer handlers)
     Prepares the keyboard event handlers, appending them to the the given StringBuffer.
protected  voidprepareMouseEvents(StringBuffer handlers)
     Prepares the mouse event handlers, appending them to the the given StringBuffer.
protected  StringprepareStyles()
     Prepares the style attributes for inclusion in the component's HTML tag.
protected  voidprepareTextEvents(StringBuffer handlers)
     Prepares the text event handlers, appending them to the the given StringBuffer.
public  voidrelease()
     Release any acquired resources.
public  voidsetAccesskey(String accessKey)
     Sets the accessKey character.
public  voidsetAlt(String alt)
     Sets the alternate text attribute.
public  voidsetBundle(String bundle)
     Sets the name of the message resources bundle to use.
public  voidsetDisabled(boolean disabled)
     Sets the disabled event handler.
public  voidsetId(String tagId)
     Sets the tag id attribute.
public  voidsetIndexed(boolean indexed)
     Sets the indexed value.
public  voidsetName(String name)
    
public  voidsetOnblur(String onBlur)
     Sets the onBlur event handler.
public  voidsetOnchange(String onChange)
     Sets the onChange event handler.
public  voidsetOnclick(String onClick)
     Sets the onClick event handler.
public  voidsetOndblclick(String onDblClick)
     Sets the onDblClick event handler.
public  voidsetOnfocus(String onFocus)
     Sets the onFocus event handler.
public  voidsetOnkeydown(String onKeyDown)
     Sets the onKeyDown event handler.
public  voidsetOnkeypress(String onKeyPress)
     Sets the onKeyPress event handler.
public  voidsetOnkeyup(String onKeyUp)
     Sets the onKeyUp event handler.
public  voidsetOnmousedown(String onMouseDown)
     Sets the onMouseDown event handler.
public  voidsetOnmousemove(String onMouseMove)
     Sets the onMouseMove event handler.
public  voidsetOnmouseout(String onMouseOut)
     Sets the onMouseOut event handler.
public  voidsetOnmouseover(String onMouseOver)
     Sets the onMouseOver event handler.
public  voidsetOnmouseup(String onMouseUp)
     Sets the onMouseUp event handler.
public  voidsetOnselect(String onSelect)
     Sets the onSelect event handler.
public  voidsetReadonly(boolean readonly)
     Sets the readonly event handler.
public  voidsetStyle(String style)
     Sets the inline style attribute.
public  voidsetStyleClass(String styleClass)
     Sets the style class attribute.
public  voidsetTabindex(String tabIndex)
     Sets the tabIndex value.
public  voidsetTitle(String title)
     Sets the advisory title attribute.
public  voidwarn(String msg)
     Logs a warning message.
public  voidwarn(String msg, Throwable t)
     Logs a warning message.

Field Detail
btAccesskey
protected String btAccesskey(Code)
Access key character.



btName
protected String btName(Code)



indexed
protected boolean indexed(Code)
Whether to created indexed names for fields



tabindex
protected String tabindex(Code)
Tab index value.





Method Detail
debug
public void debug(String msg)(Code)
Logs a debug message.
Parameters:
  msg - Message to be logged



error
public void error(String msg)(Code)
Logs an error message.
Parameters:
  msg - Message to be logged



error
public void error(String msg, Throwable t)(Code)
Logs an error message.
Parameters:
  msg - Message to be logged



fatal
public void fatal(String msg)(Code)
Logs a fatal message.
Parameters:
  msg -



fatal
public void fatal(String msg, Throwable t)(Code)
Logs a fatal message and stack trace of the error.
Parameters:
  msg -
Parameters:
  t -



getAccesskey
public String getAccesskey()(Code)
Returns the accessKey character.



getAlt
public String getAlt()(Code)
Returns the alternate text attribute.



getBundle
public String getBundle()(Code)
Returns the name of the message resources bundle to use.



getDefaultFieldValue
protected String getDefaultFieldValue(PortletRequest request) throws JspException(Code)



getDefaultFieldValues
protected String[] getDefaultFieldValues(PortletRequest request) throws JspException(Code)



getDisabled
public boolean getDisabled()(Code)
Returns the disabled event handler.



getElementClose
protected String getElementClose()(Code)
Returns the closing brace for an input element depending on xhtml status. The tag must be nested within an %lt;html:html> tag that has xhtml set to true. String - > if xhtml is false, /> if xhtml is true
since:
   Struts 1.1



getId
public String getId()(Code)
Returns the tag id attribute.



getIndexed
public boolean getIndexed()(Code)
Returns the indexed value.



getName
public String getName()(Code)



getOnblur
public String getOnblur()(Code)
Returns the onBlur event handler.



getOnchange
public String getOnchange()(Code)
Returns the onChange event handler.



getOnclick
public String getOnclick()(Code)
Returns the onClick event handler.



getOndblclick
public String getOndblclick()(Code)
Returns the onDblClick event handler.



getOnfocus
public String getOnfocus()(Code)
Returns the onFocus event handler.



getOnkeydown
public String getOnkeydown()(Code)
Returns the onKeyDown event handler.



getOnkeypress
public String getOnkeypress()(Code)
Returns the onKeyPress event handler.



getOnkeyup
public String getOnkeyup()(Code)
Returns the onKeyUp event handler.



getOnmousedown
public String getOnmousedown()(Code)
Returns the onMouseDown event handler.



getOnmousemove
public String getOnmousemove()(Code)
Returns the onMouseMove event handler.



getOnmouseout
public String getOnmouseout()(Code)
Returns the onMouseOut event handler.



getOnmouseover
public String getOnmouseover()(Code)
Returns the onMouseOver event handler.



getOnmouseup
public String getOnmouseup()(Code)
Returns the onMouseUp event handler.



getOnselect
public String getOnselect()(Code)
Returns the onSelect event handler.



getParamValue
protected String getParamValue(RenderRequest request) throws JspException(Code)



getParamValues
protected String[] getParamValues(RenderRequest request) throws JspException(Code)



getReadonly
public boolean getReadonly()(Code)
Returns the readonly event handler.



getStyle
public String getStyle()(Code)
Returns the inline style attribute.



getStyleClass
public String getStyleClass()(Code)
Returns the style class attribute.



getTabindex
public String getTabindex()(Code)
Returns the tabIndex value.



getTitle
public String getTitle()(Code)
Returns the advisory title attribute.



info
public void info(String msg)(Code)
Logs informational message.
Parameters:
  msg - Message to be logged



isXhtml
protected boolean isXhtml()(Code)
Allows HTML tags to find out if they're nested within an %lt;html:html> tag that has xhtml set to true. true if the tag is nested within an html tag with xhtml set to true, falseotherwise.
since:
   Struts 1.1



prepareEventHandlers
protected String prepareEventHandlers()(Code)
Prepares the event handlers for inclusion in the component's HTML tag. The prepared String for inclusion in the HTML tag.



prepareFocusEvents
protected void prepareFocusEvents(StringBuffer handlers)(Code)
Prepares the focus event handlers, appending them to the the given StringBuffer.
Parameters:
  handlers - The StringBuffer that output will be appended to.



prepareKeyEvents
protected void prepareKeyEvents(StringBuffer handlers)(Code)
Prepares the keyboard event handlers, appending them to the the given StringBuffer.
Parameters:
  handlers - The StringBuffer that output will be appended to.



prepareMouseEvents
protected void prepareMouseEvents(StringBuffer handlers)(Code)
Prepares the mouse event handlers, appending them to the the given StringBuffer.
Parameters:
  handlers - The StringBuffer that output will be appended to.



prepareStyles
protected String prepareStyles() throws JspException(Code)
Prepares the style attributes for inclusion in the component's HTML tag. The prepared String for inclusion in the HTML tag.
exception:
  JspException - if invalid attributes are specified



prepareTextEvents
protected void prepareTextEvents(StringBuffer handlers)(Code)
Prepares the text event handlers, appending them to the the given StringBuffer.
Parameters:
  handlers - The StringBuffer that output will be appended to.



release
public void release()(Code)
Release any acquired resources.



setAccesskey
public void setAccesskey(String accessKey)(Code)
Sets the accessKey character.



setAlt
public void setAlt(String alt)(Code)
Sets the alternate text attribute.



setBundle
public void setBundle(String bundle)(Code)
Sets the name of the message resources bundle to use.



setDisabled
public void setDisabled(boolean disabled)(Code)
Sets the disabled event handler.



setId
public void setId(String tagId)(Code)
Sets the tag id attribute.



setIndexed
public void setIndexed(boolean indexed)(Code)
Sets the indexed value.



setName
public void setName(String name)(Code)



setOnblur
public void setOnblur(String onBlur)(Code)
Sets the onBlur event handler.



setOnchange
public void setOnchange(String onChange)(Code)
Sets the onChange event handler.



setOnclick
public void setOnclick(String onClick)(Code)
Sets the onClick event handler.



setOndblclick
public void setOndblclick(String onDblClick)(Code)
Sets the onDblClick event handler.



setOnfocus
public void setOnfocus(String onFocus)(Code)
Sets the onFocus event handler.



setOnkeydown
public void setOnkeydown(String onKeyDown)(Code)
Sets the onKeyDown event handler.



setOnkeypress
public void setOnkeypress(String onKeyPress)(Code)
Sets the onKeyPress event handler.



setOnkeyup
public void setOnkeyup(String onKeyUp)(Code)
Sets the onKeyUp event handler.



setOnmousedown
public void setOnmousedown(String onMouseDown)(Code)
Sets the onMouseDown event handler.



setOnmousemove
public void setOnmousemove(String onMouseMove)(Code)
Sets the onMouseMove event handler.



setOnmouseout
public void setOnmouseout(String onMouseOut)(Code)
Sets the onMouseOut event handler.



setOnmouseover
public void setOnmouseover(String onMouseOver)(Code)
Sets the onMouseOver event handler.



setOnmouseup
public void setOnmouseup(String onMouseUp)(Code)
Sets the onMouseUp event handler.



setOnselect
public void setOnselect(String onSelect)(Code)
Sets the onSelect event handler.



setReadonly
public void setReadonly(boolean readonly)(Code)
Sets the readonly event handler.



setStyle
public void setStyle(String style)(Code)
Sets the inline style attribute.



setStyleClass
public void setStyleClass(String styleClass)(Code)
Sets the style class attribute.



setTabindex
public void setTabindex(String tabIndex)(Code)
Sets the tabIndex value.



setTitle
public void setTitle(String title)(Code)
Sets the advisory title attribute.



warn
public void warn(String msg)(Code)
Logs a warning message.
Parameters:
  msg - Message to be logged



warn
public void warn(String msg, Throwable t)(Code)
Logs a warning message.
Parameters:
  msg - Message to be logged.
Parameters:
  t - A throwable object.



Fields inherited from javax.servlet.jsp.tagext.TagSupport
protected String id(Code)(Java Doc)
protected PageContext pageContext(Code)(Java Doc)

Methods inherited from javax.servlet.jsp.tagext.TagSupport
public int doAfterBody() throws JspException(Code)(Java Doc)
public int doEndTag() throws JspException(Code)(Java Doc)
public int doStartTag() throws JspException(Code)(Java Doc)
final public static Tag findAncestorWithClass(Tag from, Class klass)(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public Tag getParent()(Code)(Java Doc)
public Object getValue(String k)(Code)(Java Doc)
public Enumeration getValues()(Code)(Java Doc)
public void release()(Code)(Java Doc)
public void removeValue(String k)(Code)(Java Doc)
public void setId(String id)(Code)(Java Doc)
public void setPageContext(PageContext pageContext)(Code)(Java Doc)
public void setParent(Tag t)(Code)(Java Doc)
public void setValue(String k, Object o)(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.