Java Doc for HtmlCommandButton.java in  » J2EE » myfaces-core-1.2.0 » javax » faces » component » 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 » myfaces core 1.2.0 » javax.faces.component.html 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.faces.component.UICommand
   javax.faces.component.html.HtmlCommandButton

HtmlCommandButton
public class HtmlCommandButton extends UICommand (Code)

Events:

Type Phases Description
javax.faces.event.ActionEvent Apply Request Values Event delivered when the "action" of the component has been invoked; for example, by clicking on a button. The action may result in page navigation.


Field Summary
final public static  StringCOMPONENT_FAMILY
    
final public static  StringCOMPONENT_TYPE
    

Constructor Summary
public  HtmlCommandButton()
     Construct an instance of the HtmlCommandButton.

Method Summary
public  StringgetAccesskey()
     Gets Sets the access key for this element.
public  StringgetAlt()
     Gets Specifies alternative text that can be used by a browser that can't show this element.
public  StringgetDir()
     Gets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
public  StringgetFamily()
    
public  StringgetImage()
    
public  StringgetLabel()
     Gets A diplay name for this component.
public  StringgetLang()
     Gets The base language of this document.
public  StringgetOnblur()
     Gets Specifies a script to be invoked when the element loses focus.
public  StringgetOnchange()
     Gets Specifies a script to be invoked when the element is modified.
public  StringgetOnclick()
     Gets Script to be invoked when the element is clicked.
public  StringgetOndblclick()
     Gets Script to be invoked when the element is double-clicked.
public  StringgetOnfocus()
     Gets Specifies a script to be invoked when the element receives focus.
public  StringgetOnkeydown()
     Gets Script to be invoked when a key is pressed down over this element.
public  StringgetOnkeypress()
     Gets Script to be invoked when a key is pressed over this element.
public  StringgetOnkeyup()
     Gets Script to be invoked when a key is released over this element.
public  StringgetOnmousedown()
     Gets Script to be invoked when the pointing device is pressed over this element.
public  StringgetOnmousemove()
     Gets Script to be invoked when the pointing device is moved while it is in this element.
public  StringgetOnmouseout()
     Gets Script to be invoked when the pointing device is moves out of this element.
public  StringgetOnmouseover()
     Gets Script to be invoked when the pointing device is moved into this element.
public  StringgetOnmouseup()
     Gets Script to be invoked when the pointing device is released over this element.
public  StringgetOnselect()
     Gets Specifies a script to be invoked when the element is selected.
public  StringgetStyle()
     Gets CSS styling instructions.
public  StringgetStyleClass()
     Gets The CSS class for this element.
public  StringgetTabindex()
     Gets Specifies the position of this element within the tab order of the document.
public  StringgetTitle()
     Gets An advisory title for this element.
public  StringgetType()
     Gets A hint to the user agent about the content type of the linked resource.
public  booleanisDisabled()
     Gets When true, this element cannot receive focus.
public  booleanisReadonly()
     Gets When true, indicates that this component cannot be modified by the user.
public  voidrestoreState(FacesContext facesContext, Object state)
    
public  ObjectsaveState(FacesContext facesContext)
    
public  voidsetAccesskey(String accesskey)
     Sets Sets the access key for this element.
public  voidsetAlt(String alt)
     Sets Specifies alternative text that can be used by a browser that can't show this element.
public  voidsetDir(String dir)
     Sets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
public  voidsetDisabled(boolean disabled)
     Sets When true, this element cannot receive focus.
public  voidsetImage(String image)
    
public  voidsetLabel(String label)
     Sets A diplay name for this component.
public  voidsetLang(String lang)
     Sets The base language of this document.
public  voidsetOnblur(String onblur)
     Sets Specifies a script to be invoked when the element loses focus.
public  voidsetOnchange(String onchange)
     Sets Specifies a script to be invoked when the element is modified.
public  voidsetOnclick(String onclick)
     Sets Script to be invoked when the element is clicked.
public  voidsetOndblclick(String ondblclick)
     Sets Script to be invoked when the element is double-clicked.
public  voidsetOnfocus(String onfocus)
     Sets Specifies a script to be invoked when the element receives focus.
public  voidsetOnkeydown(String onkeydown)
     Sets Script to be invoked when a key is pressed down over this element.
public  voidsetOnkeypress(String onkeypress)
     Sets Script to be invoked when a key is pressed over this element.
public  voidsetOnkeyup(String onkeyup)
     Sets Script to be invoked when a key is released over this element.
public  voidsetOnmousedown(String onmousedown)
     Sets Script to be invoked when the pointing device is pressed over this element.
public  voidsetOnmousemove(String onmousemove)
     Sets Script to be invoked when the pointing device is moved while it is in this element.
public  voidsetOnmouseout(String onmouseout)
     Sets Script to be invoked when the pointing device is moves out of this element.
public  voidsetOnmouseover(String onmouseover)
     Sets Script to be invoked when the pointing device is moved into this element.
public  voidsetOnmouseup(String onmouseup)
     Sets Script to be invoked when the pointing device is released over this element.
public  voidsetOnselect(String onselect)
     Sets Specifies a script to be invoked when the element is selected.
public  voidsetReadonly(boolean readonly)
     Sets When true, indicates that this component cannot be modified by the user.
public  voidsetStyle(String style)
     Sets CSS styling instructions.
public  voidsetStyleClass(String styleClass)
     Sets The CSS class for this element.
public  voidsetTabindex(String tabindex)
     Sets Specifies the position of this element within the tab order of the document.
public  voidsetTitle(String title)
     Sets An advisory title for this element.
public  voidsetType(String type)
     Sets A hint to the user agent about the content type of the linked resource.

Field Detail
COMPONENT_FAMILY
final public static String COMPONENT_FAMILY(Code)



COMPONENT_TYPE
final public static String COMPONENT_TYPE(Code)




Constructor Detail
HtmlCommandButton
public HtmlCommandButton()(Code)
Construct an instance of the HtmlCommandButton.




Method Detail
getAccesskey
public String getAccesskey()(Code)
Gets Sets the access key for this element. the new accesskey value



getAlt
public String getAlt()(Code)
Gets Specifies alternative text that can be used by a browser that can't show this element. the new alt value



getDir
public String getDir()(Code)
Gets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left). the new dir value



getFamily
public String getFamily()(Code)



getImage
public String getImage()(Code)
Gets Absolute or relative URL of the image the new image value



getLabel
public String getLabel()(Code)
Gets A diplay name for this component. the new label value



getLang
public String getLang()(Code)
Gets The base language of this document. the new lang value



getOnblur
public String getOnblur()(Code)
Gets Specifies a script to be invoked when the element loses focus. the new onblur value



getOnchange
public String getOnchange()(Code)
Gets Specifies a script to be invoked when the element is modified. the new onchange value



getOnclick
public String getOnclick()(Code)
Gets Script to be invoked when the element is clicked. the new onclick value



getOndblclick
public String getOndblclick()(Code)
Gets Script to be invoked when the element is double-clicked. the new ondblclick value



getOnfocus
public String getOnfocus()(Code)
Gets Specifies a script to be invoked when the element receives focus. the new onfocus value



getOnkeydown
public String getOnkeydown()(Code)
Gets Script to be invoked when a key is pressed down over this element. the new onkeydown value



getOnkeypress
public String getOnkeypress()(Code)
Gets Script to be invoked when a key is pressed over this element. the new onkeypress value



getOnkeyup
public String getOnkeyup()(Code)
Gets Script to be invoked when a key is released over this element. the new onkeyup value



getOnmousedown
public String getOnmousedown()(Code)
Gets Script to be invoked when the pointing device is pressed over this element. the new onmousedown value



getOnmousemove
public String getOnmousemove()(Code)
Gets Script to be invoked when the pointing device is moved while it is in this element. the new onmousemove value



getOnmouseout
public String getOnmouseout()(Code)
Gets Script to be invoked when the pointing device is moves out of this element. the new onmouseout value



getOnmouseover
public String getOnmouseover()(Code)
Gets Script to be invoked when the pointing device is moved into this element. the new onmouseover value



getOnmouseup
public String getOnmouseup()(Code)
Gets Script to be invoked when the pointing device is released over this element. the new onmouseup value



getOnselect
public String getOnselect()(Code)
Gets Specifies a script to be invoked when the element is selected. the new onselect value



getStyle
public String getStyle()(Code)
Gets CSS styling instructions. the new style value



getStyleClass
public String getStyleClass()(Code)
Gets The CSS class for this element. Corresponds to the HTML 'class' attribute. the new styleClass value



getTabindex
public String getTabindex()(Code)
Gets Specifies the position of this element within the tab order of the document. the new tabindex value



getTitle
public String getTitle()(Code)
Gets An advisory title for this element. Often used by the user agent as a tooltip. the new title value



getType
public String getType()(Code)
Gets A hint to the user agent about the content type of the linked resource. the new type value



isDisabled
public boolean isDisabled()(Code)
Gets When true, this element cannot receive focus. the new disabled value



isReadonly
public boolean isReadonly()(Code)
Gets When true, indicates that this component cannot be modified by the user. The element may receive focus unless it has also been disabled. the new readonly value



restoreState
public void restoreState(FacesContext facesContext, Object state)(Code)



saveState
public Object saveState(FacesContext facesContext)(Code)



setAccesskey
public void setAccesskey(String accesskey)(Code)
Sets Sets the access key for this element.
Parameters:
  accesskey - the new accesskey value



setAlt
public void setAlt(String alt)(Code)
Sets Specifies alternative text that can be used by a browser that can't show this element.
Parameters:
  alt - the new alt value



setDir
public void setDir(String dir)(Code)
Sets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
Parameters:
  dir - the new dir value



setDisabled
public void setDisabled(boolean disabled)(Code)
Sets When true, this element cannot receive focus.
Parameters:
  disabled - the new disabled value



setImage
public void setImage(String image)(Code)
Sets Absolute or relative URL of the image
Parameters:
  image - the new image value



setLabel
public void setLabel(String label)(Code)
Sets A diplay name for this component.
Parameters:
  label - the new label value



setLang
public void setLang(String lang)(Code)
Sets The base language of this document.
Parameters:
  lang - the new lang value



setOnblur
public void setOnblur(String onblur)(Code)
Sets Specifies a script to be invoked when the element loses focus.
Parameters:
  onblur - the new onblur value



setOnchange
public void setOnchange(String onchange)(Code)
Sets Specifies a script to be invoked when the element is modified.
Parameters:
  onchange - the new onchange value



setOnclick
public void setOnclick(String onclick)(Code)
Sets Script to be invoked when the element is clicked.
Parameters:
  onclick - the new onclick value



setOndblclick
public void setOndblclick(String ondblclick)(Code)
Sets Script to be invoked when the element is double-clicked.
Parameters:
  ondblclick - the new ondblclick value



setOnfocus
public void setOnfocus(String onfocus)(Code)
Sets Specifies a script to be invoked when the element receives focus.
Parameters:
  onfocus - the new onfocus value



setOnkeydown
public void setOnkeydown(String onkeydown)(Code)
Sets Script to be invoked when a key is pressed down over this element.
Parameters:
  onkeydown - the new onkeydown value



setOnkeypress
public void setOnkeypress(String onkeypress)(Code)
Sets Script to be invoked when a key is pressed over this element.
Parameters:
  onkeypress - the new onkeypress value



setOnkeyup
public void setOnkeyup(String onkeyup)(Code)
Sets Script to be invoked when a key is released over this element.
Parameters:
  onkeyup - the new onkeyup value



setOnmousedown
public void setOnmousedown(String onmousedown)(Code)
Sets Script to be invoked when the pointing device is pressed over this element.
Parameters:
  onmousedown - the new onmousedown value



setOnmousemove
public void setOnmousemove(String onmousemove)(Code)
Sets Script to be invoked when the pointing device is moved while it is in this element.
Parameters:
  onmousemove - the new onmousemove value



setOnmouseout
public void setOnmouseout(String onmouseout)(Code)
Sets Script to be invoked when the pointing device is moves out of this element.
Parameters:
  onmouseout - the new onmouseout value



setOnmouseover
public void setOnmouseover(String onmouseover)(Code)
Sets Script to be invoked when the pointing device is moved into this element.
Parameters:
  onmouseover - the new onmouseover value



setOnmouseup
public void setOnmouseup(String onmouseup)(Code)
Sets Script to be invoked when the pointing device is released over this element.
Parameters:
  onmouseup - the new onmouseup value



setOnselect
public void setOnselect(String onselect)(Code)
Sets Specifies a script to be invoked when the element is selected.
Parameters:
  onselect - the new onselect value



setReadonly
public void setReadonly(boolean readonly)(Code)
Sets When true, indicates that this component cannot be modified by the user. The element may receive focus unless it has also been disabled.
Parameters:
  readonly - the new readonly value



setStyle
public void setStyle(String style)(Code)
Sets CSS styling instructions.
Parameters:
  style - the new style value



setStyleClass
public void setStyleClass(String styleClass)(Code)
Sets The CSS class for this element. Corresponds to the HTML 'class' attribute.
Parameters:
  styleClass - the new styleClass value



setTabindex
public void setTabindex(String tabindex)(Code)
Sets Specifies the position of this element within the tab order of the document.
Parameters:
  tabindex - the new tabindex value



setTitle
public void setTitle(String title)(Code)
Sets An advisory title for this element. Often used by the user agent as a tooltip.
Parameters:
  title - the new title value



setType
public void setType(String type)(Code)
Sets A hint to the user agent about the content type of the linked resource.
Parameters:
  type - the new type value



Fields inherited from javax.faces.component.UICommand
final public static String COMPONENT_FAMILY(Code)(Java Doc)
final public static String COMPONENT_TYPE(Code)(Java Doc)

Methods inherited from javax.faces.component.UICommand
public void addActionListener(ActionListener listener)(Code)(Java Doc)
public void broadcast(FacesEvent event) throws AbortProcessingException(Code)(Java Doc)
public MethodBinding getAction()(Code)(Java Doc)
public MethodExpression getActionExpression()(Code)(Java Doc)
public MethodBinding getActionListener()(Code)(Java Doc)
public ActionListener[] getActionListeners()(Code)(Java Doc)
public String getFamily()(Code)(Java Doc)
public Object getValue()(Code)(Java Doc)
public boolean isImmediate()(Code)(Java Doc)
public void queueEvent(FacesEvent event)(Code)(Java Doc)
public void removeActionListener(ActionListener listener)(Code)(Java Doc)
public void restoreState(FacesContext facesContext, Object state)(Code)(Java Doc)
public Object saveState(FacesContext facesContext)(Code)(Java Doc)
public void setAction(MethodBinding action)(Code)(Java Doc)
public void setActionExpression(MethodExpression actionExpression)(Code)(Java Doc)
public void setActionListener(MethodBinding actionListener)(Code)(Java Doc)
public void setImmediate(boolean immediate)(Code)(Java Doc)
public void setValue(Object value)(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.