Java Doc for BasicTableArea.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.BasicCanvasArea
      org.netbeans.modules.sql.framework.ui.graph.impl.BasicTableArea

All known Subclasses:   org.netbeans.modules.sql.framework.ui.view.graph.SQLBasicTableArea,
BasicTableArea
public class BasicTableArea extends BasicCanvasArea implements IGraphInterface(Code)

author:
   Ritesh Adval
author:
   Jonathan Giron
version:
   $Revision$


Field Summary
protected  TableAreatableArea
    
protected  ToolBarAreatoolBarArea
    

Constructor Summary
public  BasicTableArea()
    
public  BasicTableArea(TitleArea nTitleArea, ToolBarArea toolBarArea, TableArea nTableArea)
    

Method Summary
protected  booleangeometryChangeChild(JGoObject child, java.awt.Rectangle prevRect)
     handle child geometry change.
public  intgetMaximumHeight()
    
public  intgetMaximumWidth()
    
public  intgetMinimumHeight()
    
public  intgetMinimumWidth()
    
public  TableAreagetTableArea()
    
public  RectanglegetTitleAreaBounds()
    
public  voidinitialize(Point loc, TitleArea nTitleArea, TableArea nTableArea)
    
public  booleanisDrawBoundingRect()
    
public  voidlayoutChildren()
    
public  voidsetBackgroundColor(Color c)
     Sets background color for this instance.
public  voidsetBackgroundPaint(Paint p)
     Sets background paint for this instance.
public  voidsetBoundingRect(int left, int top, int width, int height)
     set the bounding rectangle.
public  voidsetDrawBoundingRect(boolean draw)
    
public  voidsetExpanded(boolean sExpanded)
    
public  voidsetShowHeader(boolean show)
    
public  voidsetTitle(String title)
    
public  voidsetTitleBrush(JGoBrush newBrush)
     Sets brush for table title to the given instance.
public  voidsetTitleToolBarGap(int gap)
    
public  voidsetToolBarTableGap(int gap)
    
public  voidupdateVerticalScrollBar()
    

Field Detail
tableArea
protected TableArea tableArea(Code)
table area



toolBarArea
protected ToolBarArea toolBarArea(Code)
toolbar area




Constructor Detail
BasicTableArea
public BasicTableArea()(Code)
Creates a new instance of SQLTableArea



BasicTableArea
public BasicTableArea(TitleArea nTitleArea, ToolBarArea toolBarArea, TableArea nTableArea)(Code)
create a new instance of table
Parameters:
  nTitleArea - titleArea
Parameters:
  toolBarArea - toolBar Area
Parameters:
  nTableArea - table area




Method Detail
geometryChangeChild
protected boolean geometryChangeChild(JGoObject child, java.awt.Rectangle prevRect)(Code)
handle child geometry change. This handle change in TableArea. when a resize occurs table area sets its height to the height of all visible column. this avoids extra space in vertical scroll bar
Parameters:
  child - child
Parameters:
  prevRect - child prev rect



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



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



getMinimumHeight
public int getMinimumHeight()(Code)
get the minimum height minimum height



getMinimumWidth
public int getMinimumWidth()(Code)
get the minimum width minimum width



getTableArea
public TableArea getTableArea()(Code)
get the table area table area



getTitleAreaBounds
public Rectangle getTitleAreaBounds()(Code)
get the title area bounds title area bounds



initialize
public void initialize(Point loc, TitleArea nTitleArea, TableArea nTableArea)(Code)
initialize the table
Parameters:
  loc - location
Parameters:
  nTitleArea - titleArea
Parameters:
  nTableArea - nTableArea



isDrawBoundingRect
public boolean isDrawBoundingRect()(Code)
Is a bounding rectangle is drawn over this area whether there is a bounding rectangle drawn



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



setBackgroundColor
public void setBackgroundColor(Color c)(Code)
Sets background color for this instance.
Parameters:
  c - new background color



setBackgroundPaint
public void setBackgroundPaint(Paint p)(Code)
Sets background paint for this instance.
Parameters:
  p - new Paint instance



setBoundingRect
public void setBoundingRect(int left, int top, int width, int height)(Code)
set the bounding rectangle. This also will constrain table to its maximum possible height.
Parameters:
  left - left
Parameters:
  top - top
Parameters:
  width - width
Parameters:
  height - height



setDrawBoundingRect
public void setDrawBoundingRect(boolean draw)(Code)
draw the bounding rectangle
Parameters:
  draw - whether to draw a bounding rect



setExpanded
public void setExpanded(boolean sExpanded)(Code)
set the state
Parameters:
  sExpanded - whether table is expanded



setShowHeader
public void setShowHeader(boolean show)(Code)



setTitle
public void setTitle(String title)(Code)
set the title of the table
Parameters:
  title - title



setTitleBrush
public void setTitleBrush(JGoBrush newBrush)(Code)
Sets brush for table title to the given instance.
Parameters:
  newBrush - JGoBrush to use for title area



setTitleToolBarGap
public void setTitleToolBarGap(int gap)(Code)
set the gap between title and toolbar
Parameters:
  gap - gap between title and tool bar



setToolBarTableGap
public void setToolBarTableGap(int gap)(Code)
set the gap between toolbar and table
Parameters:
  gap - gap



updateVerticalScrollBar
public void updateVerticalScrollBar()(Code)
update the vertical scrollbar



Fields inherited from org.netbeans.modules.sql.framework.ui.graph.impl.BasicCanvasArea
protected Object dataObject(Code)(Java Doc)
protected Dimension expandedSize(Code)(Java Doc)
protected JPopupMenu popUpMenu(Code)(Java Doc)
protected TitleArea titleArea(Code)(Java Doc)
protected IGraphView view(Code)(Java Doc)

Methods inherited from org.netbeans.modules.sql.framework.ui.graph.impl.BasicCanvasArea
public void addChildObject(Object obj)(Code)(Java Doc)
public boolean doMouseClick(int modifiers, Point dc, Point vc, JGoView view1)(Code)(Java Doc)
public void expand(boolean expand)(Code)(Java Doc)
protected void geometryChange(Rectangle prevRect)(Code)(Java Doc)
public List getAllLinks()(Code)(Java Doc)
public IGraphNode getChildNode(Object obj)(Code)(Java Doc)
public Object getDataObject()(Code)(Java Doc)
public String getFieldName(IGraphPort graphPort)(Code)(Java Doc)
public IGraphView getGraphView()(Code)(Java Doc)
public IGraphPort getInputGraphPort(String fieldName)(Code)(Java Doc)
public IGraphPort getOutputGraphPort(String fieldName)(Code)(Java Doc)
public IGraphNode getParentGraphNode()(Code)(Java Doc)
public void initializeActions(List actions)(Code)(Java Doc)
public boolean isDeleteAllowed()(Code)(Java Doc)
public boolean isExpandedState()(Code)(Java Doc)
public void removeChildNode(IGraphNode childNode) throws Exception(Code)(Java Doc)
public void removeChildObject(Object obj)(Code)(Java Doc)
public void setDataObject(Object obj)(Code)(Java Doc)
protected void setExpanded(boolean isExpanded)(Code)(Java Doc)
public void setExpandedState(boolean expand)(Code)(Java Doc)
public void setGraphView(IGraphView view)(Code)(Java Doc)
public void setUpdateGuiInfo(boolean update)(Code)(Java Doc)
public void update(int hint, int prevInt, Object prevVal)(Code)(Java Doc)
public void updateUI()(Code)(Java Doc)

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.