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

ListArea
public class ListArea extends CanvasArea (Code)

author:
   Ritesh Adval
version:
   $Revision$

Inner Class :class ListDataAdapter implements ListDataListener


Constructor Summary
public  ListArea()
    
public  ListArea(Object[] listData)
    

Method Summary
public  voidaddItem(int row, Object val)
    
public  CellAreagetCellAt(int row)
    
public  ListAreaCellRenderergetCellRenderer()
    
protected  ListAreaCellRenderergetCellRenderer(int row)
    
public  JGoObjectgetCellRendererComponent(int row)
    
public  intgetFirstVisibleRow()
    
public  intgetLastVisibleRow()
    
public  JGoPengetLinePen()
    
public  intgetMaximumHeight()
    
public  intgetMaximumWidth()
    
public  ListModelgetModel()
    
public  intgetPrefferedWidth()
    
public  JGoObjectgetRect()
    
public  intgetRowCount()
    
public  ObjectgetValueAt(Point loc)
    
public  JGoScrollBargetVerticalScrollBar()
    
public  intgetVerticalSpacing()
    
public  intgetVisibleRowHeights()
    
public  booleanisDrawLines()
    
public  booleanisShowScrollBar()
    
public  voidlayoutChildren()
    
public  voidpaint(Graphics2D g, JGoView view)
    
public  voidsetCellRenderer(ListAreaCellRenderer cellRenderer)
    
public  voidsetDrawLines(boolean drawLines)
    
public  voidsetFirstVisibleRow(int rowIdx)
    
public  voidsetLastVisibleRow(int rowIdx)
    
public  voidsetLinePen(JGoPen pen)
    
public  voidsetModel(ListModel model)
    
public  voidsetOutOfScrollCellBounds(Rectangle rect)
    
public  voidsetPrefferedWidth(int width)
    
public  voidsetShowScrollBar(boolean showScrollBar)
    
public  voidsetVerticalScrollBarGapFromEdge(int gap)
    
public  voidsetVerticalSpacing(int newspace)
    
public  voidsetVisible(boolean bFlag)
    
public  voidupdate(int hint, int prevInt, Object prevVal)
    
public  voidupdateVerticalScrollBar()
    


Constructor Detail
ListArea
public ListArea()(Code)
Creates a new instance of BasicListArea



ListArea
public ListArea(Object[] listData)(Code)
create an instance of list area
Parameters:
  listData - list data values




Method Detail
addItem
public void addItem(int row, Object val)(Code)
add a new cell in the column area int val value to represent in a cell
Parameters:
  row - row
Parameters:
  val - value



getCellAt
public CellArea getCellAt(int row)(Code)
get the cell at an index
Parameters:
  row - row cell area



getCellRenderer
public ListAreaCellRenderer getCellRenderer()(Code)
get the default cell renderer cell renderer



getCellRenderer
protected ListAreaCellRenderer getCellRenderer(int row)(Code)
get cell renderer at an index
Parameters:
  row - row index cell renderer



getCellRendererComponent
public JGoObject getCellRendererComponent(int row)(Code)
get the cell renderer component at an index
Parameters:
  row - row index cell renderer



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



getLastVisibleRow
public int getLastVisibleRow()(Code)
get the last visible row of this list area list visible row



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



getMaximumHeight
public int getMaximumHeight()(Code)
get the maximum height of this area max height



getMaximumWidth
public int getMaximumWidth()(Code)
get maximum width of this area max width



getModel
public ListModel getModel()(Code)
get the list model list model



getPrefferedWidth
public int getPrefferedWidth()(Code)
get the preffered width preffered width



getRect
public JGoObject getRect()(Code)
get the graph rectangle graph rectangle



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



getValueAt
public Object getValueAt(Point loc)(Code)
get value at a particular point
Parameters:
  loc - location cell value



getVerticalScrollBar
public JGoScrollBar getVerticalScrollBar()(Code)
get the vertical scrollbar vertical scroll bar



getVerticalSpacing
public int getVerticalSpacing()(Code)
get the vertical spacing vertical spacing



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



isDrawLines
public boolean isDrawLines()(Code)
get whether list draws line after each cell drawlines



isShowScrollBar
public boolean isShowScrollBar()(Code)



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



setCellRenderer
public void setCellRenderer(ListAreaCellRenderer cellRenderer)(Code)
set the default cell renderer
Parameters:
  cellRenderer - cell renderer



setDrawLines
public void setDrawLines(boolean drawLines)(Code)
set whether to draw lines after each cell in this list
Parameters:
  drawLines - whether to draw lines



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



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



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



setModel
public void setModel(ListModel model)(Code)
set the list model
Parameters:
  model - list model



setOutOfScrollCellBounds
public void setOutOfScrollCellBounds(Rectangle rect)(Code)
set the out of scroll cell bounds
Parameters:
  rect - rect



setPrefferedWidth
public void setPrefferedWidth(int width)(Code)
set the preffered width
Parameters:
  width - preffered width



setShowScrollBar
public void setShowScrollBar(boolean showScrollBar)(Code)



setVerticalScrollBarGapFromEdge
public void setVerticalScrollBarGapFromEdge(int gap)(Code)
set the gap of vertical scrollbar from the edge of this area
Parameters:
  gap - gap



setVerticalSpacing
public void setVerticalSpacing(int newspace)(Code)
set the vertical spacing between cells of this list area
Parameters:
  newspace - new vertical space



setVisible
public void setVisible(boolean bFlag)(Code)
since setVisible() doesn't automatically call setVisible() on all the children, we need to do this manually to handle the scroll bar
Parameters:
  bFlag - boolean



update
public void update(int hint, int prevInt, Object prevVal)(Code)
this gets the notification from the JGoScrollBar when the scroll bar value, representing the first visible index, has changed
Parameters:
  hint - event hint
Parameters:
  prevInt - previous integer value
Parameters:
  prevVal - previous object value



updateVerticalScrollBar
public void updateVerticalScrollBar()(Code)
updates the vertical scroll bar



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)

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