public class UnionGroup extends QueryBase implements java.awt.event.ActionListener
| Modifier and Type | Field and Description |
|---|---|
protected SQLSubQueryExpressions |
astUnionGroup |
protected java.util.ArrayList<QueryBase> |
items |
astQueryBasechildren, controls, queryBuilder, sqlContext| Constructor and Description |
|---|
UnionGroup(ControlOwner owner,
QueryBuilder queryBuilder) |
getASTChildren, getParentQuery, getRootQuery, getUnionOperator, getUnionOperatorFull, insertAfter, insertBefore, isUnionAllFlag, loadFromAST, setParentQuery, setUnionAllFlag, setUnionOperator, setUnionOperatorByMenuItem, setUnionOperatorFull, updateUnionOperatoraddAfterUpdatedEventListener, addDestroyingEventListener, beginUpdate, calcAcOwnerFromOwner, canCreateControls, collectSubqueryProxiesByRootNode, createControls, destroyCachedResultASTs, destroyControls, doAfterUpdated, doCreateControls, doDestroyControls, doSQLUpdated, doUpdateContolParams, editProps, endUpdate, fireAfterUpdatedEvent, fireDestroyingEvent, gatherPrepareAndFixupContext, getASTChildrenForSubtree, getChildrenCount, getControl, getOwner, getQueryBuilder, getResultAST, getResultASTInternal, getResultSQL, getResultSQL, getSQLContext, getSubqueryCountByRootNode, getUpdateParent, getVisibleDataSources, isControlsCreated, isDisposing, isUpdating, loadSubQueries, makeVisible, notifyDatasourceDestroying, notifyDatasourceDestroyingInternal, notifyDatasourceReplaced, notifyDatasourceReplacedInternal, notifySQLUpdated, notifySQLUpdatedRecursive, registerUpdateChild, removeAfterUpdatedEventListener, removeDestroyingEventListener, saveControlParams, setDisposing, setOwner, setUpdateParent, showSubQueriesPopup, unregisterUpdateChild, updateContolParamsprotected final java.util.ArrayList<QueryBase> items
protected SQLSubQueryExpressions astUnionGroup
public UnionGroup(ControlOwner owner, QueryBuilder queryBuilder)
public QueryBase get(int index)
public int getCount()
public void dispose()
dispose in interface Disposabledispose in class QueryBasepublic int getControlsCount()
getControlsCount in class ControlOwnerprotected java.awt.Component createControlInternal(int i)
createControlInternal in class ControlOwnerprotected void restoreControlParams(int i)
restoreControlParams in class ControlOwnerprotected void addToBegin(QueryBase from)
protected void removeFromBegin(QueryBase to)
protected void addToEnd(QueryBase to)
protected void removeFromEnd(QueryBase from)
protected UnionSubQuery addAST(SQLSubQuerySelectExpression subQuery)
protected UnionGroup addGroupAST(SQLSubQueryExpressions subQuery)
protected AstNode createResultAST()
createResultAST in class ControlOwnerpublic UnionSubQuery add() throws QueryBuilderException
QueryBuilderExceptionpublic UnionGroup addGroup() throws QueryBuilderException
QueryBuilderExceptionpublic int indexOf(QueryBase item)
public UnionSubQuery insert(int index) throws QueryBuilderException
QueryBuilderExceptionpublic UnionGroup insertGroup(int index) throws QueryBuilderException
QueryBuilderExceptionpublic void moveItem(int curIndex,
int newIndex)
public void delete(int index)
public int remove(QueryBase item)
public void clear()
public javax.swing.JPopupMenu getLeftBracketPopupMenu()
public javax.swing.JPopupMenu getRightBracketPopupMenu()
public javax.swing.JPopupMenu getPopupMenu()
getPopupMenu in class ControlOwnerpublic void loadFromAST(SQLSubQueryExpressions subQuery)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void gatherUnionSubQueries(java.util.List<UnionSubQuery> toList)
public java.util.List<UnionSubQuery> getUnionSubQueryList()