Class SqlQueryPanel

    • Field Detail

      • m_SplitPane

        protected BaseSplitPane m_SplitPane
        the split panel.
      • m_PanelTable

        protected JPanel m_PanelTable
        the panel with the table.
      • m_PanelTableSearch

        protected SearchPanel m_PanelTableSearch
        the panel for searching the result.
      • m_PanelText

        protected JPanel m_PanelText
        the panel with the text.
      • m_TextResults

        protected BaseTextArea m_TextResults
        for other results.
      • m_PanelNoResult

        protected JPanel m_PanelNoResult
        the no result panel.
      • m_ButtonExecute

        protected BaseButton m_ButtonExecute
        the button for executing the query.
    • Constructor Detail

      • SqlQueryPanel

        public SqlQueryPanel()
    • Method Detail

      • initialize

        protected void initialize()
        For initializing members.
        Overrides:
        initialize in class BasePanel
      • initGUI

        protected void initGUI()
        For initializing the GUI.
        Overrides:
        initGUI in class BasePanel
      • finishInit

        protected void finishInit()
        Finishes the initialization.
        Overrides:
        finishInit in class BasePanel
      • updateButtons

        protected void updateButtons()
        Updates the buttons.
      • setQuery

        public void setQuery​(String query)
        Sets the query.
        Parameters:
        query - the query
      • getQuery

        public String getQuery()
        Returns the query.
        Returns:
        the query
      • execute

        public void execute()
        Executes the current query.
      • queryChanged

        protected void queryChanged()
        Gets called whenever the query changes.
      • addQueryPanelListener

        public void addQueryPanelListener​(SqlQueryPanelListener l)
        Adds the query panel listener.
        Parameters:
        l - the listener to add
      • removeQueryPanelListener

        public void removeQueryPanelListener​(SqlQueryPanelListener l)
        Removes the query panel listener.
        Parameters:
        l - the listener to remove
      • notifyQueryPanelListeners

        protected void notifyQueryPanelListeners​(SqlQueryPanelEvent e)
        Notifies all the query panel listeners with the given event.
        Parameters:
        e - the event