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

CellArea
public class CellArea extends CanvasArea implements PropertyChangeListener(Code)

author:
   Ritesh Adval
version:
   $Revision$


Field Summary
final public static  StringTEXT
    

Constructor Summary
public  CellArea()
    
public  CellArea(String val)
    
public  CellArea(Icon icon)
    

Method Summary
public  booleandoMouseClick(int modifiers, Point dc, Point vc, JGoView view)
     Let single click on a label mean start editing that label.
protected  voidgeometryChange(Rectangle prevRect)
    
public  intgetMaximumHeight()
    
public  intgetMaximumWidth()
    
public  intgetMinimumWidth()
    
public  StringgetOriginalText()
    
public  StringgetText()
    
public  ColorgetTextColor()
    
 voidinitializeImage(Icon icon)
    
 voidinitializeText(String val)
    
public  booleanisTextEditable()
    
public  voidlayoutChildren()
    
public  voidpaint(java.awt.Graphics2D g, JGoView view)
    
public  voidpropertyChange(PropertyChangeEvent evt)
     This method gets called when a bound property is changed.
public  voidsetBackGroundColor(Color bkColor)
    
public  voidsetIcon(Icon icon)
    
public  voidsetIconVisible(boolean visible)
    
public  voidsetText(String val)
    
public  voidsetTextAlignment(int alignment)
    
public  voidsetTextColor(Color textColor)
    
public  voidsetTextEditable(boolean editable)
    

Field Detail
TEXT
final public static String TEXT(Code)
TEXT Property




Constructor Detail
CellArea
public CellArea()(Code)
create an instance of CellArea



CellArea
public CellArea(String val)(Code)
Creates a new instance of CellArea
Parameters:
  val - -



CellArea
public CellArea(Icon icon)(Code)
create an instance of CellArea
Parameters:
  icon - icon




Method Detail
doMouseClick
public boolean doMouseClick(int modifiers, Point dc, Point vc, JGoView view)(Code)
Let single click on a label mean start editing that label. Because the label is not selectable, a mouse click will be passed on up to its parent, which will be this area.
Parameters:
  modifiers - mouse event modifiers
Parameters:
  dc - document point
Parameters:
  vc - view point
Parameters:
  view - view true if mouse click is handled by this area



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 cell again
Parameters:
  prevRect - previous bounds rectangle



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



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



getMinimumWidth
public int getMinimumWidth()(Code)



getOriginalText
public String getOriginalText()(Code)



getText
public String getText()(Code)
get the text of this cell text



getTextColor
public Color getTextColor()(Code)



initializeImage
void initializeImage(Icon icon)(Code)
initialize the image
Parameters:
  icon - icon



initializeText
void initializeText(String val)(Code)
initialize the text
Parameters:
  val - text



isTextEditable
public boolean isTextEditable()(Code)
Is the text editable whether the text is editable



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



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



propertyChange
public void propertyChange(PropertyChangeEvent evt)(Code)
This method gets called when a bound property is changed.
Parameters:
  evt - A PropertyChangeEvent object describing the event source and theproperty that has changed.



setBackGroundColor
public void setBackGroundColor(Color bkColor)(Code)



setIcon
public void setIcon(Icon icon)(Code)
set the icon in the cell area
Parameters:
  icon - icon



setIconVisible
public void setIconVisible(boolean visible)(Code)
set the icon to be visible
Parameters:
  visible - true or false



setText
public void setText(String val)(Code)
set the text in this cell
Parameters:
  val - text



setTextAlignment
public void setTextAlignment(int alignment)(Code)
set the text alignment
Parameters:
  alignment - alignment



setTextColor
public void setTextColor(Color textColor)(Code)



setTextEditable
public void setTextEditable(boolean editable)(Code)
set whether text in this area is editable
Parameters:
  editable - text is editable



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_a2_s__.__c_om | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.