Description
richtexttoolbar
A class that acts as the parent controller for the individual format tools
[gregor 11.15.05]
Details
Properties (1)
-
editor
-
<attribute name="editor" value="null" />
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()
-
Reset the state of the richtexttoolbar's tools.
LZX Synopsis
<class name="
richtexttoolbar" extends="
LzView
">
<attribute name="
editor
" value="
null" />
<method name="
reset
" />
</class>
JavaScript Synopsis
public
richtexttoolbar extends
LzView
{
prototype public function
matchformat
(
spec : textformat);
prototype public function
reset
();
}