| org.netbeans.modules.sql.framework.ui.graph.impl.CanvasArea org.netbeans.modules.sql.framework.ui.graph.impl.ColumnPortArea
ColumnPortArea | public class ColumnPortArea extends CanvasArea (Code) | | author: Ritesh Adval version: $Revision$ |
LEFT_PORT_AREA | final public static int LEFT_PORT_AREA(Code) | | constant that describe that this area has ports on left side of it
|
RIGHT_PORT_AREA | final public static int RIGHT_PORT_AREA(Code) | | constant that describe that this area has ports on right side of it
|
ColumnPortArea | public ColumnPortArea(int alignment, int rows)(Code) | | Creates a new instance of ColumnPortArea
Parameters: alignment - alignment Parameters: rows - number of rows |
addPort | public void addPort()(Code) | | |
addPort | public void addPort(int row)(Code) | | |
addPorts | public void addPorts(int rows)(Code) | | add port areas to this area
Parameters: rows - number of port areas to be added |
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 columns and headers again
Parameters: prevRect - previous bounds rectangle |
geometryChangeChild | protected boolean geometryChangeChild(JGoObject child, Rectangle prevRect)(Code) | | handle child geometry change. This will ignore changes in child geometry as none if
its children are resizable
Parameters: child - child Parameters: prevRect - previous rectangle |
getFirstVisibleRow | public int getFirstVisibleRow()(Code) | | get first visible row index
first visible row index |
getIndexOf | public int getIndexOf(PortArea pArea)(Code) | | get the index of a port area
Parameters: pArea - port area port area index |
getLastVisibleRow | public int getLastVisibleRow()(Code) | | get the last visible row index
last visible row index |
getLinePen | public JGoPen getLinePen()(Code) | | get the line pen
pen |
getMaximizePortAreaHeight | public int getMaximizePortAreaHeight()(Code) | | get the maximum height of a PortArea in this area
maximum PortArea height |
getMaximizePortAreaWidth | public int getMaximizePortAreaWidth()(Code) | | get the maximum width of a PortArea in this area
maximum PortArea width |
getMaximumHeight | public int getMaximumHeight()(Code) | | |
getMinimumRectSize | public Dimension getMinimumRectSize()(Code) | | calculate the minimum size for the columnRect , as determined by the maximum item
size plus the insets
minimum size |
getMinimumSize | public Dimension getMinimumSize()(Code) | | get the minimum size
minimum size |
getPortAreaAt | public PortArea getPortAreaAt(int row)(Code) | | get the port area at an index
Parameters: row - row index port area |
getRect | public JGoRectangle getRect()(Code) | | get the graphical bound rectangle
graphical bound rectangle |
getRowCount | public int getRowCount()(Code) | | get the number of rows in this column area
number of rows in this column |
getVerticalSpacing | int getVerticalSpacing()(Code) | | get the vertical space between port area of this area
vertical space |
isExpanded | public boolean isExpanded()(Code) | | is area expanded
whether area is expanded |
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 |
removePort | public void removePort(int row)(Code) | | |
setBackgroundColor | public void setBackgroundColor(Color c)(Code) | | |
setExpanded | public void setExpanded(boolean sExpanded)(Code) | | set whether container table is expanded
Parameters: sExpanded - expanded or collapsed |
setFirstVisibleRow | public void setFirstVisibleRow(int rowIdx)(Code) | | set the first visible row index
Parameters: rowIdx - row index |
setLinePen | public void setLinePen(JGoPen pen)(Code) | | set the line pen for drawing border
Parameters: pen - pen |
setPortAreaHeight | public void setPortAreaHeight(int row, int height)(Code) | | set the port area height at an index
Parameters: row - row index Parameters: height - height |
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)
|
|
|