|
||||||||||
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
com.vaadin.terminal.gwt.client.ui.richtextarea.VRichTextArea
public class VRichTextArea
This class implements a basic client side rich text editor component.
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 | |
---|---|
static String |
CLASSNAME
The input node CSS classname. |
protected ApplicationConnection |
client
|
protected String |
id
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
VRichTextArea()
|
Method Summary | |
---|---|
int |
getTabIndex()
|
void |
onBeforeShortcutAction(com.google.gwt.user.client.Event e)
This method is called by ShortcutActionHandler before firing the shortcut if the Paintable is currently focused (aka the target of the shortcut action). |
void |
onBlur(com.google.gwt.event.dom.client.BlurEvent event)
|
void |
onChange(com.google.gwt.event.dom.client.ChangeEvent event)
|
void |
onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
|
void |
onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event)
|
void |
setAccessKey(char key)
|
void |
setEnabled(boolean enabled)
|
void |
setFocus(boolean focused)
|
void |
setHeight(String height)
|
void |
setTabIndex(int index)
|
void |
setWidth(String width)
|
void |
synchronizeContentToServer()
Method is public to let popupview force synchronization on close. |
void |
updateFromUIDL(UIDL uidl,
ApplicationConnection client)
|
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 |
---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, 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, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String CLASSNAME
protected String id
protected ApplicationConnection client
Constructor Detail |
---|
public VRichTextArea()
Method Detail |
---|
public void setEnabled(boolean enabled)
public void updateFromUIDL(UIDL uidl, ApplicationConnection client)
updateFromUIDL
in interface Paintable
public void onChange(com.google.gwt.event.dom.client.ChangeEvent event)
onChange
in interface com.google.gwt.event.dom.client.ChangeHandler
public void synchronizeContentToServer()
public void onBlur(com.google.gwt.event.dom.client.BlurEvent event)
onBlur
in interface com.google.gwt.event.dom.client.BlurHandler
public void setHeight(String height)
setHeight
in class com.google.gwt.user.client.ui.UIObject
public void setWidth(String width)
setWidth
in class com.google.gwt.user.client.ui.UIObject
public void onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event)
onKeyPress
in interface com.google.gwt.event.dom.client.KeyPressHandler
public void onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
onKeyDown
in interface com.google.gwt.event.dom.client.KeyDownHandler
public void onBeforeShortcutAction(com.google.gwt.user.client.Event e)
ShortcutActionHandler.BeforeShortcutActionListener
onBeforeShortcutAction
in interface ShortcutActionHandler.BeforeShortcutActionListener
e
- the event that triggered the shortcut actionpublic int getTabIndex()
getTabIndex
in interface com.google.gwt.user.client.ui.Focusable
public void setAccessKey(char key)
setAccessKey
in interface com.google.gwt.user.client.ui.Focusable
public void setFocus(boolean focused)
setFocus
in interface com.google.gwt.user.client.ui.Focusable
public void setTabIndex(int index)
setTabIndex
in interface com.google.gwt.user.client.ui.Focusable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |