| org.netbeans.modules.sql.framework.ui.graph.impl.CanvasArea org.netbeans.modules.sql.framework.ui.graph.impl.TableHeaderArea
TableHeaderArea | public class TableHeaderArea extends CanvasArea (Code) | | author: Ritesh Adval version: $Revision$ |
TableHeaderArea | public TableHeaderArea()(Code) | | Creates a new instance of TableHeaderArea
|
addHeaderCell | public void addHeaderCell(String columnName)(Code) | | add a header cell to the collection of headers in this area
Parameters: columnName - name of the column header |
doUncapturedMouseMove | public boolean doUncapturedMouseMove(int flags, Point dc, Point vc, JGoView view)(Code) | | capture the mouse move event
Parameters: flags - flags Parameters: dc - document coordinates Parameters: vc - view coordinates Parameters: view - the view bool |
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 header cell
Parameters: prevRect - the 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 child are resizeable
Parameters: child - child Parameters: prevRect - child prev rect |
getHeaderCellMaxWidth | public int getHeaderCellMaxWidth(int header)(Code) | | get maximum width of a header cell at an index
Parameters: header - index of header cell max width of header cell |
getHeaderCount | public int getHeaderCount()(Code) | | get the count of headers
count of headers |
getMaximizeCellHeight | public int getMaximizeCellHeight()(Code) | | get the maximum cell height of a cell in this area
maximum cell height |
getMaximizeCellWidth | public int getMaximizeCellWidth()(Code) | | get the maximum cell width of a cell in this area
maximum cell width |
getMaximumHeight | public int getMaximumHeight()(Code) | | get the maximum height
max Height |
getMaximumWidth | public int getMaximumWidth()(Code) | | get maximum width
max width |
getMinimumRectSize | public Dimension getMinimumRectSize()(Code) | | calculate the minimum size for the columnRect , as determined by the maximum item
size plus the insets
the minimum size |
getMinimumSize | public Dimension getMinimumSize()(Code) | | get the minimum size
minimum size |
layoutChildren | public void layoutChildren()(Code) | | layout all the children of this table area
|
setHeaderCellWidth | public void setHeaderCellWidth(int header, int width)(Code) | | set the width of header cell at an index in this TableHeaderArea
Parameters: header - index of header cell Parameters: width - new width of header cell |
setHeaders | public void setHeaders(String[] columnNames)(Code) | | set the headers in this area
Parameters: columnNames - name of the headers to set |
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)
|
|
|