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


com.salmonllc.jsp.JspContainer
   com.salmonllc.jsp.JspLink

JspLink
public class JspLink extends JspContainer (Code)
This container will construct an anchor tag with a html link (HREF) reference.



Constructor Summary
public  JspLink(String name, String href, com.salmonllc.html.HtmlPage p)
     JspLink constructor comment.
public  JspLink(String name, String href, String target, com.salmonllc.html.HtmlPage p)
     JspLink constructor comment.

Method Summary
public  voidaddSubmitListener(SubmitListener l)
     This method adds a listener the will be notified when this button causes the page to be submitted.
public  voidclearSubmit()
     Clears the submit component in this container or children containers.
public  booleanexecuteEvent(int eventType)
    
public  voidgenerateHTML(TagWriter t, String box, int rowNo)
     Generates the Html for the component.
public  StringgetAccessKey()
    
public  booleangetDoSubmit()
     Gets whether or not the component will submit the page before transfering control to the link page.
public  booleangetGenerateLink()
     This method gets whether or not the anchor tag will be generated for the link.
public  StringgetHref()
    
public  DataStoreEvaluatorgetHrefExpression()
     This method gets the DataStoreEvaluator being used for href expressions.
public  StringgetOnClick()
     Use this method to get the javascript that will be executed when the user clicks on one of the components in the link.
public  StringgetOnMouseOut()
    
public  StringgetOnMouseOver()
    
public  StringgetStyle()
    
public  intgetTabIndex()
    
public  StringgetTarget()
     Returns the target for the link.
public  StringgetTitle()
    
public  voidinsertSubmitListener(SubmitListener l)
     This method inserts a listener the will be notified when this button causes the page to be submitted.
public  booleanisSubmitAlreadyGenerated()
     Returns the whether the script that allows a JspLink to listen for SumitPerformed events has been generated.
public  booleanprocessParms(Hashtable parms, int rowNo)
     This method will process the parms from a post for every component in the container.
public  voidremoveSubmitListener(SubmitListener l)
     This method removes a listener from the list that will be notified if this button causes the page to be submitted.
public  voidsetAccessKey(String string)
    
public  voidsetBracket(boolean bracket)
     This method sets whether or not the anchor tag will be generated with brackets([]) around the Tag.
public  voidsetBracketFont(String font)
     This method sets the font for the brackets around the link.
public  voidsetDoSubmit(boolean doSubmit)
     Sets whether or not the component will submit the page before transfering control to the link page.
public  voidsetGenerateLink(boolean gen)
     This method sets whether or not the anchor tag will be generated for the link.
public  voidsetHref(String href)
    
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  voidsetOnClick(String onClick)
     Use this method to set the javascript that will be executed when the user clicks on one of the components in the link.
public  voidsetOnMouseOut(String onMouseOut)
    
public  voidsetOnMouseOver(String onMouseOver)
    
public  voidsetStyle(String style)
     This method sets the sytle for the link.
public  voidsetSubmitAlreadyGenerated(boolean submitAlreadyGenerated)
     Sets whether the script that allows a JspLink to listen for SumitPerformed events has should be generated.
public  voidsetTabIndex(int val)
    
Parameters:
  sets - the tab index html attribute.
public  voidsetTarget(String target)
     Sets the target for the link.
_blank opens the destination document in a new unnamed window.
public  voidsetTitle(String string)
    


Constructor Detail
JspLink
public JspLink(String name, String href, com.salmonllc.html.HtmlPage p)(Code)
JspLink constructor comment.
Parameters:
  name - The name of the link
Parameters:
  href - The url for the link
Parameters:
  p - The page the link will go in.



JspLink
public JspLink(String name, String href, String target, com.salmonllc.html.HtmlPage p)(Code)
JspLink constructor comment.
Parameters:
  name - The name of the link
Parameters:
  href - The url for the link
Parameters:
  target - The target for the link
Parameters:
  p - The page the link will go in.




Method Detail
addSubmitListener
public void addSubmitListener(SubmitListener l)(Code)
This method adds a listener the will be notified when this button causes the page to be submitted.
Parameters:
  l - The listener to add.



clearSubmit
public void clearSubmit()(Code)
Clears the submit component in this container or children containers. The container stores which component inside it submitted a particular page for one invocation so it can route to the correct submit performed methods. Once that's done, the framework needs to clear out that value for the next page invocation. This method is used by the framework and should not be called directly.



executeEvent
public boolean executeEvent(int eventType) throws Exception(Code)



generateHTML
public void generateHTML(TagWriter t, String box, int rowNo) throws java.io.IOException(Code)
Generates the Html for the component. This method is called by the framework and should not be called directly
Parameters:
  t - DOCUMENT ME!
Parameters:
  box - DOCUMENT ME!
Parameters:
  rowNo - DOCUMENT ME!
throws:
  java.io.IOException - DOCUMENT ME!



getAccessKey
public String getAccessKey()(Code)



getDoSubmit
public boolean getDoSubmit()(Code)
Gets whether or not the component will submit the page before transfering control to the link page. If the link does a submit, all the user entered data will sent to the server to be recorded. DOCUMENT ME!



getGenerateLink
public boolean getGenerateLink()(Code)
This method gets whether or not the anchor tag will be generated for the link. Pass true to have the a tag generated and false not to. Setting the value to false, will cause the items inside the container to be displayed but nothing will happen when the user clicks on them. DOCUMENT ME!



getHref
public String getHref()(Code)
Returns the href for the link DOCUMENT ME!



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



getOnClick
public String getOnClick()(Code)
Use this method to get the javascript that will be executed when the user clicks on one of the components in the link. DOCUMENT ME!



getOnMouseOut
public String getOnMouseOut()(Code)
Use this method to get the javascript that will be executed when the mouse passes over out of all the components DOCUMENT ME!



getOnMouseOver
public String getOnMouseOver()(Code)
Use this method to get the javascript that will be executed when the mouse passes over any component in the link DOCUMENT ME!



getStyle
public String getStyle()(Code)
Use this method to get the style that will be used to display the link DOCUMENT ME!



getTabIndex
public int getTabIndex()(Code)



getTarget
public String getTarget()(Code)
Returns the target for the link. DOCUMENT ME!



getTitle
public String getTitle()(Code)



insertSubmitListener
public void insertSubmitListener(SubmitListener l)(Code)
This method inserts a listener the will be notified when this button causes the page to be submitted.
Parameters:
  l - The listener to add.



isSubmitAlreadyGenerated
public boolean isSubmitAlreadyGenerated()(Code)
Returns the whether the script that allows a JspLink to listen for SumitPerformed events has been generated. boolean



processParms
public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code)
This method will process the parms from a post for every component in the container.
Parameters:
  parms - DOCUMENT ME!
Parameters:
  rowNo - DOCUMENT ME! DOCUMENT ME!
throws:
  Exception - DOCUMENT ME!



removeSubmitListener
public void removeSubmitListener(SubmitListener l)(Code)
This method removes a listener from the list that will be notified if this button causes the page to be submitted.
Parameters:
  l - The listener to remove.



setAccessKey
public void setAccessKey(String string)(Code)

Parameters:
  sets - the access key html attribute



setBracket
public void setBracket(boolean bracket)(Code)
This method sets whether or not the anchor tag will be generated with brackets([]) around the Tag. Pass true to have the tag generated with and false not to.
Parameters:
  bracket - DOCUMENT ME!



setBracketFont
public void setBracketFont(String font)(Code)
This method sets the font for the brackets around the link.
Parameters:
  font - DOCUMENT ME!



setDoSubmit
public void setDoSubmit(boolean doSubmit)(Code)
Sets whether or not the component will submit the page before transfering control to the link page. If the link does a submit, all the user entered data will sent to the server to be recorded. If the flag is true, the target and onClick properties cannot be used.
Parameters:
  doSubmit - DOCUMENT ME!



setGenerateLink
public void setGenerateLink(boolean gen)(Code)
This method sets whether or not the anchor tag will be generated for the link. Pass true to have the a tag generated and false not to. Setting the value to false, will cause the items inside the container to be displayed but nothing will happen when the user clicks on them.
Parameters:
  gen - DOCUMENT ME!



setHref
public void setHref(String href)(Code)
Sets the href for the link
Parameters:
  href - java.lang.String



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
throws:
  Exception - DOCUMENT ME!



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
throws:
  Exception - DOCUMENT ME!



setOnClick
public void setOnClick(String onClick)(Code)
Use this method to set the javascript that will be executed when the user clicks on one of the components in the link.
Parameters:
  onClick - DOCUMENT ME!



setOnMouseOut
public void setOnMouseOut(String onMouseOut)(Code)
Use this method to set the javascript that will be executed when the mouse passes over out of all the components
Parameters:
  onMouseOut - DOCUMENT ME!



setOnMouseOver
public void setOnMouseOver(String onMouseOver)(Code)
Use this method to set the javascript that will be executed when the mouse passes over any component in the link
Parameters:
  onMouseOver - DOCUMENT ME!



setStyle
public void setStyle(String style)(Code)
This method sets the sytle for the link.
Parameters:
  style - DOCUMENT ME!



setSubmitAlreadyGenerated
public void setSubmitAlreadyGenerated(boolean submitAlreadyGenerated)(Code)
Sets whether the script that allows a JspLink to listen for SumitPerformed events has should be generated. A case where you would need this method is if when you are on a page and in the submit performed event you leave the page and the JspLink is hidden when you come back. You will have to set the value to true before you leave the page otherwise when you come back to the page you will recieve a javascript error.
Parameters:
  submitAlreadyGenerated - boolean value



setTabIndex
public void setTabIndex(int val)(Code)

Parameters:
  sets - the tab index html attribute. You can also pass TAB_INDEX_DEFAULT to use the default tab index for the component or TAB_INDEX_NONE to keep this component from being tabbed to



setTarget
public void setTarget(String target)(Code)
Sets the target for the link.
_blank opens the destination document in a new unnamed window.
_parent opens the destination document in the parent window of the one displaying the current document.
_self opens the destination document in the same window as the one in which the link was clicked.
_top opens the destination document in the full body of the current window. This value can be used to ensure that the destination document takes over the full window even if the original document was displayed in a frame.

Parameters:
  target - DOCUMENT ME!



setTitle
public void setTitle(String string)(Code)

Parameters:
  string -



Fields inherited from com.salmonllc.jsp.JspContainer
final public static int TYPE_COMP(Code)(Java Doc)
final public static int TYPE_FOOTER(Code)(Java Doc)
final public static int TYPE_GROUP_FOOTER(Code)(Java Doc)
final public static int TYPE_GROUP_HEADER(Code)(Java Doc)
final public static int TYPE_HEADER(Code)(Java Doc)
final public static int TYPE_ROW(Code)(Java Doc)
protected boolean _center(Code)(Java Doc)
protected boolean _enabled(Code)(Java Doc)
protected HtmlComponent _submit(Code)(Java Doc)

Methods inherited from com.salmonllc.jsp.JspContainer
public void add(HtmlComponent comp, int type)(Code)(Java Doc)
public void clearSubmit()(Code)(Java Doc)
public boolean executeEvent(int eventType) throws Exception(Code)(Java Doc)
public void generateHTML(PrintWriter p, int rowNo) throws java.lang.Exception(Code)(Java Doc)
public HtmlComponent getComponent(int i)(Code)(Java Doc)
public int getComponentCount()(Code)(Java Doc)
public int getComponentIndex(HtmlComponent comp)(Code)(Java Doc)
public int getComponentType(int i)(Code)(Java Doc)
public int getComponentType(HtmlComponent comp)(Code)(Java Doc)
public Enumeration getComponents()(Code)(Java Doc)
public JspController getController()(Code)(Java Doc)
public boolean getDoInit()(Code)(Java Doc)
public HtmlComponent getSubmitComponent()(Code)(Java Doc)
public void initialize()(Code)(Java Doc)
public boolean isComponentInContainer(HtmlComponent comp)(Code)(Java Doc)
public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code)(Java Doc)
boolean replaceComponent(HtmlComponent comp, Object compToReplace)(Code)(Java Doc)
public void setDoInit(boolean b)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)
public String toString()(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.