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.
        initialize in class BasePanel
      • initGUI

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

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

        protected void updateButtons()
        Updates the buttons.
      • setQuery

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

        public String getQuery()
        Returns the query.
        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.
        l - the listener to add
      • removeQueryPanelListener

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

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