Package pyjamas :: Package ui :: Module RichTextArea
[hide private]
[frames] | no frames]

Module RichTextArea

source code

* Copyright 2007 Google Inc. # Copyright (C) 2009 Luke Kenneth Casson Leighton <lkcl@lkcl.net> * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http:#www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License.

Classes [hide private]
  FontSize
  Justification
  RichTextArea
* * Creates a new, blank {@link RichTextArea} object with no stylesheet.
Variables [hide private]
  XX_SMALL = FontSize(1)
* * Represents an X-Small font.
  X_SMALL = FontSize(2)
* * Represents a Small font.
  SMALL = FontSize(3)
* * Represents a Medium font.
  MEDIUM = FontSize(4)
* * Represents a Large font.
  LARGE = FontSize(5)
* * Represents an X-Large font.
  X_LARGE = FontSize(6)
* * Represents an XX-Large font.
  XX_LARGE = FontSize(7)
* * Justification enumeration.
  CENTER = Justification("Center")
* * Left justification.
  LEFT = Justification("Left")
* * Right justification.
  RIGHT = Justification("Right")
* * A rich text editor that allows complex styling and formatting.
Variables Details [hide private]

XX_LARGE

* * Justification enumeration. The three values are <code>left</code>, * <code>right</code>, <code>center</code>.

Value:
FontSize(7)

RIGHT

* * A rich text editor that allows complex styling and formatting. * * Because some browsers do not support rich text editing, and others support * only a limited subset of functionality, there are two formatter interfaces, * accessed via {@link #getBasicFormatter()} and {@link #getExtendedFormatter()}. * A browser that does not support rich text editing at all will return * <code>None</code> for both of these, while one that supports only the basic * functionality will return <code>None</code> for the latter. * * <p> * <img class='gallery' src='RichTextArea.png'/> * </p> * * <h3>CSS Style Rules</h3> * <ul class="css"> * <li>.gwt-RichTextArea { }</li> * </ul>

Value:
Justification("Right")