程序包 weka.gui.sql

类 SqlViewerDialog

所有已实现的接口:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, ResultChangedListener

public class SqlViewerDialog extends JDialog implements ResultChangedListener
A little dialog containing the SqlViewer.
版本:
$Revision: 7899 $
作者:
FracPete (fracpete at waikato dot ac dot nz)
另请参阅:
  • 构造器详细资料

    • SqlViewerDialog

      public SqlViewerDialog(JFrame parent)
      initializes the dialog
  • 方法详细资料

    • setVisible

      public void setVisible(boolean b)
      displays the dialog if TRUE
      覆盖:
      setVisible 在类中 Dialog
    • getReturnValue

      public int getReturnValue()
      returns whether the user clicked OK (JOptionPane.OK_OPTION) or whether he cancelled the dialog (JOptionPane.CANCEL_OPTION)
      返回:
      the return value
      另请参阅:
    • getURL

      public String getURL()
      returns the chosen URL, if any
    • getUser

      public String getUser()
      returns the chosen user, if any
    • getPassword

      public String getPassword()
      returns the chosen password, if any
    • getQuery

      public String getQuery()
      returns the chosen query, if any
    • resultChanged

      public void resultChanged(ResultChangedEvent evt)
      This method gets called when a query has been executed.
      指定者:
      resultChanged 在接口中 ResultChangedListener
    • main

      public static void main(String[] args)
      for testing only