Java Doc for ColumnArea.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.ColumnArea

ColumnArea
public class ColumnArea extends CanvasArea (Code)

author:
   Ritesh Adval
version:
   $Revision$


Field Summary
protected  ArrayListcells
    

Constructor Summary
public  ColumnArea(int tableType)
     Creates a new instance of ColumnArea.

Method Summary
public  voidaddItem(int row, String val, String toolTip)
     Adds a new cell in the column area with the given display name.
public  voidaddItem(int row, SQLDBColumn data, String toolTip)
    
protected  voidgeometryChange(Rectangle prevRect)
     Overrides parent to handle the changes in the geometry of this area.
public  BasicCellAreagetCellAt(int row)
     Gets the cell at an index.
public  intgetCellHeight(int row)
     Gets the height of a cell at a given row index.
public  intgetFirstVisibleRow()
     Gets the index of first visible row index.
public  intgetLastVisibleRow()
     Gets the index of last visible row in this area.
public  JGoPengetLinePen()
     Gets the line pen.
public  intgetMaximizeCellHeight()
     Gets the maximum cell height of a cell in this area.
public  intgetMaximizeCellWidth()
     Gets the maximum cell width of a cell in this area.
public  intgetMaximumHeight()
     Gets maximum height of this area.
public  intgetMaximumWidth()
     Gets the maximum width of this area.
public  intgetMinimumHeight()
     Gets minimum height of this area.
public  DimensiongetMinimumRectSize()
     Calculates the minimum size for the columnRect, as determined by the maximum item size plus insets.
public  DimensiongetMinimumSize()
     Gets the minimum size of this area.
public  intgetMinimumWidth()
     Gets the minimum width of this area.
public  intgetPreferredWidth()
     Gets the preferred width of this area.
public  JGoObjectgetRect()
     Gets the bounding graph rectangle.
public  intgetRowCount()
     Gets the number of rows in this column area.
public  intgetVerticalSpacing()
     Gets the vertical spacing between cells in this column area.
public  intgetVisibleRowHeights()
     Gets the height of all visible rows in this column.
public  voidlayoutChildren()
     Lays out all of this children of this column area.
public  voidpaint(Graphics2D g, JGoView view)
     Paints this area.
public  voidremoveItem(int row)
     Removes cell at given row.
public  voidsetFirstVisibleRow(int rowIdx)
     Sets the first visible row index.
public  voidsetLinePen(JGoPen pen)
     Sets the line pen for border.
public  voidsetManageHorizontalScrollBar(boolean manageScrollBar)
     Sets the flag if this area updates scrollbar of its parent.
public  voidsetPreferredWidth(int width)
     Sets the preferred width of this area.
public  voidsetTextAlignment(int align)
     Sets the alignment of text in this column area to the given characteristic.
public  voidsetVerticalSpacing(int newspace)
     Sets the vertical spacing between cells in this column area.

Field Detail
cells
protected ArrayList cells(Code)




Constructor Detail
ColumnArea
public ColumnArea(int tableType)(Code)
Creates a new instance of ColumnArea.
Parameters:
  tableType -




Method Detail
addItem
public void addItem(int row, String val, String toolTip)(Code)
Adds a new cell in the column area with the given display name.
Parameters:
  row - row in which to add a new cell
Parameters:
  val - value for the cell at row
Parameters:
  toolTip - tool tip to display for the cell



addItem
public void addItem(int row, SQLDBColumn data, String toolTip)(Code)
Adds a new cell in the column area, using the given SQLDBColumn as a data object
Parameters:
  row - row in which to add a new cell
Parameters:
  data - SQLDBColumn containing data for the cell at row
Parameters:
  toolTip - tool tip to display for the cell



geometryChange
protected void geometryChange(Rectangle prevRect)(Code)
Overrides parent to handle the changes in the geometry of this area. We will lay out all the cell again.
Parameters:
  prevRect - previous rectangle bounds



getCellAt
public BasicCellArea getCellAt(int row)(Code)
Gets the cell at an index.
Parameters:
  row - row to get cell from cell area



getCellHeight
public int getCellHeight(int row)(Code)
Gets the height of a cell at a given row index.
Parameters:
  row - row cell height



getFirstVisibleRow
public int getFirstVisibleRow()(Code)
Gets the index of first visible row index. index of first visible row index



getLastVisibleRow
public int getLastVisibleRow()(Code)
Gets the index of last visible row in this area. last visible row index



getLinePen
public JGoPen getLinePen()(Code)
Gets the line pen. line pen



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



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



getMaximumHeight
public int getMaximumHeight()(Code)
Gets maximum height of this area. maximum height



getMaximumWidth
public int getMaximumWidth()(Code)
Gets the maximum width of this area. maximum width



getMinimumHeight
public int getMinimumHeight()(Code)
Gets minimum height of this area. minimum height



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



getMinimumSize
public Dimension getMinimumSize()(Code)
Gets the minimum size of this area. minimum size



getMinimumWidth
public int getMinimumWidth()(Code)
Gets the minimum width of this area. minimum width



getPreferredWidth
public int getPreferredWidth()(Code)
Gets the preferred width of this area. preferred width



getRect
public JGoObject getRect()(Code)
Gets the bounding graph rectangle. graph rectangle



getRowCount
public int getRowCount()(Code)
Gets the number of rows in this column area. number of rows in this column



getVerticalSpacing
public int getVerticalSpacing()(Code)
Gets the vertical spacing between cells in this column area. vertical spacing



getVisibleRowHeights
public int getVisibleRowHeights()(Code)
Gets the height of all visible rows in this column. height of visible rows



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



paint
public void paint(Graphics2D g, JGoView view)(Code)
Paints this area.
Parameters:
  g - Graphics2D
Parameters:
  view - view



removeItem
public void removeItem(int row)(Code)
Removes cell at given row.
Parameters:
  row - row whose cell should be removed



setFirstVisibleRow
public void setFirstVisibleRow(int rowIdx)(Code)
Sets the first visible row index.
Parameters:
  rowIdx - first visible row index



setLinePen
public void setLinePen(JGoPen pen)(Code)
Sets the line pen for border.
Parameters:
  pen - pen



setManageHorizontalScrollBar
public void setManageHorizontalScrollBar(boolean manageScrollBar)(Code)
Sets the flag if this area updates scrollbar of its parent.
Parameters:
  manageScrollBar - boolean



setPreferredWidth
public void setPreferredWidth(int width)(Code)
Sets the preferred width of this area.
Parameters:
  width - preferred width



setTextAlignment
public void setTextAlignment(int align)(Code)
Sets the alignment of text in this column area to the given characteristic.
Parameters:
  align - desired alignment characteristic; one of
  • JGoText.ALIGN_LEFT
  • JGoText.ALIGN_CENTER
  • JGoText.ALIGN_RIGHT



setVerticalSpacing
public void setVerticalSpacing(int newspace)(Code)
Sets the vertical spacing between cells in this column area.
Parameters:
  newspace - new space



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)

w__w__w_.___j_av___a_2___s_.c_o_m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.