Java Doc for Checkbox.java in  » Ajax » gwtext-2.01 » com » gwtext » client » widgets » form » 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 » Ajax » gwtext 2.01 » com.gwtext.client.widgets.form 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.gwtext.client.widgets.form.Field
   com.gwtext.client.widgets.form.Checkbox

All known Subclasses:   com.gwtext.client.widgets.form.Radio,
Checkbox
public class Checkbox extends Field (Code)
Single checkbox field.



Constructor Summary
public  Checkbox(JavaScriptObject jsObj)
    
public  Checkbox()
     Creates a new Checkbox field.
public  Checkbox(String label)
    
public  Checkbox(String fieldLabel, String name)
    
public  Checkbox(String label, CheckboxListener listener)
    

Method Summary
native public  voidaddListener(CheckboxListener listener)
     Add a checkbox listener.
native protected  JavaScriptObjectcreate(JavaScriptObject config)
    
protected  JavaScriptObjectgetConfigPrototype()
    
native public  booleangetValue()
     Returns the checked state of the checkbox.
public  StringgetXType()
    
public  voidsetBoxLabel(String boxLabel)
     The text that appears beside the checkbox.
public  voidsetChecked(boolean checked)
     True if the the checkbox should render already checked (defaults to false).
public  voidsetInputValue(String inputValue)
     The value that should go into the generated input element's value attribute.
native public  voidsetValue(boolean checked)
     Sets the checked state of the checkbox.


Constructor Detail
Checkbox
public Checkbox(JavaScriptObject jsObj)(Code)



Checkbox
public Checkbox()(Code)
Creates a new Checkbox field.



Checkbox
public Checkbox(String label)(Code)



Checkbox
public Checkbox(String fieldLabel, String name)(Code)



Checkbox
public Checkbox(String label, CheckboxListener listener)(Code)




Method Detail
addListener
native public void addListener(CheckboxListener listener)(Code)
Add a checkbox listener.
Parameters:
  listener - the listener



create
native protected JavaScriptObject create(JavaScriptObject config)(Code)



getConfigPrototype
protected JavaScriptObject getConfigPrototype()(Code)



getValue
native public boolean getValue()(Code)
Returns the checked state of the checkbox. true if checked, else false



getXType
public String getXType()(Code)



setBoxLabel
public void setBoxLabel(String boxLabel)(Code)
The text that appears beside the checkbox.
Parameters:
  boxLabel - the box label



setChecked
public void setChecked(boolean checked)(Code)
True if the the checkbox should render already checked (defaults to false).
Parameters:
  checked - true to render checked



setInputValue
public void setInputValue(String inputValue) throws IllegalStateException(Code)
The value that should go into the generated input element's value attribute.
Parameters:
  inputValue - fields input value
throws:
  IllegalStateException - this property cannot be changed after the Component has been rendered



setValue
native public void setValue(boolean checked)(Code)
Sets the checked state of the checkbox.
Parameters:
  checked - true to chec the checkbox, false to uncheck it



Methods inherited from com.gwtext.client.widgets.form.Field
native public void addListener(FieldListener listener)(Code)(Java Doc)
public void applyTo(String id)(Code)(Java Doc)
native public void applyTo(Element element)(Code)(Java Doc)
native public void clearInvalid()(Code)(Java Doc)
abstract protected JavaScriptObject create(JavaScriptObject config)(Code)(Java Doc)
public String getClearCls()(Code)(Java Doc)
public String getCls()(Code)(Java Doc)
public String getFocusClass()(Code)(Java Doc)
public String getInputType()(Code)(Java Doc)
public String getInvalidClass()(Code)(Java Doc)
public String getInvalidText()(Code)(Java Doc)
public String getLabelSeparator()(Code)(Java Doc)
public String getLabelStyle()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
native public String getRawValue()(Code)(Java Doc)
public int getTabindex()(Code)(Java Doc)
public int getValidationDelay()(Code)(Java Doc)
native public String getValueAsString()(Code)(Java Doc)
public String getXType()(Code)(Java Doc)
public boolean isAutoCreate()(Code)(Java Doc)
native public boolean isDirty()(Code)(Java Doc)
public boolean isHideLabel()(Code)(Java Doc)
public boolean isReadOnly()(Code)(Java Doc)
native public boolean isValid()(Code)(Java Doc)
native public boolean isValid(boolean preventMark)(Code)(Java Doc)
public boolean isValidateOnBlur()(Code)(Java Doc)
native public void markInvalid(String message)(Code)(Java Doc)
native public void reset()(Code)(Java Doc)
public void setAutoCreate(boolean autoCreate) throws IllegalStateException(Code)(Java Doc)
public void setAutoCreate(DomConfig domConfig) throws IllegalStateException(Code)(Java Doc)
public void setClearCls(String clearCls) throws IllegalStateException(Code)(Java Doc)
public void setCls(String cls) throws IllegalStateException(Code)(Java Doc)
public void setDisabled(boolean disabled)(Code)(Java Doc)
public void setFieldClass(String fieldClass) throws IllegalStateException(Code)(Java Doc)
public void setFieldLabel(String fieldLabel)(Code)(Java Doc)
public void setFieldMsgTarget(String msgTarget) throws IllegalStateException(Code)(Java Doc)
public void setFocusClass(String focusClass)(Code)(Java Doc)
public void setHideLabel(boolean hideLabel) throws IllegalStateException(Code)(Java Doc)
public void setInputType(String inputType) throws IllegalStateException(Code)(Java Doc)
public void setInvalidClass(String invalidClass)(Code)(Java Doc)
public void setInvalidText(String invalidText)(Code)(Java Doc)
public void setLabel(String fieldLabel)(Code)(Java Doc)
public void setLabelSeparator(String labelSeparator) throws IllegalStateException(Code)(Java Doc)
public void setLabelStyle(String labelStyle) throws IllegalStateException(Code)(Java Doc)
public void setMsgFx(String msgFx)(Code)(Java Doc)
native public static void setMsgTarget(String msgTarget)(Code)(Java Doc)
public void setName(String name) throws IllegalStateException(Code)(Java Doc)
native public void setRawValue(String value)(Code)(Java Doc)
public void setReadOnly(boolean readOnly) throws IllegalStateException(Code)(Java Doc)
public void setTabIndex(int tabIndex) throws IllegalStateException(Code)(Java Doc)
public void setValidateOnBlur(boolean validateOnBlur)(Code)(Java Doc)
public void setValidationDelay(int validationDelay) throws IllegalStateException(Code)(Java Doc)
public void setValidationEvent(boolean validationEvent) throws IllegalStateException(Code)(Java Doc)
public void setValidationEvent(String validationEvent)(Code)(Java Doc)
public void setValue(String value)(Code)(Java Doc)
public void setWidth(int width) throws IllegalStateException(Code)(Java Doc)
public void setWidth(String width) throws IllegalStateException(Code)(Java Doc)
native public boolean validate()(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.