protected static class QueryBuilder.ConditionsTableModel extends AbstractTableModel
| Modifier and Type | Field and Description |
|---|---|
static int |
ANY |
protected List |
auxcols |
protected List |
auxtypes |
static int |
BOOLEAN |
protected ResourceBundle |
bundle |
protected String[] |
columns |
static int |
DATE |
protected ArrayList |
expressionList |
protected SQLStatementBuilder.Expression[] |
expressions |
static int |
NUMBER |
static int |
VARCHAR |
listenerList| Constructor and Description |
|---|
QueryBuilder.ConditionsTableModel(ResourceBundle bundle) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAtpublic static final int NUMBER
public static final int DATE
public static final int VARCHAR
public static final int ANY
public static final int BOOLEAN
protected SQLStatementBuilder.Expression[] expressions
protected String[] columns
protected ArrayList expressionList
protected List auxcols
protected List auxtypes
protected ResourceBundle bundle
public QueryBuilder.ConditionsTableModel(ResourceBundle bundle)
protected List getColumnTypes()
protected void setExpressions(List list)
protected void setColumnTypes(Object[] auxcols, int[] auxtypes)
public SQLStatementBuilder.Operator[] getTypeOperators(int type)
protected void addExpression()
protected void addExpression(SQLStatementBuilder.Expression e)
public void addInitExpression(SQLStatementBuilder.Expression e)
public List getExpressionsList()
public void clearExpressionValues()
public int getRowCount()
public int getColumnCount()
public String getColumnName(int c)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic Object getValueAt(int r, int c)
public void setValueAtCustom(Object v, int r, int c) throws Exception
Exceptionpublic boolean isCellEditable(int r,
int c)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic SQLStatementBuilder.Expression getExpression(int r)
public void split(int r)
public void operationBetweenRows(int[] rows,
SQLStatementBuilder.Operator op)
public void orBetweenRows(int[] rows)
public void doAndBetweenRows(int[] rows)
public void doAndNotBetweenRows(int[] rows)
public void orNotBetweenRows(int[] rows)
public void removeRows(int[] rows)
public void removeAllExpressions()
protected boolean isExpressionOKWithoutParameters(int r)
protected boolean isExpressionOKWithoutParameters(SQLStatementBuilder.Expression e)
protected boolean isExpressionOK(int r)
protected boolean isExpressionOK(SQLStatementBuilder.Expression e)
protected boolean needsExpressionParameters(int r)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.