Name

richtexttoolbar

Synopsis

LZX: richtexttoolbar
JavaScript: richtexttoolbar
Type: Class
Access: public
Topic: Incubator.Rich Text Editor
Declared in: lps/components/incubator/rich-text/richtexttoolbar-class.lzx

Description

richtexttoolbar A class that acts as the parent controller for the individual format tools [gregor 11.15.05]

Superclass Chain

node (LzNode) » view (LzView) » richtexttoolbar

Known Subclasses

Details

Properties (1)

editor
<attribute name="editor" value="null" />
public var editor;
The reference to the richtexteditor associated with this toolbar.

Methods (4)

matcheditorformat()
<method name="matcheditorformat" />
public function matcheditorformat();
Update the GUI to match the format specified in the editor's currentformat
matchformat()
<method name="matchformat" args="spec" />
public function matchformat(spec : textformat);
Update the GUI to match the format passed in
registerTool()
<method name="registerTool" args="myref, myfmt" />
public function registerTool(myref, myfmt);
add tool into the richtexttoolbar's tools array .
reset()
<method name="reset" />
public function reset();
Reset the state of the richtexttoolbar's tools.

LZX Synopsis

<class name="richtexttoolbar" extends=" LzView ">
  <attribute name=" editor " value="null" />
  <method name=" matcheditorformat " />
  <method name=" matchformat " args="spec" />
  <method name=" registerTool " args="myref, myfmt" />
  <method name=" reset " />
</class>

JavaScript Synopsis

public richtexttoolbar extends  LzView  {
  public var editor ;
  prototype public function matcheditorformat ();
  prototype public function matchformat (spec : textformat);
  prototype public function registerTool (myref, myfmt);
  prototype public function reset ();
}