| java.lang.Object org.netbeans.modules.visualweb.extension.openide.util.TraceBase org.netbeans.modules.visualweb.extension.openide.util.Trace org.netbeans.modules.visualweb.extension.openide.util.TraceUI
TraceUI | public class TraceUI extends Trace (Code) | | Extends Trace class to add paint debugging fuctionality. This is a separate
class so that a headless module that does not import AWT can use the Trace
functionality without linking in AWT.
author: Joe Nuxoll |
Method Summary | |
public static void | debugRect(Graphics g, int x, int y, int width, int height) Paints a rectangle within the specified bounds - with hashmarks. |
debugRect | public static void debugRect(Graphics g, int x, int y, int width, int height)(Code) | | Paints a rectangle within the specified bounds - with hashmarks. As subsequent
(often quickly repetitive) calls are made to this method, the hash direction
alternates from top-right/bottom-left to top-left/bottom-right and cycles colors
and hashmark spacing so that it is easy to distinguish between the different calls,
Parameters: g - Graphics object to paint into Parameters: x - Rectangle.X Parameters: y - Rectangle.y Parameters: width - Rectangle.width Parameters: height - Rectangle.height |
Methods inherited from org.netbeans.modules.visualweb.extension.openide.util.Trace | public static void disableTraceCategory(String category)(Code)(Java Doc) public static void disableTraceCategory(Class category)(Code)(Java Doc) public static void enableTraceCategory(String category)(Code)(Java Doc) public static void enableTraceCategory(Class category)(Code)(Java Doc) public static boolean flush()(Code)(Java Doc) public static boolean isOutputEnabled()(Code)(Java Doc) public static boolean printStackTrace()(Code)(Java Doc) public static boolean printStackTrace(Throwable t)(Code)(Java Doc) public static void setOutputEnabled(boolean enabled)(Code)(Java Doc) public static void setOutputStream(PrintStream log)(Code)(Java Doc) public static boolean trace(String category, String message)(Code)(Java Doc) public static boolean trace(Class category, String message)(Code)(Java Doc) public static boolean trace(String category, Throwable t)(Code)(Java Doc) public static boolean trace(Class category, Throwable t)(Code)(Java Doc) public static boolean warnTrace(String category, boolean condition, String message)(Code)(Java Doc) public static boolean warnTrace(Class category, boolean condition, String message)(Code)(Java Doc) public static boolean warnTrace(String category, String message)(Code)(Java Doc) public static boolean warnTrace(Class category, String message)(Code)(Java Doc)
|
Fields inherited from org.netbeans.modules.visualweb.extension.openide.util.TraceBase | final public static boolean OFF(Code)(Java Doc) final public static boolean ON(Code)(Java Doc)
|
|
|