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

All known Subclasses:   org.netbeans.modules.sql.framework.ui.graph.impl.DefaultListAreaRenderer,  org.netbeans.modules.sql.framework.ui.graph.impl.OperatorGraphFieldNode,
BasicCellArea
public class BasicCellArea extends CanvasArea implements PropertyChangeListener,IDataNode(Code)

author:
   Ritesh Adval
version:
   $Revision$

Inner Class :public static class Highlightable extends BasicCellArea implements IHighlightable

Field Summary
final public static  ColorDEFAULT_TEXT_COLOR
    
final public static  int[]IMAGES
    
final public static  intIMAGE_EXTRACTION
    
final public static  intIMAGE_VALIDATION
    
final public static  intLEFT
    
final public static  intLEFT_PORT_AREA
    
final public static  intLEFT_RIGHT_PORT_AREA
    
final public static  intRIGHT
    
final public static  intRIGHT_PORT_AREA
    
final public static  StringTEXT
    
protected  CellAreacellArea
    
protected  booleandrawBoundingRect
    
protected  inticonTextGap
    
protected  intleftGap
    
protected  JGoRectanglerect
    

Constructor Summary
public  BasicCellArea()
    
public  BasicCellArea(String text)
    
public  BasicCellArea(String text, Icon icon)
     Creates a new instance of BasicCellArea Assumes image/Icon is for DataExtraction.
public  BasicCellArea(int portType, String text, Icon icon)
     Creates a cell area and specify its port.
public  BasicCellArea(int aPortType, String text)
    

Method Summary
public  voiddrawBoundingRect(boolean drawRect)
    
protected  booleangeometryChangeChild(JGoObject child, Rectangle prevRect)
    
public  ObjectgetDataObject()
    
public  intgetIconIconGap()
    
public  intgetIconTextGap()
    
public  intgetLeftGap()
    
public  IGraphPortgetLeftGraphPort()
    
public  JGoPengetLinePen()
    
public  intgetMaximumWidth()
    
public  intgetMinimumHeight()
    
public  intgetMinimumWidth()
    
public  StringgetOriginalText()
    
public  intgetPortAreaWidth()
    
public  IGraphPortgetRightGraphPort()
    
public  StringgetText()
    
public  ColorgetTextColor()
     Gets current text color.
protected  voidinitImageAreas()
    
public  booleanisTextEditable()
    
public  voidlayoutChildren()
    
public  voidpropertyChange(PropertyChangeEvent evt)
     This method gets called when a bound property is changed.
protected  voidrepaintBackground(JGoBrush aBrush)
    
public  voidsetBackGroundColor(Color bkColor)
    
public  voidsetBorder(JGoPen borderPen)
    
public  voidsetBoundingRectBorderColor(Color color)
    
public  voidsetBrush(JGoBrush newBrush)
     Sets background brush to the given value.
public  voidsetDataExtractionImageIcon(Icon icon)
     Sets image for DataExtraction icon.
public  voidsetDataExtractionImageIcon(Icon icon, String toolTip)
     Sets image for DataExtraction icon.
public  voidsetDataObject(Object obj)
    
public  voidsetIconIconGap(int iconIconGap)
    
public  voidsetIconTextGap(int iconTextGap)
    
public  voidsetImage(Icon icon)
    
public  voidsetImage(Icon icon, String toolTip)
    
public  voidsetImageIcon(int iconType, Icon icon, String toolTip)
     Sets a ImageIcon for the icon Type specified.
public  voidsetImageIcon(int iconType, Icon icon)
     Sets a ImageIcon for the icon Type specified.
public  voidsetLeftGap(int leftGap)
    
public  voidsetLinePen(JGoPen pen)
    
public  voidsetText(String text)
    
public  voidsetTextAlignment(int align)
    
public  voidsetTextColor(Color textColor)
     Sets text color to the given value.
public  voidsetTextEditable(boolean editable)
    

Field Detail
DEFAULT_TEXT_COLOR
final public static Color DEFAULT_TEXT_COLOR(Code)



IMAGES
final public static int[] IMAGES(Code)



IMAGE_EXTRACTION
final public static int IMAGE_EXTRACTION(Code)



IMAGE_VALIDATION
final public static int IMAGE_VALIDATION(Code)



LEFT
final public static int LEFT(Code)
constants



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



LEFT_RIGHT_PORT_AREA
final public static int LEFT_RIGHT_PORT_AREA(Code)
constant that describe that this cell has ports on both side of it



RIGHT
final public static int RIGHT(Code)



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



TEXT
final public static String TEXT(Code)
TEXT Property



cellArea
protected CellArea cellArea(Code)



drawBoundingRect
protected boolean drawBoundingRect(Code)



iconTextGap
protected int iconTextGap(Code)



leftGap
protected int leftGap(Code)



rect
protected JGoRectangle rect(Code)




Constructor Detail
BasicCellArea
public BasicCellArea()(Code)
Creates a new instance of BasicCellArea



BasicCellArea
public BasicCellArea(String text)(Code)
Creates a new instance of BasicCellArea
Parameters:
  text - text



BasicCellArea
public BasicCellArea(String text, Icon icon)(Code)
Creates a new instance of BasicCellArea Assumes image/Icon is for DataExtraction.
Parameters:
  text - text
Parameters:
  icon - icon



BasicCellArea
public BasicCellArea(int portType, String text, Icon icon)(Code)
Creates a cell area and specify its port. Assumes image/Icon is for DataExtraction.
Parameters:
  portType - type of port
Parameters:
  text - text
Parameters:
  icon - icon



BasicCellArea
public BasicCellArea(int aPortType, String text)(Code)
create a new instance of BasicCellArea
Parameters:
  portType - port type
Parameters:
  text - text




Method Detail
drawBoundingRect
public void drawBoundingRect(boolean drawRect)(Code)
Sets whether a bounding rectangle needs to be drawn
Parameters:
  drawRect - boolean



geometryChangeChild
protected boolean geometryChangeChild(JGoObject child, Rectangle prevRect)(Code)



getDataObject
public Object getDataObject()(Code)



getIconIconGap
public int getIconIconGap()(Code)
get gap between the icons gap between icons



getIconTextGap
public int getIconTextGap()(Code)
get gap between icon and text gap between icon and text



getLeftGap
public int getLeftGap()(Code)
get the left gap of this cell area left gap



getLeftGraphPort
public IGraphPort getLeftGraphPort()(Code)
get the left side graph port this area left port



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



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



getMinimumHeight
public int getMinimumHeight()(Code)
get the minimum height of this cell area minimum height of this cell area



getMinimumWidth
public int getMinimumWidth()(Code)
get the minimum width of this cell area min width



getOriginalText
public String getOriginalText()(Code)



getPortAreaWidth
public int getPortAreaWidth()(Code)
get the port width of this cell area port width



getRightGraphPort
public IGraphPort getRightGraphPort()(Code)
get the right graph port of this cell right side graph port



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



getTextColor
public Color getTextColor()(Code)
Gets current text color. current text color



initImageAreas
protected void initImageAreas()(Code)



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



layoutChildren
public void layoutChildren()(Code)
layout the children of list area



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.



repaintBackground
protected void repaintBackground(JGoBrush aBrush)(Code)



setBackGroundColor
public void setBackGroundColor(Color bkColor)(Code)



setBorder
public void setBorder(JGoPen borderPen)(Code)



setBoundingRectBorderColor
public void setBoundingRectBorderColor(Color color)(Code)
Sets the bounding rectangle's border color
Parameters:
  color - color



setBrush
public void setBrush(JGoBrush newBrush)(Code)
Sets background brush to the given value.
Parameters:
  newBrush - new JGoBrush to use in painting background



setDataExtractionImageIcon
public void setDataExtractionImageIcon(Icon icon)(Code)
Sets image for DataExtraction icon.
Parameters:
  icon -



setDataExtractionImageIcon
public void setDataExtractionImageIcon(Icon icon, String toolTip)(Code)
Sets image for DataExtraction icon.
Parameters:
  icon -



setDataObject
public void setDataObject(Object obj)(Code)



setIconIconGap
public void setIconIconGap(int iconIconGap)(Code)
set the gap between icons
Parameters:
  iconTextGap - gap between icons



setIconTextGap
public void setIconTextGap(int iconTextGap)(Code)
set the gap between icon and text
Parameters:
  iconTextGap - gap between icon and text



setImage
public void setImage(Icon icon)(Code)
set the image in this cell area
Parameters:
  icon - icon



setImage
public void setImage(Icon icon, String toolTip)(Code)

Parameters:
  icon -
Parameters:
  toolTip -



setImageIcon
public void setImageIcon(int iconType, Icon icon, String toolTip)(Code)
Sets a ImageIcon for the icon Type specified.
Parameters:
  iconType - can be IMAGE_EXTRACTION, IMAGE_VALIDATION etc
Parameters:
  icon -
Parameters:
  toolTip -



setImageIcon
public void setImageIcon(int iconType, Icon icon)(Code)
Sets a ImageIcon for the icon Type specified.
Parameters:
  iconType - can be IMAGE_EXTRACTION, IMAGE_VALIDATION etc
Parameters:
  icon -



setLeftGap
public void setLeftGap(int leftGap)(Code)
set the gap from the left where this area should start rendering cell area it contains
Parameters:
  leftGap - left gap



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



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



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



setTextColor
public void setTextColor(Color textColor)(Code)
Sets text color to the given value.
Parameters:
  textColor - new text color



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