|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.gwtbootstrap.client.ui.resources.prettify.PrettifyHelper
public class PrettifyHelper
A helper class to inject and configure Google Code Prettify in our code components.
| Constructor Summary | |
|---|---|
PrettifyHelper(Widget w)
|
|
| Method Summary | |
|---|---|
void |
configure()
Configures prettyprint without line numbers. |
void |
configure(boolean showLineNumber)
Configures prettyprint with optional line numbers. |
void |
setLang(String lang)
will import the language if needed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrettifyHelper(Widget w)
| Method Detail |
|---|
public void setLang(String lang)
setLang in interface HasProgrammingLanguagelang - the programming languagepublic void configure()
public void configure(boolean showLineNumber)
showLineNumber - true if line numbers should be shown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||