Java Doc for SQLBasicTableArea.java in  » IDE-Netbeans » etl.project » org » netbeans » modules » sql » framework » ui » view » graph » 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 » etl.project » org.netbeans.modules.sql.framework.ui.view.graph 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.sql.framework.ui.graph.impl.BasicTableArea
   org.netbeans.modules.sql.framework.ui.view.graph.SQLBasicTableArea

All known Subclasses:   org.netbeans.modules.sql.framework.ui.view.graph.SQLTargetTableArea,  org.netbeans.modules.sql.framework.ui.view.graph.SQLSourceTableArea,  org.netbeans.modules.sql.framework.ui.view.graph.SQLRuntimeInputArea,  org.netbeans.modules.sql.framework.ui.view.graph.SQLRuntimeOutputArea,
SQLBasicTableArea
abstract public class SQLBasicTableArea extends BasicTableArea implements IGraphNode(Code)
This class represents the table rendered on the canvas. It implements custom rendering of a table similar to swing's JTable
author:
   Ritesh Adval
author:
   Jonathan Giron

Inner Class :class ColumnPropertySupport
Inner Class :class TableTitleArea extends TitleArea
Inner Class :class FilterImage extends BasicImageArea

Field Summary
protected  SQLDBTabletable
    

Constructor Summary
public  SQLBasicTableArea()
    
public  SQLBasicTableArea(SQLDBTable table)
    

Method Summary
protected  voidRemove_ActionPerformed(ActionEvent e)
    
public  voidaddChildObject(Object obj)
     Adds a new child data object.
public  voidaddColumns(List<SQLDBColumn> columnList)
    
protected  voidaddRemovePopUpMenu(ActionListener aListener)
    
protected  voidaddSelectVisibleColumnsPopUpMenu(ActionListener aListener)
    
abstract  IconcreateIcon()
    
public  List<JGoLink>getAllLinks()
     Gets a list of all input and output links.
public  ObjectgetDataObject()
    
abstract protected  ColorgetDefaultBackgroundColor()
    
abstract protected  JGoBrushgetDefaultTitleBrush()
    
public  StringgetFieldName(IGraphPort iGraphPort)
     Gets the name for a given port.
public  IGraphPortgetInputGraphPort(String columnName)
     Gets column port group based on the column name.
public  IGraphPortgetOutputGraphPort(String columnName)
     Gets the output port which represents the field columnName.
protected  voidhandleCommonActions(ActionEvent e)
    
public  voidinitialize(Object obj)
    
abstract  voidinitializePopUpMenu()
    
public  booleanisColumnMapped(SQLDBColumn column)
    
public  voidlayoutChildren()
     Lays out the children of this area.
public  voidmakeColumnInVisible(SQLDBColumn column)
    
public  voidmakeColumnVisible(SQLDBColumn column)
    
public  voidrefreshDataObject(Object obj)
    
public  voidremoveChildObject(Object obj)
     Removes the child data object.
public  voidremoveColumn(SQLDBColumn column)
    
public  voidremoveColumnReference(SQLDBColumn column)
    
public  voidremoveColumns(List columnList)
    
protected  booleanselectVisibleColumnsActionPerformed(ActionEvent e)
    
public  voidsetBoundingRect(int left, int top, int width, int height)
     Sets the bounding rectangle and ensure it does not resize below a certain width and beyond a fixed height, depending on expanded state.
abstract public  voidsetConditionIcons()
     Sets the condition filter icon in the graph table.
public  voidsetDataObject(Object obj)
    
 voidsetFilterIcon(String toolTip)
    
protected  voidsetTableConditionIcons(SQLCondition condition)
     Sets the Extraction condition icons.
protected  voidsetTableConditionIcons(SQLCondition extractionCondition, SQLCondition validationCondition)
     Sets the Extraction and Validation condition icons.
public  voidsetTableIcon(Icon tableIcon)
    
 voidsetValidationIcon(String toolTip)
     Sets Validation icons for each of the columns names which are part of Validation condition.
public  voidshowExpansionImage(boolean show)
    
public  voidupdateColumn(DBColumn column)
    
public  voidupdateUI()
     Updates this node with changes in data object.

Field Detail
table
protected SQLDBTable table(Code)




Constructor Detail
SQLBasicTableArea
public SQLBasicTableArea()(Code)



SQLBasicTableArea
public SQLBasicTableArea(SQLDBTable table)(Code)
Creates a new instance of SQLBasicTableArea
Parameters:
  table - the table to render
Parameters:
  icon - icon for this table
Parameters:
  tableType - type of this table (input, output, both)




Method Detail
Remove_ActionPerformed
protected void Remove_ActionPerformed(ActionEvent e)(Code)



addChildObject
public void addChildObject(Object obj)(Code)
Adds a new child data object.
Parameters:
  obj - child data object



addColumns
public void addColumns(List<SQLDBColumn> columnList)(Code)



addRemovePopUpMenu
protected void addRemovePopUpMenu(ActionListener aListener)(Code)



addSelectVisibleColumnsPopUpMenu
protected void addSelectVisibleColumnsPopUpMenu(ActionListener aListener)(Code)



createIcon
abstract Icon createIcon()(Code)



getAllLinks
public List<JGoLink> getAllLinks()(Code)
Gets a list of all input and output links. list of input links



getDataObject
public Object getDataObject()(Code)
get the data object stored in this object data object



getDefaultBackgroundColor
abstract protected Color getDefaultBackgroundColor()(Code)



getDefaultTitleBrush
abstract protected JGoBrush getDefaultTitleBrush()(Code)



getFieldName
public String getFieldName(IGraphPort iGraphPort)(Code)
Gets the name for a given port.
Parameters:
  iGraphPort - port name which has a port iGraphPort attach to it



getInputGraphPort
public IGraphPort getInputGraphPort(String columnName)(Code)
Gets column port group based on the column name.
Parameters:
  columnName - name of the column column port group



getOutputGraphPort
public IGraphPort getOutputGraphPort(String columnName)(Code)
Gets the output port which represents the field columnName.
Parameters:
  columnName - name of the column port which represents columnName



handleCommonActions
protected void handleCommonActions(ActionEvent e)(Code)



initialize
public void initialize(Object obj)(Code)



initializePopUpMenu
abstract void initializePopUpMenu()(Code)



isColumnMapped
public boolean isColumnMapped(SQLDBColumn column)(Code)



layoutChildren
public void layoutChildren()(Code)
Lays out the children of this area.



makeColumnInVisible
public void makeColumnInVisible(SQLDBColumn column) throws BaseException(Code)



makeColumnVisible
public void makeColumnVisible(SQLDBColumn column)(Code)



refreshDataObject
public void refreshDataObject(Object obj)(Code)



removeChildObject
public void removeChildObject(Object obj)(Code)
Removes the child data object.
Parameters:
  obj - child data object



removeColumn
public void removeColumn(SQLDBColumn column) throws BaseException(Code)
If column is visible then we remove the model.removeColumn actually remove the column from its parent table otherwise it just make it invisible in the table node so that later it can be made visible at the same position in the table graph node if you just want to hide table in graph node make sure to set the visible attr in column to false before calling this method otherwise that column will actually be removed permanently from table



removeColumnReference
public void removeColumnReference(SQLDBColumn column) throws BaseException(Code)



removeColumns
public void removeColumns(List columnList)(Code)



selectVisibleColumnsActionPerformed
protected boolean selectVisibleColumnsActionPerformed(ActionEvent e)(Code)



setBoundingRect
public void setBoundingRect(int left, int top, int width, int height)(Code)
Sets the bounding rectangle and ensure it does not resize below a certain width and beyond a fixed height, depending on expanded state.
Parameters:
  left - new x-location of upper-left-hand corner of object
Parameters:
  top - new y-location of upper-left-hand corner of object
Parameters:
  width - width of object
Parameters:
  height - height of object



setConditionIcons
abstract public void setConditionIcons()(Code)
Sets the condition filter icon in the graph table.



setDataObject
public void setDataObject(Object obj)(Code)
Sets the data object
Parameters:
  obj - - then object to be represented by this node



setFilterIcon
void setFilterIcon(String toolTip)(Code)



setTableConditionIcons
protected void setTableConditionIcons(SQLCondition condition)(Code)
Sets the Extraction condition icons.
Parameters:
  condition -



setTableConditionIcons
protected void setTableConditionIcons(SQLCondition extractionCondition, SQLCondition validationCondition)(Code)
Sets the Extraction and Validation condition icons.
Parameters:
  extractionCondition -
Parameters:
  validationCondition -



setTableIcon
public void setTableIcon(Icon tableIcon)(Code)
set the table title icon
Parameters:
  tableIcon - table title icon



setValidationIcon
void setValidationIcon(String toolTip)(Code)
Sets Validation icons for each of the columns names which are part of Validation condition.
Parameters:
  condition -



showExpansionImage
public void showExpansionImage(boolean show)(Code)



updateColumn
public void updateColumn(DBColumn column)(Code)



updateUI
public void updateUI()(Code)
Updates this node with changes in data object.



Fields inherited from org.netbeans.modules.sql.framework.ui.graph.impl.BasicTableArea
protected TableArea tableArea(Code)(Java Doc)
protected ToolBarArea toolBarArea(Code)(Java Doc)

Methods inherited from org.netbeans.modules.sql.framework.ui.graph.impl.BasicTableArea
protected boolean geometryChangeChild(JGoObject child, java.awt.Rectangle prevRect)(Code)(Java Doc)
public int getMaximumHeight()(Code)(Java Doc)
public int getMaximumWidth()(Code)(Java Doc)
public int getMinimumHeight()(Code)(Java Doc)
public int getMinimumWidth()(Code)(Java Doc)
public TableArea getTableArea()(Code)(Java Doc)
public Rectangle getTitleAreaBounds()(Code)(Java Doc)
public void initialize(Point loc, TitleArea nTitleArea, TableArea nTableArea)(Code)(Java Doc)
public boolean isDrawBoundingRect()(Code)(Java Doc)
public void layoutChildren()(Code)(Java Doc)
public void setBackgroundColor(Color c)(Code)(Java Doc)
public void setBackgroundPaint(Paint p)(Code)(Java Doc)
public void setBoundingRect(int left, int top, int width, int height)(Code)(Java Doc)
public void setDrawBoundingRect(boolean draw)(Code)(Java Doc)
public void setExpanded(boolean sExpanded)(Code)(Java Doc)
public void setShowHeader(boolean show)(Code)(Java Doc)
public void setTitle(String title)(Code)(Java Doc)
public void setTitleBrush(JGoBrush newBrush)(Code)(Java Doc)
public void setTitleToolBarGap(int gap)(Code)(Java Doc)
public void setToolBarTableGap(int gap)(Code)(Java Doc)
public void updateVerticalScrollBar()(Code)(Java Doc)

w___w___w__._j___a_v_a___2s___.__c_om | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.