|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.UIObject com.google.gwt.user.client.ui.Widget com.google.gwt.user.client.ui.Composite com.google.caja.demos.playground.client.ui.PlaygroundEditor
public class PlaygroundEditor
Editor that is a thin wrapper around CodeMirror
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Field Summary | |
---|---|
private com.google.gwt.core.client.JavaScriptObject |
editor
|
private com.google.gwt.user.client.ui.TextArea |
feralTextArea
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
PlaygroundEditor()
|
Method Summary | |
---|---|
java.lang.String |
getText()
|
com.google.gwt.core.client.JavaScriptObject |
initialize(com.google.gwt.dom.client.Element el)
|
void |
onLoad()
|
void |
setCursorPos(int start)
|
void |
setSelectionRange(int s,
int sOffset,
int t,
int tOffset)
|
void |
setText(java.lang.String html)
|
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onUnload, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private com.google.gwt.core.client.JavaScriptObject editor
private com.google.gwt.user.client.ui.TextArea feralTextArea
Constructor Detail |
---|
public PlaygroundEditor()
Method Detail |
---|
public void onLoad()
onLoad
in class com.google.gwt.user.client.ui.Widget
public com.google.gwt.core.client.JavaScriptObject initialize(com.google.gwt.dom.client.Element el)
public java.lang.String getText()
public void setText(java.lang.String html)
public void setCursorPos(int start)
public void setSelectionRange(int s, int sOffset, int t, int tOffset)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |