Java Doc for WmlSelect.java in  » J2EE » Sofia » com » salmonllc » wml » 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 » Sofia » com.salmonllc.wml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.salmonllc.wml.WmlFormComponent
   com.salmonllc.wml.WmlSelect

WmlSelect
public class WmlSelect extends WmlFormComponent (Code)
This class is used for Wml Select Component.



Constructor Summary
public  WmlSelect(String name, HtmlPage p)
     Constructs a new WmlSelect component.

Method Summary
public  voidaddOption(WmlOption wo)
     Use this method to add new choices to the list.
public  voidaddOption(String key, String disp)
     Use this method to add new choices to the list.
public  voidaddOption(String key, String disp, boolean selected)
     Use this method to add new choices to the list.
public  voiddoBinding()
     Does the binding for the component.
public  voidgenerateHTML(PrintWriter p, int rowNo)
     Generates the Html for the component.
public  DataStoreEvaluatorgetHrefExpression()
     This method gets the DataStoreEvaluator being used for href expressions.
public  StringgetHrefOnPick()
    
public  StringgetIname()
     This method gets the iname for the text in the component.
public  StringgetIvalue()
     This method gets the ivalue for the component in characters.
public  booleangetMultiple()
     This method gets the multiple flag of the input.
public  StringgetPostForm()
     This method gets the postfield form of this component.
public  intgetTabIndex()
     This method gets the tabindex of the input.
public  StringgetTitle()
     This method gets the title for the input.
public  voidinitialize(String table, String keyColumn, String dispColumn, String criteria, boolean inputVersion, boolean trimResults, boolean toUpper)
    
public  booleanprocessParms(Hashtable parms, int rowNo)
     Processes the submitted parameters.
public  voidresetOptions()
     This method removes all options from the component.
public  voidresetWmlOptions()
     This method removes all options from the component.
public  voidsetHrefExpression(DataStoreBuffer ds, DataStoreExpression expression)
     This method sets a datastore expression that will be used to compute the href for the link.
public  voidsetHrefExpression(DataStoreBuffer ds, String expression)
     This method sets a datastore expression that will be used to compute the href for the link.
public  voidsetHrefOnPick(String _hrefonpick)
    
public  voidsetIname(String iname)
     This method sets the iname for the text in the component.
public  voidsetIvalue(String ivalue)
     This method sets the ivalue for the component in characters.
public  voidsetMultiple(boolean multiple)
     This method sets the multiple flag for input.
public  voidsetTabIndex(int tabindex)
     This method sets the tabindex for input.
public  voidsetTitle(String title)
     This method sets the title for input.


Constructor Detail
WmlSelect
public WmlSelect(String name, HtmlPage p)(Code)
Constructs a new WmlSelect component.
Parameters:
  name - The name of the component
Parameters:
  p - The page the component will be placed in.




Method Detail
addOption
public void addOption(WmlOption wo)(Code)
Use this method to add new choices to the list.
Parameters:
  wo - An WmlOption component



addOption
public void addOption(String key, String disp)(Code)
Use this method to add new choices to the list.
Parameters:
  key - The internal name of the item (must be unique)
Parameters:
  disp - The value to be displayed on the list.



addOption
public void addOption(String key, String disp, boolean selected)(Code)
Use this method to add new choices to the list.
Parameters:
  key - The internal name of the item (must be unique)
Parameters:
  disp - The value to be displayed on the list.



doBinding
public void doBinding() throws Exception(Code)
Does the binding for the component. This method is called by the framework and should not be called directly



generateHTML
public void generateHTML(PrintWriter p, int rowNo) throws Exception(Code)
Generates the Html for the component. This method is called by the framework and should not be called directly



getHrefExpression
public DataStoreEvaluator getHrefExpression()(Code)
This method gets the DataStoreEvaluator being used for href expressions. DataStoreEvaluator
See Also:   DataStoreEvaluator



getHrefOnPick
public String getHrefOnPick()(Code)
Returns the href for the onpick action



getIname
public String getIname()(Code)
This method gets the iname for the text in the component.



getIvalue
public String getIvalue()(Code)
This method gets the ivalue for the component in characters.



getMultiple
public boolean getMultiple()(Code)
This method gets the multiple flag of the input.



getPostForm
public String getPostForm()(Code)
This method gets the postfield form of this component.



getTabIndex
public int getTabIndex()(Code)
This method gets the tabindex of the input.



getTitle
public String getTitle()(Code)
This method gets the title for the input.



initialize
public void initialize(String table, String keyColumn, String dispColumn, String criteria, boolean inputVersion, boolean trimResults, boolean toUpper)(Code)
Creates a list box based on a table with an
integer primary key column (typically an id) and a string column.
A simplifying assumption is that each of the following
is the same:
- name of column in the main table which refers to the simple table
- name of integer column in simple table

Parameters:
  table - - name of table to look up keys and displays from
Parameters:
  keyColumn - - column to get key values from
Parameters:
  dispColumn - - column to get display values from
Parameters:
  criteria - - optional selection criteria
Parameters:
  inputVersion - - optional value that allows for a null to be placed at the top
Parameters:
  trimResults - - optional value that trims the rtesults before adding the options
Parameters:
  toUpper - - optional value that makes the option's kays and display values all upper case



processParms
public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code)
Processes the submitted parameters. This method is called by the framework and should not be called directly



resetOptions
public void resetOptions()(Code)
This method removes all options from the component.



resetWmlOptions
public void resetWmlOptions()(Code)
This method removes all options from the component.



setHrefExpression
public void setHrefExpression(DataStoreBuffer ds, DataStoreExpression expression) throws Exception(Code)
This method sets a datastore expression that will be used to compute the href for the link.
Parameters:
  ds - com.salmonllc.sql.DataStoreBuffer
Parameters:
  expression - The expression to evaluate



setHrefExpression
public void setHrefExpression(DataStoreBuffer ds, String expression) throws Exception(Code)
This method sets a datastore expression that will be used to compute the href for the link.
Parameters:
  ds - com.salmonllc.sql.DataStoreBuffer
Parameters:
  expression - java.lang.String



setHrefOnPick
public void setHrefOnPick(String _hrefonpick)(Code)
Sets the href for the onpick action



setIname
public void setIname(String iname)(Code)
This method sets the iname for the text in the component.



setIvalue
public void setIvalue(String ivalue)(Code)
This method sets the ivalue for the component in characters.



setMultiple
public void setMultiple(boolean multiple)(Code)
This method sets the multiple flag for input.



setTabIndex
public void setTabIndex(int tabindex)(Code)
This method sets the tabindex for input.



setTitle
public void setTitle(String title)(Code)
This method sets the title for input.



Methods inherited from com.salmonllc.wml.WmlFormComponent
abstract public String getPostForm()(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.