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


java.lang.Object
   com.salmonllc.html.HtmlComponent
      com.salmonllc.html.HtmlContainer
         com.salmonllc.html.HtmlComposite

All known Subclasses:   com.salmonllc.html.HtmlLookUpComponent,
HtmlComposite
public class HtmlComposite extends HtmlContainer (Code)
This class is used as a typed container object. Primarily used with the HtmlLookup Object and the list forms. Making the lookup component extend HtmlComposite allows the listform to interigate the object for information to be able search on the value automatically.


Field Summary
final static  intDATATYPE_ANY
    

Constructor Summary
public  HtmlComposite(String name, HtmlPage p)
     HtmlComposite constructor.

Method Summary
public  voidadd(HtmlComponent comp)
     add DO NOT USE: HtmlComposite.add.
public  ObjectaddCompositeComponent(HtmlComponent comp, int dataType, boolean bound, String table, String column)
     This method adds a component and the associated information to a set of Vectors it return and Object so you can keep a handle to the component for later use.
public  ObjectaddCompositeComponent(HtmlComponent comp, int dataType, boolean bound, String table, String column, int flags)
     This method adds a component and the associated information to a set of Vectors it return and Object so you can keep a handle to the component for later use.
public  HtmlComponentgetComponent(int index)
    
public  StringgetComponentColumn(HtmlComponent comp)
     This method returns the column associated to this component.
public  intgetComponentDataType(HtmlComponent comp)
     This method returns the data type associated to this component.
public  intgetComponentFlags(HtmlComponent comp)
     This method returns the flags associated to this component.
public  StringgetComponentTable(HtmlComponent comp)
     This method returns the table associated to this component.
public  EnumerationgetComponents()
    
public  intgetCompositeSize()
    
public  booleangetIsComponentBound(HtmlComponent comp)
    
public  ObjectinsertCompositeComponentAt(HtmlComponent comp, int index, int dataType, boolean bound, String table, String column)
     This method inserts a component and the associated information in to a set of Vectors at a specified location.
public  ObjectinsertCompositeComponentAt(HtmlComponent comp, int index, int dataType, boolean bound, String table, String column, int flags)
     This method inserts a component and the associated information in to a set of Vectors at a specified location.
public  ObjectreplaceCompositeComponent(HtmlComponent comp, Object compToReplace, int dataType, boolean bound, String table, String column)
     This method replaces a component and the associated information with a new passed in object.
public  ObjectreplaceCompositeComponent(HtmlComponent comp, Object compToReplace, int dataType, boolean bound, String table, String column, int flags)
     This method replaces a component and the associated information with a new passed in object.
public  voidsetComponentColumn(HtmlComponent comp, String column)
    
public  voidsetComponentDataType(HtmlComponent comp, int dataType)
    
public  voidsetComponentFlags(HtmlComponent comp, int flags)
     This method sets the flags the component is using if any.
public  voidsetComponentTable(HtmlComponent comp, String table)
    
public  voidsetIsComponentBound(HtmlComponent comp, boolean bound)
    

Field Detail
DATATYPE_ANY
final static int DATATYPE_ANY(Code)




Constructor Detail
HtmlComposite
public HtmlComposite(String name, HtmlPage p)(Code)
HtmlComposite constructor.
Parameters:
  name - String - name of composite component
Parameters:
  p - HtmlPage - page the component is associated with




Method Detail
add
public void add(HtmlComponent comp)(Code)
add DO NOT USE: HtmlComposite.add. Use addCompositeComponent instead
Parameters:
  comp - HtmlComponent



addCompositeComponent
public Object addCompositeComponent(HtmlComponent comp, int dataType, boolean bound, String table, String column)(Code)
This method adds a component and the associated information to a set of Vectors it return and Object so you can keep a handle to the component for later use. Object - reference to added component
Parameters:
  comp - HtmlComponent - component to add
Parameters:
  dataType - int - data type of component added
Parameters:
  bound - boolean - is the component bound to a datastore
Parameters:
  table - String - table the component is bound to
Parameters:
  column - String - column the component is bound to



addCompositeComponent
public Object addCompositeComponent(HtmlComponent comp, int dataType, boolean bound, String table, String column, int flags)(Code)
This method adds a component and the associated information to a set of Vectors it return and Object so you can keep a handle to the component for later use. Object - reference to added component
Parameters:
  comp - HtmlComponent - component to add
Parameters:
  dataType - int - data type of component added
Parameters:
  bound - boolean - is the component bound to a datastore
Parameters:
  table - String - table the component is bound to
Parameters:
  column - String - column the component is bound to
Parameters:
  flags - int - flags to associate to this componet



getComponent
public HtmlComponent getComponent(int index)(Code)
This method returns a component by index HtmlComponent
Parameters:
  index - int



getComponentColumn
public String getComponentColumn(HtmlComponent comp)(Code)
This method returns the column associated to this component. String - column name
Parameters:
  comp - - HtmlComponent being searched for being searched for



getComponentDataType
public int getComponentDataType(HtmlComponent comp)(Code)
This method returns the data type associated to this component. int - index value
Parameters:
  comp - - HtmlComponent being searched for



getComponentFlags
public int getComponentFlags(HtmlComponent comp)(Code)
This method returns the flags associated to this component. int - flag values
Parameters:
  comp - - HtmlComponent being searched for



getComponentTable
public String getComponentTable(HtmlComponent comp)(Code)
This method returns the table associated to this component. String - table name
Parameters:
  comp - - HtmlComponent being searched for



getComponents
public Enumeration getComponents()(Code)
Returns an enumeration of componets - Enumeration



getCompositeSize
public int getCompositeSize()(Code)
This method returns the number of items in the composite component int



getIsComponentBound
public boolean getIsComponentBound(HtmlComponent comp)(Code)
This method returns the whether the component is bound to a DataStore boolean
Parameters:
  comp - - HtmlComponent being searched for



insertCompositeComponentAt
public Object insertCompositeComponentAt(HtmlComponent comp, int index, int dataType, boolean bound, String table, String column)(Code)
This method inserts a component and the associated information in to a set of Vectors at a specified location. It return and Object so you can keep a handle to the component for later use. Object - reference to added component
Parameters:
  comp - HtmlComponent - component to insert
Parameters:
  dataType - int - data type of component inserted
Parameters:
  bound - boolean - is the component bound to a datastore
Parameters:
  table - String - table the component is bound to
Parameters:
  column - String - column the component is bound to



insertCompositeComponentAt
public Object insertCompositeComponentAt(HtmlComponent comp, int index, int dataType, boolean bound, String table, String column, int flags)(Code)
This method inserts a component and the associated information in to a set of Vectors at a specified location. It return and Object so you can keep a handle to the component for later use. Object - reference to added component
Parameters:
  comp - HtmlComponent - component to insert
Parameters:
  dataType - int - data type of component added
Parameters:
  bound - boolean - is the component bound to a datastore
Parameters:
  table - String - table the component is bound to
Parameters:
  column - String - column the component is bound to
Parameters:
  flags - int - flags to associate to this componet



replaceCompositeComponent
public Object replaceCompositeComponent(HtmlComponent comp, Object compToReplace, int dataType, boolean bound, String table, String column)(Code)
This method replaces a component and the associated information with a new passed in object. It return and Object so you can keep a handle to the component for later use. Object - reference to added component
Parameters:
  comp - HtmlComponent - component to replace
Parameters:
  dataType - int - data type of component added
Parameters:
  bound - boolean - is the component bound to a datastore
Parameters:
  table - String - table the component is bound to
Parameters:
  column - String - column the component is bound to



replaceCompositeComponent
public Object replaceCompositeComponent(HtmlComponent comp, Object compToReplace, int dataType, boolean bound, String table, String column, int flags)(Code)
This method replaces a component and the associated information with a new passed in object. It return and Object so you can keep a handle to the component for later use. Object - reference to added component
Parameters:
  comp - HtmlComponent - component to replace
Parameters:
  compToReplace - Object - reference of object to replace
Parameters:
  dataType - int - data type of component added
Parameters:
  bound - boolean - is the component bound to a datastore
Parameters:
  table - String - table the component is bound to
Parameters:
  column - String - column the component is bound to



setComponentColumn
public void setComponentColumn(HtmlComponent comp, String column)(Code)
This method sets the column the component is bound to in a DataStore
Parameters:
  comp - - HtmlComponent being searched for
Parameters:
  column - String - column name



setComponentDataType
public void setComponentDataType(HtmlComponent comp, int dataType)(Code)
This method sets the data type of the column the component is bound to in a DataStore
Parameters:
  comp - - HtmlComponent being searched for
Parameters:
  dataType - int Please use the data types from DataStore.if you don't know what datatype use HtmlComposite.DATATYPE_ANY



setComponentFlags
public void setComponentFlags(HtmlComponent comp, int flags)(Code)
This method sets the flags the component is using if any.
Parameters:
  comp - - HtmlComponent to associate flags to
Parameters:
  flags - - flag values



setComponentTable
public void setComponentTable(HtmlComponent comp, String table)(Code)
This method sets the table the component is bound to in a DataStore
Parameters:
  comp - - HtmlComponent being searched for
Parameters:
  table - String



setIsComponentBound
public void setIsComponentBound(HtmlComponent comp, boolean bound)(Code)
This method sets whether the component is bound to a table.column
Parameters:
  comp - - HtmlComponent being searched for
Parameters:
  bound - boolean



Fields inherited from com.salmonllc.html.HtmlContainer
protected boolean _center(Code)(Java Doc)
protected Vector _componentsVec(Code)(Java Doc)
protected boolean _enabled(Code)(Java Doc)
protected HtmlComponent _submit(Code)(Java Doc)

Methods inherited from com.salmonllc.html.HtmlContainer
public void add(HtmlComponent comp)(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 Exception(Code)(Java Doc)
public void generateHTML(PrintWriter p, int rowStart, int rowEnd) throws Exception(Code)(Java Doc)
public void generateInitialHTML(PrintWriter p) throws Exception(Code)(Java Doc)
public boolean getCenter()(Code)(Java Doc)
public HtmlComponent getComponent(String name)(Code)(Java Doc)
public Enumeration getComponents()(Code)(Java Doc)
public boolean getEnabled()(Code)(Java Doc)
public HtmlComponent getSubmitComponent()(Code)(Java Doc)
public void insertComponentAt(HtmlComponent comp, int index)(Code)(Java Doc)
public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code)(Java Doc)
public void remove(HtmlComponent comp)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public boolean replaceComponent(HtmlComponent comp, Object compToReplace)(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void setCenter(boolean center)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from com.salmonllc.html.HtmlComponent
final public static int DISABLED_ATTRIBUTE_USE_NEVER(Code)(Java Doc)
final public static int DISABLED_ATTRIBUTE_USE_ON_SUPPORTED_BROWSERS(Code)(Java Doc)
final public static int DISABLED_ATTRIBUTE_USE_SYSTEM_DEFAULT(Code)(Java Doc)
final public static int EVENT_NONE(Code)(Java Doc)
final public static int EVENT_OTHER(Code)(Java Doc)
final public static int EVENT_SUBMIT(Code)(Java Doc)
protected String _class(Code)(Java Doc)
String _fullName(Code)(Java Doc)
protected boolean _generateNewline(Code)(Java Doc)
String _name(Code)(Java Doc)
protected HtmlComponent _parent(Code)(Java Doc)
protected boolean _visible(Code)(Java Doc)
final protected static boolean debug(Code)(Java Doc)

Methods inherited from com.salmonllc.html.HtmlComponent
public void doBinding() throws Exception(Code)(Java Doc)
public String encodeURL(String url)(Code)(Java Doc)
public StringBuffer encodeURL(StringBuffer url)(Code)(Java Doc)
public boolean executeEvent(int eventType) throws Exception(Code)(Java Doc)
public static String fixSpecialHTMLCharacters(String input)(Code)(Java Doc)
abstract public void generateHTML(PrintWriter p, int rowNo) throws Exception(Code)(Java Doc)
public void generateHTML(PrintWriter p, int rowStart, int rowEnd) throws Exception(Code)(Java Doc)
protected String generateImageURL()(Code)(Java Doc)
public void generateInitialHTML(PrintWriter p) throws Exception(Code)(Java Doc)
public String getClassName()(Code)(Java Doc)
public String getDataSource()(Code)(Java Doc)
public int getFormIndex()(Code)(Java Doc)
public String getFormString()(Code)(Java Doc)
public String getFullName()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public HtmlPage getPage()(Code)(Java Doc)
public HtmlComponent getParent()(Code)(Java Doc)
protected String getPortletNameSpace()(Code)(Java Doc)
protected String getSiteMapEntryName(String url)(Code)(Java Doc)
public String getTheme()(Code)(Java Doc)
public int getUseDisabledAttribute()(Code)(Java Doc)
public boolean getVisible()(Code)(Java Doc)
public boolean getVisible(boolean checkParents)(Code)(Java Doc)
public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void setClassName(String sClass)(Code)(Java Doc)
public void setDataSource(String dataSource)(Code)(Java Doc)
public void setFormIndex(int formIndex)(Code)(Java Doc)
public void setGenerateNewline(boolean enable)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setPage(HtmlPage p)(Code)(Java Doc)
public void setParent(HtmlComponent parent)(Code)(Java Doc)
public void setTheme(String theme)(Code)(Java Doc)
public void setUseDisabledAttribute(int i)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public String translateSiteMapURL(String url)(Code)(Java Doc)
protected boolean useDisabledAttribute()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.