Java Doc for ImgTag.java in  » Web-Framework » struts-1.3.8 » org » apache » struts » taglib » 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 » Web Framework » struts 1.3.8 » org.apache.struts.taglib.html 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.struts.taglib.html.BaseHandlerTag
   org.apache.struts.taglib.html.ImgTag

All known Subclasses:   org.apache.strutsel.taglib.html.ELImgTag,  org.apache.struts.taglib.nested.html.NestedImgTag,
ImgTag
public class ImgTag extends BaseHandlerTag (Code)

Generate an IMG tag to the specified image URI.

TODO:

  • Make the alt and src settable from properties (for i18n)

version:
   $Rev: 471754 $


Field Summary
protected  Stringaction
     The module-relative action (beginning with a slash) which will be used as the source for this image.
protected  Stringalign
     The property to specify where to align the image.
protected  Stringborder
     The border size around the image.
protected  Stringheight
     The image height.
protected  Stringhspace
     The horizontal spacing around the image.
protected  StringimageName
     The image name for named images.
protected  Stringismap
     Server-side image map declaration.
protected static  MessageResourcesmessages
     The message resources for this package.
protected  Stringmodule
     The module prefix (beginning with a slash) which will be used to find the action for this link.
protected  Stringname
     The JSP bean name for query parameters.
protected  Stringpage
     The module-relative path, starting with a slash character, of the image to be displayed by this rendered tag.
protected  StringpageKey
     The message resources key under which we should look up the page attribute for this generated tag, if any.
protected  StringparamId
     In situations where an image is dynamically generated (such as to create a chart graph), this specifies the single-parameter request parameter name to generate.
protected  StringparamName
     The single-parameter JSP bean name.
protected  StringparamProperty
     The single-parameter JSP bean property.
protected  StringparamScope
     The single-parameter JSP bean scope.
protected  Stringproperty
     The JSP bean property name for query parameters.
protected  Stringscope
     The scope of the bean specified by the name property, if any.
protected  Stringsrc
     The image source URI.
protected  StringsrcKey
     The message resources key under which we should look up the src attribute for this generated tag, if any.
protected  booleanuseLocalEncoding
    
protected  Stringusemap
     Client-side image map declaration.
protected  Stringvspace
     The vertical spacing around the image.
protected  Stringwidth
     The image width.

Constructor Summary
public  ImgTag()
    

Method Summary
public  intdoEndTag()
     Render the end of the IMG tag.
public  intdoStartTag()
     Render the beginning of the IMG tag.
public  StringgetAction()
    
public  StringgetAlign()
    
public  StringgetBorder()
    
public  StringgetHeight()
    
public  StringgetHspace()
    
public  StringgetImageName()
    
public  StringgetIsmap()
    
public  StringgetModule()
    
public  StringgetName()
    
public  StringgetPage()
    
public  StringgetPageKey()
    
public  StringgetParamId()
    
public  StringgetParamName()
    
public  StringgetParamProperty()
    
public  StringgetParamScope()
    
public  StringgetProperty()
    
public  StringgetScope()
    
public  StringgetSrc()
    
public  StringgetSrcKey()
    
public  StringgetUsemap()
    
public  StringgetVspace()
    
public  StringgetWidth()
    
public  booleanisUseLocalEncoding()
    
public  voidrelease()
     Release any acquired resources.
public  voidsetAction(String action)
    
public  voidsetAlign(String align)
    
public  voidsetBorder(String border)
    
public  voidsetHeight(String height)
    
public  voidsetHspace(String hspace)
    
public  voidsetImageName(String imageName)
    
public  voidsetIsmap(String ismap)
    
public  voidsetModule(String module)
    
public  voidsetName(String name)
    
public  voidsetPage(String page)
    
public  voidsetPageKey(String pageKey)
    
public  voidsetParamId(String paramId)
    
public  voidsetParamName(String paramName)
    
public  voidsetParamProperty(String paramProperty)
    
public  voidsetParamScope(String paramScope)
    
public  voidsetProperty(String property)
    
public  voidsetScope(String scope)
    
public  voidsetSrc(String src)
    
public  voidsetSrcKey(String srcKey)
    
public  voidsetUseLocalEncoding(boolean b)
    
public  voidsetUsemap(String usemap)
    
public  voidsetVspace(String vspace)
    
public  voidsetWidth(String width)
    
protected  Stringsrc()
     Return the base source URL that will be rendered in the src property for this generated element, or null if there is no such URL.
protected  Stringurl(String url)
     Return the specified src URL, modified as necessary with optional request parameters.

Field Detail
action
protected String action(Code)
The module-relative action (beginning with a slash) which will be used as the source for this image.



align
protected String align(Code)
The property to specify where to align the image.



border
protected String border(Code)
The border size around the image.



height
protected String height(Code)
The image height.



hspace
protected String hspace(Code)
The horizontal spacing around the image.



imageName
protected String imageName(Code)
The image name for named images.



ismap
protected String ismap(Code)
Server-side image map declaration.



messages
protected static MessageResources messages(Code)
The message resources for this package.



module
protected String module(Code)
The module prefix (beginning with a slash) which will be used to find the action for this link.



name
protected String name(Code)
The JSP bean name for query parameters.



page
protected String page(Code)
The module-relative path, starting with a slash character, of the image to be displayed by this rendered tag.



pageKey
protected String pageKey(Code)
The message resources key under which we should look up the page attribute for this generated tag, if any.



paramId
protected String paramId(Code)
In situations where an image is dynamically generated (such as to create a chart graph), this specifies the single-parameter request parameter name to generate.



paramName
protected String paramName(Code)
The single-parameter JSP bean name.



paramProperty
protected String paramProperty(Code)
The single-parameter JSP bean property.



paramScope
protected String paramScope(Code)
The single-parameter JSP bean scope.



property
protected String property(Code)
The JSP bean property name for query parameters.



scope
protected String scope(Code)
The scope of the bean specified by the name property, if any.



src
protected String src(Code)
The image source URI.



srcKey
protected String srcKey(Code)
The message resources key under which we should look up the src attribute for this generated tag, if any.



useLocalEncoding
protected boolean useLocalEncoding(Code)



usemap
protected String usemap(Code)
Client-side image map declaration.



vspace
protected String vspace(Code)
The vertical spacing around the image.



width
protected String width(Code)
The image width.




Constructor Detail
ImgTag
public ImgTag()(Code)




Method Detail
doEndTag
public int doEndTag() throws JspException(Code)
Render the end of the IMG tag.
throws:
  JspException - if a JSP exception has occurred



doStartTag
public int doStartTag() throws JspException(Code)
Render the beginning of the IMG tag.
throws:
  JspException - if a JSP exception has occurred



getAction
public String getAction()(Code)



getAlign
public String getAlign()(Code)



getBorder
public String getBorder()(Code)



getHeight
public String getHeight()(Code)



getHspace
public String getHspace()(Code)



getImageName
public String getImageName()(Code)



getIsmap
public String getIsmap()(Code)



getModule
public String getModule()(Code)



getName
public String getName()(Code)



getPage
public String getPage()(Code)



getPageKey
public String getPageKey()(Code)



getParamId
public String getParamId()(Code)



getParamName
public String getParamName()(Code)



getParamProperty
public String getParamProperty()(Code)



getParamScope
public String getParamScope()(Code)



getProperty
public String getProperty()(Code)



getScope
public String getScope()(Code)



getSrc
public String getSrc()(Code)



getSrcKey
public String getSrcKey()(Code)



getUsemap
public String getUsemap()(Code)



getVspace
public String getVspace()(Code)



getWidth
public String getWidth()(Code)



isUseLocalEncoding
public boolean isUseLocalEncoding()(Code)



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



setAction
public void setAction(String action)(Code)



setAlign
public void setAlign(String align)(Code)



setBorder
public void setBorder(String border)(Code)



setHeight
public void setHeight(String height)(Code)



setHspace
public void setHspace(String hspace)(Code)



setImageName
public void setImageName(String imageName)(Code)



setIsmap
public void setIsmap(String ismap)(Code)



setModule
public void setModule(String module)(Code)



setName
public void setName(String name)(Code)



setPage
public void setPage(String page)(Code)



setPageKey
public void setPageKey(String pageKey)(Code)



setParamId
public void setParamId(String paramId)(Code)



setParamName
public void setParamName(String paramName)(Code)



setParamProperty
public void setParamProperty(String paramProperty)(Code)



setParamScope
public void setParamScope(String paramScope)(Code)



setProperty
public void setProperty(String property)(Code)



setScope
public void setScope(String scope)(Code)



setSrc
public void setSrc(String src)(Code)



setSrcKey
public void setSrcKey(String srcKey)(Code)



setUseLocalEncoding
public void setUseLocalEncoding(boolean b)(Code)



setUsemap
public void setUsemap(String usemap)(Code)



setVspace
public void setVspace(String vspace)(Code)



setWidth
public void setWidth(String width)(Code)



src
protected String src() throws JspException(Code)
Return the base source URL that will be rendered in the src property for this generated element, or null if there is no such URL.
throws:
  JspException - if an error occurs



url
protected String url(String url) throws JspException(Code)
Return the specified src URL, modified as necessary with optional request parameters.
Parameters:
  url - The URL to be modified (or null if this url will not beused)
throws:
  JspException - if an error occurs preparing the URL



Fields inherited from org.apache.struts.taglib.html.BaseHandlerTag
protected String accesskey(Code)(Java Doc)
protected boolean doDisabled(Code)(Java Doc)
protected boolean doReadonly(Code)(Java Doc)
protected boolean indexed(Code)(Java Doc)
protected static MessageResources messages(Code)(Java Doc)
protected String tabindex(Code)(Java Doc)

Methods inherited from org.apache.struts.taglib.html.BaseHandlerTag
protected boolean doErrorsExist() throws JspException(Code)(Java Doc)
public String getAccesskey()(Code)(Java Doc)
public String getAlt()(Code)(Java Doc)
public String getAltKey()(Code)(Java Doc)
public String getBundle()(Code)(Java Doc)
public String getDir()(Code)(Java Doc)
public boolean getDisabled()(Code)(Java Doc)
protected String getElementClose()(Code)(Java Doc)
public String getErrorKey()(Code)(Java Doc)
public String getErrorStyle()(Code)(Java Doc)
public String getErrorStyleClass()(Code)(Java Doc)
public String getErrorStyleId()(Code)(Java Doc)
protected int getIndexValue() throws JspException(Code)(Java Doc)
public boolean getIndexed()(Code)(Java Doc)
public String getLang()(Code)(Java Doc)
public String getLocale()(Code)(Java Doc)
public String getOnblur()(Code)(Java Doc)
public String getOnchange()(Code)(Java Doc)
public String getOnclick()(Code)(Java Doc)
public String getOndblclick()(Code)(Java Doc)
public String getOnfocus()(Code)(Java Doc)
public String getOnkeydown()(Code)(Java Doc)
public String getOnkeypress()(Code)(Java Doc)
public String getOnkeyup()(Code)(Java Doc)
public String getOnmousedown()(Code)(Java Doc)
public String getOnmousemove()(Code)(Java Doc)
public String getOnmouseout()(Code)(Java Doc)
public String getOnmouseover()(Code)(Java Doc)
public String getOnmouseup()(Code)(Java Doc)
public String getOnselect()(Code)(Java Doc)
public boolean getReadonly()(Code)(Java Doc)
public String getStyle()(Code)(Java Doc)
public String getStyleClass()(Code)(Java Doc)
public String getStyleId()(Code)(Java Doc)
public String getTabindex()(Code)(Java Doc)
public String getTitle()(Code)(Java Doc)
public String getTitleKey()(Code)(Java Doc)
protected boolean isXhtml()(Code)(Java Doc)
protected String lookupProperty(String beanName, String property) throws JspException(Code)(Java Doc)
protected String message(String literal, String key) throws JspException(Code)(Java Doc)
protected void prepareAttribute(StringBuffer handlers, String name, Object value)(Code)(Java Doc)
protected String prepareEventHandlers()(Code)(Java Doc)
protected void prepareFocusEvents(StringBuffer handlers)(Code)(Java Doc)
protected void prepareIndex(StringBuffer handlers, String name) throws JspException(Code)(Java Doc)
protected void prepareInternationalization(StringBuffer handlers)(Code)(Java Doc)
protected void prepareKeyEvents(StringBuffer handlers)(Code)(Java Doc)
protected void prepareMouseEvents(StringBuffer handlers)(Code)(Java Doc)
protected String prepareName() throws JspException(Code)(Java Doc)
protected void prepareOtherAttributes(StringBuffer handlers)(Code)(Java Doc)
protected String prepareStyles() throws JspException(Code)(Java Doc)
protected void prepareTextEvents(StringBuffer handlers)(Code)(Java Doc)
public void release()(Code)(Java Doc)
public void setAccesskey(String accessKey)(Code)(Java Doc)
public void setAlt(String alt)(Code)(Java Doc)
public void setAltKey(String altKey)(Code)(Java Doc)
public void setBundle(String bundle)(Code)(Java Doc)
public void setDir(String dir)(Code)(Java Doc)
public void setDisabled(boolean disabled)(Code)(Java Doc)
public void setErrorKey(String errorKey)(Code)(Java Doc)
public void setErrorStyle(String errorStyle)(Code)(Java Doc)
public void setErrorStyleClass(String errorStyleClass)(Code)(Java Doc)
public void setErrorStyleId(String errorStyleId)(Code)(Java Doc)
public void setIndexed(boolean indexed)(Code)(Java Doc)
public void setLang(String lang)(Code)(Java Doc)
public void setLocale(String locale)(Code)(Java Doc)
public void setOnblur(String onBlur)(Code)(Java Doc)
public void setOnchange(String onChange)(Code)(Java Doc)
public void setOnclick(String onClick)(Code)(Java Doc)
public void setOndblclick(String onDblClick)(Code)(Java Doc)
public void setOnfocus(String onFocus)(Code)(Java Doc)
public void setOnkeydown(String onKeyDown)(Code)(Java Doc)
public void setOnkeypress(String onKeyPress)(Code)(Java Doc)
public void setOnkeyup(String onKeyUp)(Code)(Java Doc)
public void setOnmousedown(String onMouseDown)(Code)(Java Doc)
public void setOnmousemove(String onMouseMove)(Code)(Java Doc)
public void setOnmouseout(String onMouseOut)(Code)(Java Doc)
public void setOnmouseover(String onMouseOver)(Code)(Java Doc)
public void setOnmouseup(String onMouseUp)(Code)(Java Doc)
public void setOnselect(String onSelect)(Code)(Java Doc)
public void setReadonly(boolean readonly)(Code)(Java Doc)
public void setStyle(String style)(Code)(Java Doc)
public void setStyleClass(String styleClass)(Code)(Java Doc)
public void setStyleId(String styleId)(Code)(Java Doc)
public void setTabindex(String tabIndex)(Code)(Java Doc)
public void setTitle(String title)(Code)(Java Doc)
public void setTitleKey(String titleKey)(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.