jodd.swing.spy
Class SwingSpy

java.lang.Object
  extended by jodd.swing.spy.SwingSpy

public class SwingSpy
extends java.lang.Object

SwingSpy.


Field Summary
protected  javax.swing.JDialog spyDialog
           
protected  SwingSpyGlassPane spyGlass
           
protected  SwingSpyPanel spyPanel
           
 
Constructor Summary
SwingSpy()
           
 
Method Summary
protected  javax.swing.JRootPane createSpyRootPane()
          Creates spy root pane for spy dialog.
protected  void initSpyDialog(java.awt.Component rootComponent, java.awt.Component component)
          Initializes Spy dialog.
static void install()
          Installs the SwingSpy globally if not already installed.
protected  void printUsageMessage()
          Print SwingSpy usage message.
 void showSpyDialog(java.awt.Component component)
          Shows spy dialog on selected component.
 void showSpyDialog(java.awt.Component rootComponent, java.awt.Component component)
          Shows spy dialog or reload existing one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

spyDialog

protected javax.swing.JDialog spyDialog

spyPanel

protected SwingSpyPanel spyPanel

spyGlass

protected SwingSpyGlassPane spyGlass
Constructor Detail

SwingSpy

public SwingSpy()
Method Detail

printUsageMessage

protected void printUsageMessage()
Print SwingSpy usage message.


install

public static void install()
Installs the SwingSpy globally if not already installed.


showSpyDialog

public void showSpyDialog(java.awt.Component component)
Shows spy dialog on selected component.


showSpyDialog

public void showSpyDialog(java.awt.Component rootComponent,
                          java.awt.Component component)
Shows spy dialog or reload existing one.

Parameters:
rootComponent - root component
component - current component

initSpyDialog

protected void initSpyDialog(java.awt.Component rootComponent,
                             java.awt.Component component)
Initializes Spy dialog.


createSpyRootPane

protected javax.swing.JRootPane createSpyRootPane()
Creates spy root pane for spy dialog.



Copyright ©2008 Jodd Team