Java Doc for TriggerField.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.TextField
      com.gwtext.client.widgets.form.TriggerField

All known Subclasses:   com.gwtext.sample.showcase2.client.form.LookupField,
TriggerField
abstract public class TriggerField extends TextField (Code)
Provides a convenient wrapper for TextFields that adds a clickable trigger button (looks like a combobox by default). The trigger has no default action, so you mustimplement the trigger click handler by overriding TriggerField.onTriggerClick(com.gwtext.client.core.EventObject) . You can create a TriggerField directly, as it renders exactly like a combobox for which you can provide a custom implementation.



Constructor Summary
public  TriggerField()
     Construct a new TriggerField.
public  TriggerField(JavaScriptObject jsObj)
    

Method Summary
native protected  JavaScriptObjectcreate(JavaScriptObject jsObj)
    
native protected  ElementgetElement(JavaScriptObject jsObj)
    
public  StringgetXType()
    
protected  voidinitComponent()
    
abstract protected  voidonTriggerClick(EventObject event)
     Abstract method that must be implmented for custom trigger field behavior.
public  voidsetHideTrigger(boolean hideTrigger)
     True to hide the trigger element and display only the base text field (defaults to false).
public  voidsetTriggerClass(String triggerClass)
     A CSS class to apply to the trigger.


Constructor Detail
TriggerField
public TriggerField()(Code)
Construct a new TriggerField.



TriggerField
public TriggerField(JavaScriptObject jsObj)(Code)




Method Detail
create
native protected JavaScriptObject create(JavaScriptObject jsObj)(Code)



getElement
native protected Element getElement(JavaScriptObject jsObj)(Code)



getXType
public String getXType()(Code)



initComponent
protected void initComponent()(Code)



onTriggerClick
abstract protected void onTriggerClick(EventObject event)(Code)
Abstract method that must be implmented for custom trigger field behavior.
Parameters:
  event - the event object



setHideTrigger
public void setHideTrigger(boolean hideTrigger) throws IllegalStateException(Code)
True to hide the trigger element and display only the base text field (defaults to false).
Parameters:
  hideTrigger - true to hide trigger
throws:
  IllegalStateException - this property cannot be changed after the Component has been rendered



setTriggerClass
public void setTriggerClass(String triggerClass) throws IllegalStateException(Code)
A CSS class to apply to the trigger.
Parameters:
  triggerClass - the trigger CSS class.
throws:
  IllegalStateException - this property cannot be changed after the Component has been rendered



Methods inherited from com.gwtext.client.widgets.form.TextField
native public void addListener(TextFieldListener listener)(Code)(Java Doc)
native public void autoSize()(Code)(Java Doc)
native protected JavaScriptObject create(JavaScriptObject jsObj)(Code)(Java Doc)
protected JavaScriptObject getConfigPrototype()(Code)(Java Doc)
public String getText()(Code)(Java Doc)
public String getXType()(Code)(Java Doc)
native public void selectText()(Code)(Java Doc)
native public void selectText(int start, int end)(Code)(Java Doc)
public void setAllowBlank(boolean allowBlank)(Code)(Java Doc)
public void setBlankText(String blankText)(Code)(Java Doc)
public void setDisableKeyFilter(boolean disableKeyFilter) throws IllegalStateException(Code)(Java Doc)
public void setEmptyClass(String emptyClass) throws IllegalStateException(Code)(Java Doc)
public void setEmptyText(String emptyText)(Code)(Java Doc)
public void setGrow(boolean grow) throws IllegalStateException(Code)(Java Doc)
public void setGrowMax(int growMax) throws IllegalStateException(Code)(Java Doc)
public void setGrowMin(int growMin) throws IllegalStateException(Code)(Java Doc)
native public void setMaskRe(String maskRe)(Code)(Java Doc)
public void setMaxLength(int maxLength)(Code)(Java Doc)
public void setMaxLengthText(String maxLengthText)(Code)(Java Doc)
public void setMinLength(int minLength)(Code)(Java Doc)
public void setMinLengthText(String minLengthText)(Code)(Java Doc)
public void setPassword(boolean password) throws IllegalStateException(Code)(Java Doc)
public void setRegex(String regex)(Code)(Java Doc)
public void setRegexText(String regexText)(Code)(Java Doc)
public void setSelectOnFocus(boolean selectOnFocus) throws IllegalStateException(Code)(Java Doc)
public void setValidator(Validator validator)(Code)(Java Doc)
public void setVtype(VType vtype)(Code)(Java Doc)
public void setVtypeText(String vtypeText)(Code)(Java Doc)
native public boolean validateValue(String value)(Code)(Java Doc)

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.