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


org.netbeans.modules.sql.framework.ui.graph.impl.CanvasArea
   org.netbeans.modules.sql.framework.ui.graph.impl.TableHeaderArea

TableHeaderArea
public class TableHeaderArea extends CanvasArea (Code)

author:
   Ritesh Adval
version:
   $Revision$



Constructor Summary
public  TableHeaderArea()
    

Method Summary
public  voidaddHeaderCell(String columnName)
    
public  booleandoUncapturedMouseMove(int flags, Point dc, Point vc, JGoView view)
    
protected  voidgeometryChange(Rectangle prevRect)
    
protected  booleangeometryChangeChild(JGoObject child, Rectangle prevRect)
     handle child geometry change.
public  intgetHeaderCellMaxWidth(int header)
    
public  intgetHeaderCount()
    
public  intgetMaximizeCellHeight()
    
public  intgetMaximizeCellWidth()
    
public  intgetMaximumHeight()
    
public  intgetMaximumWidth()
    
public  DimensiongetMinimumRectSize()
    
public  DimensiongetMinimumSize()
    
public  voidlayoutChildren()
    
public  voidsetHeaderCellWidth(int header, int width)
    
public  voidsetHeaders(String[] columnNames)
    


Constructor Detail
TableHeaderArea
public TableHeaderArea()(Code)
Creates a new instance of TableHeaderArea




Method Detail
addHeaderCell
public void addHeaderCell(String columnName)(Code)
add a header cell to the collection of headers in this area
Parameters:
  columnName - name of the column header



doUncapturedMouseMove
public boolean doUncapturedMouseMove(int flags, Point dc, Point vc, JGoView view)(Code)
capture the mouse move event
Parameters:
  flags - flags
Parameters:
  dc - document coordinates
Parameters:
  vc - view coordinates
Parameters:
  view - the view bool



geometryChange
protected void geometryChange(Rectangle prevRect)(Code)
override this method to handle the changes in the geometry of this area we will lay out all the header cell
Parameters:
  prevRect - the previous bounds rectangle



geometryChangeChild
protected boolean geometryChangeChild(JGoObject child, Rectangle prevRect)(Code)
handle child geometry change. This will ignore changes in child geometry as none if its child are resizeable
Parameters:
  child - child
Parameters:
  prevRect - child prev rect



getHeaderCellMaxWidth
public int getHeaderCellMaxWidth(int header)(Code)
get maximum width of a header cell at an index
Parameters:
  header - index of header cell max width of header cell



getHeaderCount
public int getHeaderCount()(Code)
get the count of headers count of headers



getMaximizeCellHeight
public int getMaximizeCellHeight()(Code)
get the maximum cell height of a cell in this area maximum cell height



getMaximizeCellWidth
public int getMaximizeCellWidth()(Code)
get the maximum cell width of a cell in this area maximum cell width



getMaximumHeight
public int getMaximumHeight()(Code)
get the maximum height max Height



getMaximumWidth
public int getMaximumWidth()(Code)
get maximum width max width



getMinimumRectSize
public Dimension getMinimumRectSize()(Code)
calculate the minimum size for the columnRect , as determined by the maximum item size plus the insets the minimum size



getMinimumSize
public Dimension getMinimumSize()(Code)
get the minimum size minimum size



layoutChildren
public void layoutChildren()(Code)
layout all the children of this table area



setHeaderCellWidth
public void setHeaderCellWidth(int header, int width)(Code)
set the width of header cell at an index in this TableHeaderArea
Parameters:
  header - index of header cell
Parameters:
  width - new width of header cell



setHeaders
public void setHeaders(String[] columnNames)(Code)
set the headers in this area
Parameters:
  columnNames - name of the headers to set



Fields inherited from org.netbeans.modules.sql.framework.ui.graph.impl.CanvasArea
protected Insets insets(Code)(Java Doc)

Methods inherited from org.netbeans.modules.sql.framework.ui.graph.impl.CanvasArea
protected void addLinks(IGraphPort gPort, List<JGoLink> list)(Code)(Java Doc)
public void addPropertyChangeListener(PropertyChangeListener l)(Code)(Java Doc)
protected synchronized void firePropertyChangeEvent(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc)
protected void geometryChange(Rectangle prevRect)(Code)(Java Doc)
public Insets getInsets()(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 String getToolTipText()(Code)(Java Doc)
protected Rectangle handleResize(Graphics2D g, JGoView view, Rectangle origRect, Point newPoint, int whichHandle, int event, int minWidth, int minHeight)(Code)(Java Doc)
public void layoutChildren()(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public void removePropertyChangeListener(PropertyChangeListener l)(Code)(Java Doc)
public void setInsets(Insets insets)(Code)(Java Doc)
public void setToolTipText(String tTip)(Code)(Java Doc)

ww_w___.__j__ava___2___s_.___com_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.