com.vaadin.terminal.gwt.client.ui.richtextarea
Class RichTextAreaConnector

java.lang.Object
  extended by com.vaadin.terminal.gwt.client.ui.AbstractConnector
      extended by com.vaadin.terminal.gwt.client.ui.AbstractComponentConnector
          extended by com.vaadin.terminal.gwt.client.ui.AbstractFieldConnector
              extended by com.vaadin.terminal.gwt.client.ui.richtextarea.RichTextAreaConnector
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, StateChangeEvent.StateChangeHandler, ComponentConnector, Connector, Paintable, ServerConnector, ShortcutActionHandler.BeforeShortcutActionListener, Serializable

public class RichTextAreaConnector
extends AbstractFieldConnector
implements Paintable, ShortcutActionHandler.BeforeShortcutActionListener

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.vaadin.terminal.gwt.client.ui.AbstractComponentConnector
styleNames
 
Constructor Summary
RichTextAreaConnector()
           
 
Method Summary
 VRichTextArea getWidget()
          Returns the widget associated with this paintable.
 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 updateFromUIDL(UIDL uidl, ApplicationConnection client)
           
 
Methods inherited from class com.vaadin.terminal.gwt.client.ui.AbstractFieldConnector
getState, isModified, isReadOnly, isRequired, updateWidgetStyleNames
 
Methods inherited from class com.vaadin.terminal.gwt.client.ui.AbstractComponentConnector
createWidget, delegateCaptionHandling, getLayoutManager, getTooltipInfo, hasEventListener, init, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onStateChanged, onUnregister, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, updateEnabledState
 
Methods inherited from class com.vaadin.terminal.gwt.client.ui.AbstractConnector
addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, getChildren, getConnection, getConnectorId, getParent, getRpcImplementations, isEnabled, registerRpc, setChildren, setParent, unregisterRpc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.vaadin.terminal.gwt.client.ComponentConnector
delegateCaptionHandling, getLayoutManager, getState, getTooltipInfo, hasEventListener, isReadOnly, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setWidgetEnabled
 
Methods inherited from interface com.vaadin.terminal.gwt.client.ServerConnector
addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, isEnabled, onUnregister, setChildren, setParent, updateEnabledState
 
Methods inherited from interface com.vaadin.terminal.gwt.client.Connector
getConnectorId
 

Constructor Detail

RichTextAreaConnector

public RichTextAreaConnector()
Method Detail

updateFromUIDL

public void updateFromUIDL(UIDL uidl,
                           ApplicationConnection client)
Specified by:
updateFromUIDL in interface Paintable

onBeforeShortcutAction

public void onBeforeShortcutAction(com.google.gwt.user.client.Event e)
Description copied from interface: ShortcutActionHandler.BeforeShortcutActionListener
This method is called by ShortcutActionHandler before firing the shortcut if the Paintable is currently focused (aka the target of the shortcut action). Eg. a field can update its possibly changed value to the server before shortcut action is fired.

Specified by:
onBeforeShortcutAction in interface ShortcutActionHandler.BeforeShortcutActionListener
Parameters:
e - the event that triggered the shortcut action

getWidget

public VRichTextArea getWidget()
Description copied from class: AbstractComponentConnector
Returns the widget associated with this paintable. The widget returned by this method must not changed during the life time of the paintable.

Specified by:
getWidget in interface ComponentConnector
Overrides:
getWidget in class AbstractComponentConnector
Returns:
The widget associated with this paintable


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.