Class QueryHistoryAndNameToolbar

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants

public class QueryHistoryAndNameToolbar extends JToolBar
Utility panel for controlling query history for a QueryScript. This component is intended to be placed alongside a ScriptPanel instance.
See Also:
  • Constructor Details

  • Method Details

    • getCurrentIndex

      public int getCurrentIndex()
    • getQueryHistoryManager

      public QueryHistoryManager getQueryHistoryManager()
    • getScriptPanel

      public ScriptPanel getScriptPanel()
    • getStockQueries

      public QueryHistoryManager getStockQueries()
    • getQueryNameBox

      public JComboBox<String> getQueryNameBox()
    • currentQuery

      public ParamSetType currentQuery()
    • setupSaveMenu

      public void setupSaveMenu(MenuBuilder builder)
    • onClear

      public void onClear()
    • onSave

      public void onSave()
    • gotoFirst

      public void gotoFirst()
    • gotoLast

      public void gotoLast()
    • goPrevious

      public void goPrevious()
    • goNext

      public void goNext()
    • gotoIndex

      public void gotoIndex(int index)
    • gotoHash

      public void gotoHash(String hash)
    • updateLabelFromCurrentHash

      public void updateLabelFromCurrentHash()
    • updateLabelFromHash

      public void updateLabelFromHash(String hash)
    • getQueryName

      public String getQueryName()
      Returns the name of the current query.
      Returns:
      query name or null if not set
    • loadFromParamSet

      public void loadFromParamSet(ParamSetType queryInfo)