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

ColumnPortArea
public class ColumnPortArea extends CanvasArea (Code)

author:
   Ritesh Adval
version:
   $Revision$


Field Summary
final public static  intLEFT_PORT_AREA
    
final public static  intRIGHT_PORT_AREA
    

Constructor Summary
public  ColumnPortArea(int alignment, int rows)
    

Method Summary
public  voidaddPort()
    
public  voidaddPort(int row)
    
public  voidaddPorts(int rows)
    
protected  voidgeometryChange(Rectangle prevRect)
    
protected  booleangeometryChangeChild(JGoObject child, Rectangle prevRect)
     handle child geometry change.
public  intgetFirstVisibleRow()
    
public  intgetIndexOf(PortArea pArea)
    
public  intgetLastVisibleRow()
    
public  JGoPengetLinePen()
    
public  intgetMaximizePortAreaHeight()
    
public  intgetMaximizePortAreaWidth()
    
public  intgetMaximumHeight()
    
public  DimensiongetMinimumRectSize()
    
public  DimensiongetMinimumSize()
    
public  PortAreagetPortAreaAt(int row)
    
public  JGoRectanglegetRect()
    
public  intgetRowCount()
    
 intgetVerticalSpacing()
    
public  booleanisExpanded()
    
public  voidlayoutChildren()
    
public  voidpaint(Graphics2D g, JGoView view)
    
public  voidremovePort(int row)
    
public  voidsetBackgroundColor(Color c)
    
public  voidsetExpanded(boolean sExpanded)
    
public  voidsetFirstVisibleRow(int rowIdx)
    
public  voidsetLinePen(JGoPen pen)
    
public  voidsetPortAreaHeight(int row, int height)
    

Field Detail
LEFT_PORT_AREA
final public static int LEFT_PORT_AREA(Code)
constant that describe that this area has ports on left side of it



RIGHT_PORT_AREA
final public static int RIGHT_PORT_AREA(Code)
constant that describe that this area has ports on right side of it




Constructor Detail
ColumnPortArea
public ColumnPortArea(int alignment, int rows)(Code)
Creates a new instance of ColumnPortArea
Parameters:
  alignment - alignment
Parameters:
  rows - number of rows




Method Detail
addPort
public void addPort()(Code)



addPort
public void addPort(int row)(Code)



addPorts
public void addPorts(int rows)(Code)
add port areas to this area
Parameters:
  rows - number of port areas to be added



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 columns and headers again
Parameters:
  prevRect - 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 children are resizable
Parameters:
  child - child
Parameters:
  prevRect - previous rectangle



getFirstVisibleRow
public int getFirstVisibleRow()(Code)
get first visible row index first visible row index



getIndexOf
public int getIndexOf(PortArea pArea)(Code)
get the index of a port area
Parameters:
  pArea - port area port area index



getLastVisibleRow
public int getLastVisibleRow()(Code)
get the last visible row index last visible row index



getLinePen
public JGoPen getLinePen()(Code)
get the line pen pen



getMaximizePortAreaHeight
public int getMaximizePortAreaHeight()(Code)
get the maximum height of a PortArea in this area maximum PortArea height



getMaximizePortAreaWidth
public int getMaximizePortAreaWidth()(Code)
get the maximum width of a PortArea in this area maximum PortArea width



getMaximumHeight
public int getMaximumHeight()(Code)



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



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



getPortAreaAt
public PortArea getPortAreaAt(int row)(Code)
get the port area at an index
Parameters:
  row - row index port area



getRect
public JGoRectangle getRect()(Code)
get the graphical bound rectangle graphical bound rectangle



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



getVerticalSpacing
int getVerticalSpacing()(Code)
get the vertical space between port area of this area vertical space



isExpanded
public boolean isExpanded()(Code)
is area expanded whether area is expanded



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



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



removePort
public void removePort(int row)(Code)



setBackgroundColor
public void setBackgroundColor(Color c)(Code)



setExpanded
public void setExpanded(boolean sExpanded)(Code)
set whether container table is expanded
Parameters:
  sExpanded - expanded or collapsed



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



setLinePen
public void setLinePen(JGoPen pen)(Code)
set the line pen for drawing border
Parameters:
  pen - pen



setPortAreaHeight
public void setPortAreaHeight(int row, int height)(Code)
set the port area height at an index
Parameters:
  row - row index
Parameters:
  height - height



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_a__v_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.