| 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,
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
|
drawBoundingRect | protected boolean drawBoundingRect(Code) | | |
iconTextGap | protected int iconTextGap(Code) | | |
leftGap | protected int leftGap(Code) | | |
rect | protected JGoRectangle rect(Code) | | |
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 |
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) | | |
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 |
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 - |
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)
|
|
|