| org.netbeans.modules.sql.framework.ui.graph.impl.CanvasArea org.netbeans.modules.sql.framework.ui.graph.impl.BasicCanvasArea org.netbeans.modules.sql.framework.ui.graph.impl.BasicTableArea
All known Subclasses: org.netbeans.modules.sql.framework.ui.view.graph.SQLBasicTableArea,
BasicTableArea | public BasicTableArea()(Code) | | Creates a new instance of SQLTableArea
|
BasicTableArea | public BasicTableArea(TitleArea nTitleArea, ToolBarArea toolBarArea, TableArea nTableArea)(Code) | | create a new instance of table
Parameters: nTitleArea - titleArea Parameters: toolBarArea - toolBar Area Parameters: nTableArea - table area |
geometryChangeChild | protected boolean geometryChangeChild(JGoObject child, java.awt.Rectangle prevRect)(Code) | | handle child geometry change. This handle change in TableArea. when a resize occurs
table area sets its height to the height of all visible column. this avoids extra
space in vertical scroll bar
Parameters: child - child Parameters: prevRect - child prev rect |
getMaximumHeight | public int getMaximumHeight()(Code) | | get the maximum height
maximum height |
getMaximumWidth | public int getMaximumWidth()(Code) | | get the maximum width
maximum width |
getMinimumHeight | public int getMinimumHeight()(Code) | | get the minimum height
minimum height |
getMinimumWidth | public int getMinimumWidth()(Code) | | get the minimum width
minimum width |
getTableArea | public TableArea getTableArea()(Code) | | get the table area
table area |
getTitleAreaBounds | public Rectangle getTitleAreaBounds()(Code) | | get the title area bounds
title area bounds |
initialize | public void initialize(Point loc, TitleArea nTitleArea, TableArea nTableArea)(Code) | | initialize the table
Parameters: loc - location Parameters: nTitleArea - titleArea Parameters: nTableArea - nTableArea |
isDrawBoundingRect | public boolean isDrawBoundingRect()(Code) | | Is a bounding rectangle is drawn over this area
whether there is a bounding rectangle drawn |
layoutChildren | public void layoutChildren()(Code) | | layout all the children of this table area
|
setBackgroundColor | public void setBackgroundColor(Color c)(Code) | | Sets background color for this instance.
Parameters: c - new background color |
setBackgroundPaint | public void setBackgroundPaint(Paint p)(Code) | | Sets background paint for this instance.
Parameters: p - new Paint instance |
setBoundingRect | public void setBoundingRect(int left, int top, int width, int height)(Code) | | set the bounding rectangle. This also will constrain table to its maximum possible
height.
Parameters: left - left Parameters: top - top Parameters: width - width Parameters: height - height |
setDrawBoundingRect | public void setDrawBoundingRect(boolean draw)(Code) | | draw the bounding rectangle
Parameters: draw - whether to draw a bounding rect |
setExpanded | public void setExpanded(boolean sExpanded)(Code) | | set the state
Parameters: sExpanded - whether table is expanded |
setShowHeader | public void setShowHeader(boolean show)(Code) | | |
setTitle | public void setTitle(String title)(Code) | | set the title of the table
Parameters: title - title |
setTitleBrush | public void setTitleBrush(JGoBrush newBrush)(Code) | | Sets brush for table title to the given instance.
Parameters: newBrush - JGoBrush to use for title area |
setTitleToolBarGap | public void setTitleToolBarGap(int gap)(Code) | | set the gap between title and toolbar
Parameters: gap - gap between title and tool bar |
setToolBarTableGap | public void setToolBarTableGap(int gap)(Code) | | set the gap between toolbar and table
Parameters: gap - gap |
updateVerticalScrollBar | public void updateVerticalScrollBar()(Code) | | update the vertical scrollbar
|
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)
|
|
|