| org.netbeans.modules.sql.framework.ui.graph.impl.CanvasArea org.netbeans.modules.sql.framework.ui.graph.impl.CellArea
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 |
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) | | |
getText | public String getText()(Code) | | get the text of this cell
text |
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)
|
|
|