|
||||||||||
| 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.xpn.xwiki.wysiwyg.client.ui.XRichTextArea
public class XRichTextArea
| 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 | |
|---|---|
protected com.google.gwt.user.client.ui.ChangeListenerCollection |
changeListeners
|
protected com.google.gwt.user.client.ui.ClickListenerCollection |
clickListeners
|
protected CommandManager |
cm
|
protected com.google.gwt.user.client.ui.FocusListenerCollection |
focusListeners
|
protected History |
history
|
protected com.google.gwt.user.client.ui.KeyboardListenerCollection |
keyboardListeners
|
protected com.google.gwt.user.client.ui.MouseListenerCollection |
mouseListeners
|
protected WrappedRichTextArea |
rta
|
protected com.google.gwt.user.client.ui.Hidden |
value
|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Fields inherited from interface com.google.gwt.user.client.ui.KeyboardListener |
|---|
KEY_ALT, KEY_BACKSPACE, KEY_CTRL, KEY_DELETE, KEY_DOWN, KEY_END, KEY_ENTER, KEY_ESCAPE, KEY_HOME, KEY_LEFT, KEY_PAGEDOWN, KEY_PAGEUP, KEY_RIGHT, KEY_SHIFT, KEY_TAB, KEY_UP, MODIFIER_ALT, MODIFIER_CTRL, MODIFIER_META, MODIFIER_SHIFT |
| Constructor Summary | |
|---|---|
XRichTextArea()
|
|
XRichTextArea(CommandManager cm)
Custom constructor allowing us to inject a mock command manager. |
|
| Method Summary | |
|---|---|
void |
addChangeListener(com.google.gwt.user.client.ui.ChangeListener listener)
|
void |
addClickListener(com.google.gwt.user.client.ui.ClickListener listener)
|
void |
addFocusListener(com.google.gwt.user.client.ui.FocusListener listener)
|
void |
addKeyboardListener(com.google.gwt.user.client.ui.KeyboardListener listener)
|
void |
addMouseListener(com.google.gwt.user.client.ui.MouseListener listener)
|
void |
addShortcutKey(XShortcutKey shortcutKey)
|
com.google.gwt.user.client.ui.RichTextArea.BasicFormatter |
getBasicFormatter()
|
CommandManager |
getCommandManager()
|
com.google.gwt.user.client.ui.RichTextArea.ExtendedFormatter |
getExtendedFormatter()
|
java.lang.String |
getHTML()
|
com.google.gwt.dom.client.IFrameElement |
getIFrameElement()
|
java.lang.String |
getName()
|
java.lang.String |
getStyleSheetURL()
|
int |
getTabIndex()
|
java.lang.String |
getText()
|
boolean |
isEnabled()
|
void |
onClick(com.google.gwt.user.client.ui.Widget sender)
|
void |
onFocus(com.google.gwt.user.client.ui.Widget sender)
|
void |
onKeyDown(com.google.gwt.user.client.ui.Widget sender,
char keyCode,
int modifiers)
|
void |
onKeyPress(com.google.gwt.user.client.ui.Widget sender,
char keyCode,
int modifiers)
|
void |
onKeyUp(com.google.gwt.user.client.ui.Widget sender,
char keyCode,
int modifiers)
|
void |
onLostFocus(com.google.gwt.user.client.ui.Widget sender)
|
void |
onMouseDown(com.google.gwt.user.client.ui.Widget sender,
int x,
int y)
|
void |
onMouseEnter(com.google.gwt.user.client.ui.Widget sender)
|
void |
onMouseLeave(com.google.gwt.user.client.ui.Widget sender)
|
void |
onMouseMove(com.google.gwt.user.client.ui.Widget sender,
int x,
int y)
|
void |
onMouseUp(com.google.gwt.user.client.ui.Widget sender,
int x,
int y)
|
void |
removeChangeListener(com.google.gwt.user.client.ui.ChangeListener listener)
|
void |
removeClickListener(com.google.gwt.user.client.ui.ClickListener listener)
|
void |
removeFocusListener(com.google.gwt.user.client.ui.FocusListener listener)
|
void |
removeKeyboardListener(com.google.gwt.user.client.ui.KeyboardListener listener)
|
void |
removeMouseListener(com.google.gwt.user.client.ui.MouseListener listener)
|
void |
removeShortcutKey(XShortcutKey shortcutKey)
|
void |
setAccessKey(char key)
|
void |
setEnabled(boolean enabled)
|
void |
setFocus(boolean focused)
|
void |
setHeight(java.lang.String height)
|
void |
setHTML(java.lang.String html)
|
void |
setName(java.lang.String name)
|
void |
setStyleSheetURL(java.lang.String styleSheetURL)
|
void |
setTabIndex(int index)
|
void |
setText(java.lang.String text)
|
void |
setWidth(java.lang.String width)
|
| 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 |
|---|
doAttachChildren, doDetachChildren, getParent, onLoad, onUnload, removeFromParent |
| 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, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkEvents, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final WrappedRichTextArea rta
protected final com.google.gwt.user.client.ui.Hidden value
protected CommandManager cm
protected History history
protected final com.google.gwt.user.client.ui.ClickListenerCollection clickListeners
protected final com.google.gwt.user.client.ui.FocusListenerCollection focusListeners
protected final com.google.gwt.user.client.ui.KeyboardListenerCollection keyboardListeners
protected final com.google.gwt.user.client.ui.MouseListenerCollection mouseListeners
protected final com.google.gwt.user.client.ui.ChangeListenerCollection changeListeners
| Constructor Detail |
|---|
public XRichTextArea()
public XRichTextArea(CommandManager cm)
cm - Custom command manager| Method Detail |
|---|
public java.lang.String getHTML()
getHTML in interface com.google.gwt.user.client.ui.HasHTMLRichTextArea.getHTML()public void setHTML(java.lang.String html)
setHTML in interface com.google.gwt.user.client.ui.HasHTMLRichTextArea.setHTML(String)public java.lang.String getText()
getText in interface com.google.gwt.user.client.ui.HasTextRichTextArea.getText()public void setText(java.lang.String text)
setText in interface com.google.gwt.user.client.ui.HasTextRichTextArea.setText(String)public void addMouseListener(com.google.gwt.user.client.ui.MouseListener listener)
addMouseListener in interface com.google.gwt.user.client.ui.SourcesMouseEventsRichTextArea.addMouseListener(MouseListener)public void removeMouseListener(com.google.gwt.user.client.ui.MouseListener listener)
removeMouseListener in interface com.google.gwt.user.client.ui.SourcesMouseEventsRichTextArea.removeMouseListener(MouseListener)public void addClickListener(com.google.gwt.user.client.ui.ClickListener listener)
addClickListener in interface com.google.gwt.user.client.ui.SourcesClickEventsFocusWidget.addClickListener(ClickListener)public void removeClickListener(com.google.gwt.user.client.ui.ClickListener listener)
removeClickListener in interface com.google.gwt.user.client.ui.SourcesClickEventsFocusWidget.removeClickListener(ClickListener)public void addFocusListener(com.google.gwt.user.client.ui.FocusListener listener)
addFocusListener in interface com.google.gwt.user.client.ui.SourcesFocusEventsFocusWidget.addFocusListener(FocusListener)public void removeFocusListener(com.google.gwt.user.client.ui.FocusListener listener)
removeFocusListener in interface com.google.gwt.user.client.ui.SourcesFocusEventsFocusWidget.removeFocusListener(FocusListener)public int getTabIndex()
getTabIndex in interface com.google.gwt.user.client.ui.HasFocusFocusWidget.getTabIndex()public void setAccessKey(char key)
setAccessKey in interface com.google.gwt.user.client.ui.HasFocusFocusWidget.setAccessKey(char)public void setFocus(boolean focused)
setFocus in interface com.google.gwt.user.client.ui.HasFocusRichTextArea.setFocus(boolean)public void setTabIndex(int index)
setTabIndex in interface com.google.gwt.user.client.ui.HasFocusFocusWidget.setTabIndex(int)public void addKeyboardListener(com.google.gwt.user.client.ui.KeyboardListener listener)
addKeyboardListener in interface com.google.gwt.user.client.ui.SourcesKeyboardEventsFocusWidget.addKeyboardListener(KeyboardListener)public void removeKeyboardListener(com.google.gwt.user.client.ui.KeyboardListener listener)
removeKeyboardListener in interface com.google.gwt.user.client.ui.SourcesKeyboardEventsFocusWidget.removeKeyboardListener(KeyboardListener)public boolean isEnabled()
FocusWidget.isEnabled()public void setEnabled(boolean enabled)
FocusWidget.setEnabled(boolean)public com.google.gwt.user.client.ui.RichTextArea.BasicFormatter getBasicFormatter()
RichTextArea.getBasicFormatter()public com.google.gwt.user.client.ui.RichTextArea.ExtendedFormatter getExtendedFormatter()
RichTextArea.getExtendedFormatter()public CommandManager getCommandManager()
CommandManager associated with this instance.public void addShortcutKey(XShortcutKey shortcutKey)
WrappedRichTextArea.addShortcutKey(XShortcutKey)public void removeShortcutKey(XShortcutKey shortcutKey)
WrappedRichTextArea.removeShortcutKey(XShortcutKey)public void onClick(com.google.gwt.user.client.ui.Widget sender)
onClick in interface com.google.gwt.user.client.ui.ClickListenerClickListener.onClick(Widget)public void onFocus(com.google.gwt.user.client.ui.Widget sender)
onFocus in interface com.google.gwt.user.client.ui.FocusListenerFocusListener.onFocus(Widget)public void onLostFocus(com.google.gwt.user.client.ui.Widget sender)
onLostFocus in interface com.google.gwt.user.client.ui.FocusListenerFocusListener.onLostFocus(Widget)
public void onKeyDown(com.google.gwt.user.client.ui.Widget sender,
char keyCode,
int modifiers)
onKeyDown in interface com.google.gwt.user.client.ui.KeyboardListenerKeyboardListener.onKeyDown(Widget, char, int)
public void onKeyPress(com.google.gwt.user.client.ui.Widget sender,
char keyCode,
int modifiers)
onKeyPress in interface com.google.gwt.user.client.ui.KeyboardListenerKeyboardListener.onKeyPress(Widget, char, int)
public void onKeyUp(com.google.gwt.user.client.ui.Widget sender,
char keyCode,
int modifiers)
onKeyUp in interface com.google.gwt.user.client.ui.KeyboardListenerKeyboardListener.onKeyUp(Widget, char, int)
public void onMouseDown(com.google.gwt.user.client.ui.Widget sender,
int x,
int y)
onMouseDown in interface com.google.gwt.user.client.ui.MouseListenerMouseListener.onMouseDown(Widget, int, int)public void onMouseEnter(com.google.gwt.user.client.ui.Widget sender)
onMouseEnter in interface com.google.gwt.user.client.ui.MouseListenerMouseListener.onMouseEnter(Widget)public void onMouseLeave(com.google.gwt.user.client.ui.Widget sender)
onMouseLeave in interface com.google.gwt.user.client.ui.MouseListenerMouseListener.onMouseLeave(Widget)
public void onMouseMove(com.google.gwt.user.client.ui.Widget sender,
int x,
int y)
onMouseMove in interface com.google.gwt.user.client.ui.MouseListenerMouseListener.onMouseMove(Widget, int, int)
public void onMouseUp(com.google.gwt.user.client.ui.Widget sender,
int x,
int y)
onMouseUp in interface com.google.gwt.user.client.ui.MouseListenerMouseListener.onMouseUp(Widget, int, int)public java.lang.String getName()
getName in interface com.google.gwt.user.client.ui.HasNameHasName.getName()public void setName(java.lang.String name)
setName in interface com.google.gwt.user.client.ui.HasNameHasName.setName(String)public void setWidth(java.lang.String width)
setWidth in class com.google.gwt.user.client.ui.UIObjectUIObject.setWidth(String)public void setHeight(java.lang.String height)
setHeight in class com.google.gwt.user.client.ui.UIObjectUIObject.setHeight(String)public void addChangeListener(com.google.gwt.user.client.ui.ChangeListener listener)
addChangeListener in interface com.google.gwt.user.client.ui.SourcesChangeEventsSourcesChangeEvents.addChangeListener(ChangeListener)public void removeChangeListener(com.google.gwt.user.client.ui.ChangeListener listener)
removeChangeListener in interface com.google.gwt.user.client.ui.SourcesChangeEventsSourcesChangeEvents.removeChangeListener(ChangeListener)public com.google.gwt.dom.client.IFrameElement getIFrameElement()
public java.lang.String getStyleSheetURL()
public void setStyleSheetURL(java.lang.String styleSheetURL)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||