|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xpn.xwiki.wysiwyg.client.util.Console
public class Console
| Constructor Summary | |
|---|---|
Console()
|
|
| Method Summary | |
|---|---|
void |
count(java.lang.String title)
Writes the number of times that the line of code where count was called was executed. |
static Console |
getInstance()
|
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 time(String) and writes the time elapsed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Console()
| Method Detail |
|---|
public static Console getInstance()
public void time(java.lang.String name)
timeEnd(String) with the same name to stop the timer and
print the time elapsed.
name - The name of the timer.public void timeEnd(java.lang.String name)
time(String) and writes the time elapsed.
name - The name of the timer.public void profile(java.lang.String title)
title - The text to be printed in the header of the profile report.public void profileEnd()
public void count(java.lang.String title)
title - The message printed in addition to the number of the count.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||