com.xpn.xwiki.wysiwyg.client.util.internal
Class FirebugConsole

java.lang.Object
  extended by com.xpn.xwiki.wysiwyg.client.util.Console
      extended by com.xpn.xwiki.wysiwyg.client.util.internal.FirebugConsole

public class FirebugConsole
extends Console

See Also:
http://getfirebug.com/console.html

Constructor Summary
FirebugConsole()
           
 
Method Summary
 void count(java.lang.String title)
          Writes the number of times that the line of code where count was called was executed.
 void profile(java.lang.String title)
          Turns on the JavaScript profiler.
 void profileEnd()
          Turns off the JavaScript profiler and prints its report.
 void time(java.lang.String name)
          Creates a new timer under the given name.
 void timeEnd(java.lang.String name)
          Stops a timer created by a call to Console.time(String) and writes the time elapsed.
 
Methods inherited from class com.xpn.xwiki.wysiwyg.client.util.Console
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FirebugConsole

public FirebugConsole()
Method Detail

count

public void count(java.lang.String title)
Writes the number of times that the line of code where count was called was executed.

Overrides:
count in class Console
Parameters:
title - The message printed in addition to the number of the count.
See Also:
Console.count(String)

profile

public void profile(java.lang.String title)
Turns on the JavaScript profiler.

Overrides:
profile in class Console
Parameters:
title - The text to be printed in the header of the profile report.
See Also:
Console.profile(String)

profileEnd

public void profileEnd()
Turns off the JavaScript profiler and prints its report.

Overrides:
profileEnd in class Console
See Also:
Console.profileEnd()

time

public void time(java.lang.String name)
Creates a new timer under the given name. Call Console.timeEnd(String) with the same name to stop the timer and print the time elapsed.

Overrides:
time in class Console
Parameters:
name - The name of the timer.
See Also:
Console.time(String)

timeEnd

public void timeEnd(java.lang.String name)
Stops a timer created by a call to Console.time(String) and writes the time elapsed.

Overrides:
timeEnd in class Console
Parameters:
name - The name of the timer.
See Also:
Console.timeEnd(String)


Copyright © 2004-2008 XWiki. All Rights Reserved.