org.browsecode.helpers.display
Class Display

java.lang.Object
  extended by org.browsecode.helpers.display.Display

public class Display
extends java.lang.Object

Display Display is a simple debugging utility/property editor which allows you to edit Java objects in a generic way. A simple tree widget shows up


Field Summary
static boolean defaultPruneObjectFunctions
           
static boolean defaultShowAllFunctions
           
static boolean defaultShowOnlyUsefulFunctions
           
static boolean defaultStopThreadUntilClosed
           
protected static java.util.Hashtable visibleObjects
          This hashtable maps objects to ObjectViewers they are shown in.
 
Constructor Summary
Display()
           
 
Method Summary
static void display(java.lang.Object object)
           
static void display(java.lang.Object object, boolean showAllFunctions)
           
static void display(java.lang.Object object, boolean showAllFunctions, boolean pruneObjectFunctions, boolean stopThreadUntilClosed, boolean showOnlyUsefulFunctions)
           
static void display(java.lang.Object object, java.lang.String title)
           
static void display(java.lang.Object object, java.lang.String title, boolean showAllFunctions)
           
static void display(java.lang.Object object, java.lang.String title, boolean showAllFunctions, boolean pruneObjectFunctions, boolean stopThreadUntilClosed)
           
static void display(java.lang.Object object, java.lang.String title, boolean showAllFunctions, boolean pruneObjectFunctions, boolean stopThreadUntilClosed, boolean showOnlyUsefulFunctions)
           
static void display(java.lang.Object object, java.lang.String title, boolean showAllFunctions, boolean pruneObjectFunctions, boolean stopThreadUntilClosed, boolean showOnlyUsefulFunctions, java.lang.String helpFileURL)
           
static void displayAndStopUntilClosed(java.lang.Object object)
          Displays the object and stops the current thread until the window is closed.
static ObjectViewer getDisplay(java.lang.Object object)
           
static ObjectViewer getDisplay(java.lang.Object object, boolean showAllFunctions)
           
static ObjectViewer getDisplay(java.lang.Object object, boolean showAllFunctions, boolean pruneObjectFunctions)
           
static ObjectViewer getDisplay(java.lang.Object object, boolean showAllFunctions, boolean pruneObjectFunctions, boolean showOnlyUsefulFunctions)
           
static ObjectViewer getDisplay(java.lang.Object object, boolean showAllFunctions, boolean pruneObjectFunctions, boolean showOnlyUsefulFunctions, java.lang.String helpFileURL)
           
static ObjectViewer getDisplayIfItAlreadyExists(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

visibleObjects

protected static java.util.Hashtable visibleObjects
This hashtable maps objects to ObjectViewers they are shown in.


defaultShowAllFunctions

public static boolean defaultShowAllFunctions

defaultPruneObjectFunctions

public static boolean defaultPruneObjectFunctions

defaultStopThreadUntilClosed

public static boolean defaultStopThreadUntilClosed

defaultShowOnlyUsefulFunctions

public static boolean defaultShowOnlyUsefulFunctions
Constructor Detail

Display

public Display()
Method Detail

display

public static void display(java.lang.Object object)

displayAndStopUntilClosed

public static void displayAndStopUntilClosed(java.lang.Object object)
Displays the object and stops the current thread until the window is closed.


display

public static void display(java.lang.Object object,
                           java.lang.String title)

display

public static void display(java.lang.Object object,
                           boolean showAllFunctions)

display

public static void display(java.lang.Object object,
                           boolean showAllFunctions,
                           boolean pruneObjectFunctions,
                           boolean stopThreadUntilClosed,
                           boolean showOnlyUsefulFunctions)

display

public static void display(java.lang.Object object,
                           java.lang.String title,
                           boolean showAllFunctions)

display

public static void display(java.lang.Object object,
                           java.lang.String title,
                           boolean showAllFunctions,
                           boolean pruneObjectFunctions,
                           boolean stopThreadUntilClosed)

display

public static void display(java.lang.Object object,
                           java.lang.String title,
                           boolean showAllFunctions,
                           boolean pruneObjectFunctions,
                           boolean stopThreadUntilClosed,
                           boolean showOnlyUsefulFunctions)

display

public static void display(java.lang.Object object,
                           java.lang.String title,
                           boolean showAllFunctions,
                           boolean pruneObjectFunctions,
                           boolean stopThreadUntilClosed,
                           boolean showOnlyUsefulFunctions,
                           java.lang.String helpFileURL)

getDisplay

public static ObjectViewer getDisplay(java.lang.Object object)

getDisplay

public static ObjectViewer getDisplay(java.lang.Object object,
                                      boolean showAllFunctions)

getDisplay

public static ObjectViewer getDisplay(java.lang.Object object,
                                      boolean showAllFunctions,
                                      boolean pruneObjectFunctions)

getDisplay

public static ObjectViewer getDisplay(java.lang.Object object,
                                      boolean showAllFunctions,
                                      boolean pruneObjectFunctions,
                                      boolean showOnlyUsefulFunctions)

getDisplay

public static ObjectViewer getDisplay(java.lang.Object object,
                                      boolean showAllFunctions,
                                      boolean pruneObjectFunctions,
                                      boolean showOnlyUsefulFunctions,
                                      java.lang.String helpFileURL)

getDisplayIfItAlreadyExists

public static ObjectViewer getDisplayIfItAlreadyExists(java.lang.Object object)