|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.xwiki.gwt.wysiwyg.client.PlainTextEditor
public class PlainTextEditor
Source editor.
| 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 |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
PlainTextEditor(Element hook)
Creates a new plain text editor that wraps the given text area element. |
|
| Method Summary | |
|---|---|
com.google.gwt.user.client.ui.TextArea |
getTextArea()
|
boolean |
isLoading()
|
void |
onBlur(com.google.gwt.event.dom.client.BlurEvent event)
|
void |
onWindowClosing(com.google.gwt.user.client.Window.ClosingEvent event)
|
void |
setFocus(boolean focused)
Set focus on the editor. |
void |
setLoading(boolean loading)
Puts the editor in loading state. |
void |
submit()
Stores the value of the plain text area in the hook's value property. |
| 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, onLoad, 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 |
| Constructor Detail |
|---|
public PlainTextEditor(Element hook)
hook - the element replaced by the newly created plain text editor| Method Detail |
|---|
public com.google.gwt.user.client.ui.TextArea getTextArea()
public void setFocus(boolean focused)
focused - true to set the focus on the editor, false blur the editorpublic void setLoading(boolean loading)
loading - true to enter the loading state, false to leave the loading statepublic boolean isLoading()
true if this plain text editor is currently in loading state, false otherwisepublic void onBlur(com.google.gwt.event.dom.client.BlurEvent event)
onBlur in interface com.google.gwt.event.dom.client.BlurHandlerBlurHandler.onBlur(BlurEvent)public void onWindowClosing(com.google.gwt.user.client.Window.ClosingEvent event)
onWindowClosing in interface com.google.gwt.user.client.Window.ClosingHandlerClosingHandler#onWindowClosing(ClosingEvent)public void submit()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||