net.sourceforge.squirrel_sql.plugins.syntax.netbeans
Class SquirrelNBDialogFactory

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by net.sourceforge.squirrel_sql.plugins.syntax.netbeans.SquirrelNBDialogFactory
All Implemented Interfaces:
ActionListener, WindowFocusListener, WindowListener, WindowStateListener, EventListener, org.netbeans.editor.DialogSupport.DialogFactory

public class SquirrelNBDialogFactory
extends WindowAdapter
implements org.netbeans.editor.DialogSupport.DialogFactory, ActionListener

Essentially a copy of DialogSupport.DefaultDialogFactory


Constructor Summary
SquirrelNBDialogFactory(SyntaxPlugin plugin)
           
 
Method Summary
 void actionPerformed(ActionEvent evt)
           
 Dialog createDialog(String title, JPanel panel, boolean modal, JButton[] buttons, boolean sidebuttons, int defaultIndex, int cancelIndex, ActionListener listener)
           
 void windowClosing(WindowEvent evt)
           
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SquirrelNBDialogFactory

public SquirrelNBDialogFactory(SyntaxPlugin plugin)
Method Detail

createDialog

public Dialog createDialog(String title,
                           JPanel panel,
                           boolean modal,
                           JButton[] buttons,
                           boolean sidebuttons,
                           int defaultIndex,
                           int cancelIndex,
                           ActionListener listener)
Specified by:
createDialog in interface org.netbeans.editor.DialogSupport.DialogFactory

actionPerformed

public void actionPerformed(ActionEvent evt)
Specified by:
actionPerformed in interface ActionListener

windowClosing

public void windowClosing(WindowEvent evt)
Specified by:
windowClosing in interface WindowListener
Overrides:
windowClosing in class WindowAdapter


Copyright © 2001-2011. All Rights Reserved.