| |
|
| org.netbeans.modules.sql.framework.ui.graph.impl.BasicCanvasArea org.netbeans.modules.sql.framework.ui.graph.impl.BasicListArea org.netbeans.modules.sql.framework.ui.view.graph.SQLCaseArea
SQLCaseArea | public class SQLCaseArea extends BasicListArea (Code) | | This class represents a case area build on top of list area
author: Ritesh Adval version: $Revision$ |
Inner Class :class CaseListArea extends ListArea | |
Constructor Summary | |
public | SQLCaseArea() | public | SQLCaseArea(Object[] data) Creates a new instance of SQLCaseArea using the given data array. |
BRUSH_INPUT_HIGHLIGHTED | final protected static JGoBrush BRUSH_INPUT_HIGHLIGHTED(Code) | | |
BRUSH_INPUT_REGULAR | final protected static JGoBrush BRUSH_INPUT_REGULAR(Code) | | |
BRUSH_OUTPUT_REGULAR | final protected static JGoBrush BRUSH_OUTPUT_REGULAR(Code) | | |
TEXT_COLOR_INPUT | final protected static Color TEXT_COLOR_INPUT(Code) | | |
TEXT_COLOR_LITERAL | final protected static Color TEXT_COLOR_LITERAL(Code) | | |
TEXT_COLOR_RESULT | final protected static Color TEXT_COLOR_RESULT(Code) | | |
SQLCaseArea | public SQLCaseArea()(Code) | | Creates a new instance of SQLCaseArea
|
SQLCaseArea | public SQLCaseArea(Object[] data)(Code) | | Creates a new instance of SQLCaseArea using the given data array.
Parameters: data - array of objects to be represented in ListModel |
addPredicate | public void addPredicate(Object obj, Point loc)(Code) | | Adds a model object holding the predicate
Parameters: obj - the object that represents a predicate Parameters: loc - location of the new predicate |
getAllLinks | public List getAllLinks()(Code) | | Gets a list of all input and output links
list of input links |
getChildNode | public IGraphNode getChildNode(Object obj)(Code) | | get the child graphNode
Parameters: obj - child data object graph node |
getDataObject | public Object getDataObject()(Code) | | Gets the data object from this area.
data object |
getFieldName | public String getFieldName(IGraphPort graphPort)(Code) | | Gets the field name for the given port
Parameters: graphPort - port field which has graphPort |
getInputGraphPort | public IGraphPort getInputGraphPort(String fieldName)(Code) | | Gets the input port for the given fieldName
Parameters: fieldName - name of the field port for the fieldName |
getMaximumHeight | public int getMaximumHeight()(Code) | | get the maximum height of this area
max height |
getMaximumWidth | public int getMaximumWidth()(Code) | | get maximum width of this area
max width |
getMinimumWidth | public int getMinimumWidth()(Code) | | get the minimum width of this area
minimum width |
getOutputGraphPort | public IGraphPort getOutputGraphPort(String fieldName)(Code) | | Gets the output graph port for the given fieldName
Parameters: fieldName - the name of this field port that belongs to fieldName |
getVisibleRowHeights | protected int getVisibleRowHeights()(Code) | | |
layoutChildren | public void layoutChildren()(Code) | | Sets the layout of this area's children
|
removeChildNode | public void removeChildNode(IGraphNode childNode) throws Exception(Code) | | Remove a child object
Parameters: child - child object |
setCondition | public void setCondition(Object val)(Code) | | Adds a condition in this area
Parameters: val - object representing a condition |
setDataObject | public void setDataObject(Object obj)(Code) | | Sets the data object in this area
Parameters: obj - data object |
setExpanded | protected void setExpanded(boolean isExpanded)(Code) | | |
|
|
|