Class ControlOwner

java.lang.Object
com.adbs.querybuilder.ControlOwner
All Implemented Interfaces:
Disposable
Direct Known Subclasses:
CriteriaItem, CriteriaList, DataSourceBase, Link, QueryBase

public class ControlOwner extends Object implements Disposable
  • Field Details

  • Constructor Details

  • Method Details

    • dispose

      public void dispose()
      Specified by:
      dispose in interface Disposable
    • getOwner

      public ControlOwner getOwner()
    • setOwner

      public void setOwner(ControlOwner owner)
    • getQueryBuilder

      public QueryBuilder getQueryBuilder()
    • getSQLContext

      public BaseSQLContext getSQLContext()
    • getChildrenCount

      public int getChildrenCount()
    • isControlsCreated

      public boolean isControlsCreated()
    • getControlsCount

      public int getControlsCount()
    • getUpdateParent

      public ControlOwner getUpdateParent()
    • setUpdateParent

      public void setUpdateParent(ControlOwner value)
    • isUpdating

      public boolean isUpdating()
    • getResultASTInternal

      protected AstNode getResultASTInternal()
    • getResultAST

      public AstNode getResultAST()
    • isDisposing

      protected boolean isDisposing()
    • setDisposing

      protected void setDisposing(boolean value)
    • getControl

      public Component getControl(int index)
    • getResultSQL

      public String getResultSQL()
    • getResultSQL

      public String getResultSQL(SQLBuilder builder)
    • calcAcOwnerFromOwner

      protected Component calcAcOwnerFromOwner(Component owner)
    • destroyCachedResultASTs

      protected void destroyCachedResultASTs()
    • createResultAST

      protected AstNode createResultAST()
    • canCreateControls

      public boolean canCreateControls()
    • createControlInternal

      protected Component createControlInternal(int i)
    • saveControlParams

      protected void saveControlParams(int i)
    • restoreControlParams

      protected void restoreControlParams(int i)
    • updateContolParams

      protected void updateContolParams(int i)
    • makeVisible

      protected boolean makeVisible(int i)
    • doCreateControls

      protected void doCreateControls()
    • doDestroyControls

      protected void doDestroyControls()
    • doUpdateContolParams

      public void doUpdateContolParams()
    • registerUpdateChild

      protected void registerUpdateChild(ControlOwner child)
    • unregisterUpdateChild

      protected void unregisterUpdateChild(ControlOwner child)
    • doSQLUpdated

      protected void doSQLUpdated()
    • doAfterUpdated

      protected void doAfterUpdated()
    • loadSubQueries

      protected void loadSubQueries(AstNode ast)
    • collectSubqueryProxiesByRootNode

      protected void collectSubqueryProxiesByRootNode(List list, AstNode rootNode)
    • getSubqueryCountByRootNode

      protected int getSubqueryCountByRootNode(AstNode rootNode)
    • showSubQueriesPopup

      protected void showSubQueriesPopup(Point pos, List subQueries)
    • getASTChildren

      protected void getASTChildren(List l)
    • getASTChildrenForSubtree

      protected void getASTChildrenForSubtree(List l)
    • notifyDatasourceDestroyingInternal

      protected boolean notifyDatasourceDestroyingInternal(DataSource datasource)
    • notifyDatasourceDestroying

      public boolean notifyDatasourceDestroying(DataSource datasource)
    • notifyDatasourceReplacedInternal

      protected void notifyDatasourceReplacedInternal(DataSource datasourceFrom, DataSource datasourceTo)
    • notifyDatasourceReplaced

      protected void notifyDatasourceReplaced(DataSource datasourceFrom, DataSource datasourceTo)
    • createControls

      public void createControls()
    • destroyControls

      public void destroyControls()
    • beginUpdate

      public void beginUpdate()
    • endUpdate

      public void endUpdate()
    • notifySQLUpdated

      public void notifySQLUpdated()
    • editProps

      public void editProps(Window parent)
    • getPopupMenu

      public JPopupMenu getPopupMenu()
    • notifySQLUpdatedRecursive

      public void notifySQLUpdatedRecursive()
    • gatherPrepareAndFixupContext

      public void gatherPrepareAndFixupContext(List cteList, List fromSourceList, boolean inclParentQueryFromSources)
    • addDestroyingEventListener

      public void addDestroyingEventListener(EventListener listener)
    • removeDestroyingEventListener

      public void removeDestroyingEventListener(EventListener listener)
    • fireDestroyingEvent

      protected void fireDestroyingEvent(EventObject evt)
    • addAfterUpdatedEventListener

      public void addAfterUpdatedEventListener(EventListener listener)
    • removeAfterUpdatedEventListener

      public void removeAfterUpdatedEventListener(EventListener listener)
    • fireAfterUpdatedEvent

      protected void fireAfterUpdatedEvent(EventObject evt)
    • getVisibleDataSources

      public List<DataSource> getVisibleDataSources()