Java Doc for TableDesignInfo.java in  » IDE-Netbeans » visualweb.api.designer » org » netbeans » modules » visualweb » web » ui » dt » component » 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 » IDE Netbeans » visualweb.api.designer » org.netbeans.modules.visualweb.web.ui.dt.component 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.visualweb.web.ui.dt.AbstractDesignInfo
      org.netbeans.modules.visualweb.web.ui.dt.component.TableDesignInfo

TableDesignInfo
public class TableDesignInfo extends AbstractDesignInfo implements MarkupTableDesignInfo(Code)
DesignInfo for the Table component. The following behavior is implemented:
  • Upon component creation, pre-populate with one Table Row group.

author:
   Winston Prakash



Constructor Summary
public  TableDesignInfo()
    

Method Summary
public  booleanacceptChild(DesignBean parentBean, DesignBean childBean, Class childClass)
    
public  booleanacceptLink(DesignBean targetBean, DesignBean sourceBean, Class sourceClass)
    
public  ResultbeanCreatedSetup(DesignBean tableBean)
     Create TableDesignState with the table bean and a TableRowGroup and save it as source bean and then save the state of TableDesignState which in turn would fill the TableRowRroup with default data.
public  ResultbeanDeletedCleanup(DesignBean bean)
    
public  ResultbeanPastedSetup(DesignBean tableBean)
     Find if the row group of the pasted table is bound to default model.
public  ResultclearColumnSize(MarkupDesignBean mdBean, int column)
    
public  ResultclearRowSize(MarkupDesignBean mdBean, int row)
    
public  DisplayAction[]getContextItems(DesignBean bean)
    
public  DisplayActionSetgetContextItemsExt(DesignBean bean)
    
public  ResultlinkBeans(DesignBean targetBean, DesignBean sourceBean)
     If the child bean is a TableDataProvider create TableDesignState with the target bean and set TableDataProvider as source bean and then save its state which in turn would create corresponding TableRowRroup and fill it with data from the TableDataProvider.
public  ResultresizeColumn(MarkupDesignBean tableBean, int colNo, int columnWidth)
    
public  ResultresizeRow(MarkupDesignBean mdBean, int row, int height)
    
public  inttestResizeColumn(MarkupDesignBean mdBean, int row, int column, int width)
    
public  inttestResizeRow(MarkupDesignBean mdBean, int row, int column, int height)
    


Constructor Detail
TableDesignInfo
public TableDesignInfo()(Code)




Method Detail
acceptChild
public boolean acceptChild(DesignBean parentBean, DesignBean childBean, Class childClass)(Code)
Accept only TableRowGroup as Child



acceptLink
public boolean acceptLink(DesignBean targetBean, DesignBean sourceBean, Class sourceClass)(Code)
Accept only Reult Set (may be not required in future) or TableDataProvider as links



beanCreatedSetup
public Result beanCreatedSetup(DesignBean tableBean)(Code)
Create TableDesignState with the table bean and a TableRowGroup and save it as source bean and then save the state of TableDesignState which in turn would fill the TableRowRroup with default data.



beanDeletedCleanup
public Result beanDeletedCleanup(DesignBean bean)(Code)



beanPastedSetup
public Result beanPastedSetup(DesignBean tableBean)(Code)
Find if the row group of the pasted table is bound to default model. If the model doesn't exist recreate it.
Parameters:
  bean - The bean that has been pasted



clearColumnSize
public Result clearColumnSize(MarkupDesignBean mdBean, int column)(Code)



clearRowSize
public Result clearRowSize(MarkupDesignBean mdBean, int row)(Code)



getContextItems
public DisplayAction[] getContextItems(DesignBean bean)(Code)



getContextItemsExt
public DisplayActionSet getContextItemsExt(DesignBean bean)(Code)



linkBeans
public Result linkBeans(DesignBean targetBean, DesignBean sourceBean)(Code)
If the child bean is a TableDataProvider create TableDesignState with the target bean and set TableDataProvider as source bean and then save its state which in turn would create corresponding TableRowRroup and fill it with data from the TableDataProvider.



resizeColumn
public Result resizeColumn(MarkupDesignBean tableBean, int colNo, int columnWidth)(Code)



resizeRow
public Result resizeRow(MarkupDesignBean mdBean, int row, int height)(Code)



testResizeColumn
public int testResizeColumn(MarkupDesignBean mdBean, int row, int column, int width)(Code)



testResizeRow
public int testResizeRow(MarkupDesignBean mdBean, int row, int column, int height)(Code)



Fields inherited from org.netbeans.modules.visualweb.web.ui.dt.AbstractDesignInfo
final public static String DECORATION_ICON(Code)(Java Doc)

Methods inherited from org.netbeans.modules.visualweb.web.ui.dt.AbstractDesignInfo
public boolean acceptChild(DesignBean parentBean, DesignBean childBean, Class childClass)(Code)(Java Doc)
public boolean acceptLink(DesignBean targetBean, DesignBean sourceBean, Class sourceClass)(Code)(Java Doc)
public boolean acceptParent(DesignBean parentBean, DesignBean childBean, Class childClass)(Code)(Java Doc)
public void beanChanged(DesignBean bean)(Code)(Java Doc)
public void beanContextActivated(DesignBean bean)(Code)(Java Doc)
public void beanContextDeactivated(DesignBean bean)(Code)(Java Doc)
public Result beanCreatedSetup(DesignBean bean)(Code)(Java Doc)
public Result beanDeletedCleanup(DesignBean bean)(Code)(Java Doc)
public Result beanPastedSetup(DesignBean bean)(Code)(Java Doc)
public void deleteConverter(DesignBean designBean)(Code)(Java Doc)
public void eventChanged(DesignEvent event)(Code)(Java Doc)
public Class getBeanClass()(Code)(Java Doc)
protected BeanDescriptor getBeanDescriptor()(Code)(Java Doc)
protected BeanInfo getBeanInfo() throws IntrospectionException(Code)(Java Doc)
public DisplayAction[] getContextItems(DesignBean bean)(Code)(Java Doc)
public DisplayActionSet getContextItemsExt(DesignBean bean)(Code)(Java Doc)
protected static DesignBean getConverterBean(DesignBean designBean)(Code)(Java Doc)
protected static DesignBean getConverterBean(FacesDesignContext context, String expression)(Code)(Java Doc)
public static Class getConverterClass(Class type)(Code)(Java Doc)
protected static String getConverterName(DesignBean designBean)(Code)(Java Doc)
protected DesignProperty getDefaultBindingProperty(DesignBean targetBean)(Code)(Java Doc)
protected PropertyDescriptor getPropertyDescriptor(String name)(Code)(Java Doc)
protected PropertyDescriptor[] getPropertyDescriptors()(Code)(Java Doc)
public void instanceNameChanged(DesignBean bean, String oldInstanceName)(Code)(Java Doc)
protected static boolean isSunWebUIContext(DesignBean bean)(Code)(Java Doc)
public Result linkBeans(DesignBean targetBean, DesignBean sourceBean)(Code)(Java Doc)
public Result linkDataProviderToListSelector(FacesDesignProperty property, DesignBean dataBean)(Code)(Java Doc)
public Result linkDataProviderToSingleton(FacesDesignProperty property, DesignBean dataBean)(Code)(Java Doc)
public Result linkDataProviderToStringListSelector(FacesDesignProperty property, DesignBean dataBean)(Code)(Java Doc)
public void modifyConverter(DesignProperty property)(Code)(Java Doc)
public void propertyChanged(DesignProperty property, Object oldValue)(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.