mozdev.org

Mozile (xhtml editing in your browser)    

resources:
Overview

core.xml

Summary

XBL definitions for Mozile editor widgets.

Version: 0.7

Author: James A. Overton


<?xml version="1.0" encoding="UTF-8"?>

<!--
/* ***** BEGIN LICENSE BLOCK *****
 * Licensed under Version: MPL 1.1/GPL 2.0/LGPL 2.1
 * Full Terms at http://mozile.mozdev.org/license2.html
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is James A. Overton's code (james@overton.ca).
 *
 * The Initial Developer of the Original Code is James A. Overton.
 * Portions created by the Initial Developer are Copyright (C) 2005-2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *	James A. Overton <james@overton.ca>
 *
 * ***** END LICENSE BLOCK ***** */

/** 
 * @fileoverview XBL definitions for Mozile editor widgets.
 * @link http://mozile.mozdev.org 
 * @author James A. Overton <james@overton.ca>
 * @version 0.7
 */
-->

<bindings id="document"
	xmlns="http://www.mozilla.org/xbl"
	xmlns:xbl="http://www.mozilla.org/xbl"
 	xmlns:html="http://www.w3.org/1999/xhtml"
	xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

	<binding id="editor">
		<content>
			<children/>
		</content>
		<implementation>
			<constructor>
				// set the tabindex attribute to 12345, which should be unique
				this.setAttribute('tabindex',12345);
				// add this editor to the editor list
				mozile.addEditor(this);
			</constructor>
		</implementation>
		<handlers>
			<handler event="focus">
				mozileHandleEvent(event);
			</handler>
			<handler event="blur">
				mozileHandleEvent(event);
			</handler>
			<handler event="keydown">
				mozileHandleEvent(event);
			</handler>
			<handler event="keypress">
				mozileHandleEvent(event);
			</handler>
			<handler event="keyup">
				mozileHandleEvent(event);
			</handler>
			<handler event="mousedown">
				mozileHandleEvent(event);
			</handler>
			<handler event="click">
				mozileHandleEvent(event);
			</handler>
			<handler event="mouseup">
				mozileHandleEvent(event);
			</handler>
			<handler event="dblclick">
				mozileHandleEvent(event);
			</handler>
			<handler event="select">
				mozileHandleEvent(event);
			</handler>
    </handlers>
	</binding>
</bindings>


Documentation generated by JSDoc on Wed Nov 1 15:11:15 2006

The mozile project can be contacted through the mailing list or the member list.
Copyright © 2000-2019. All rights reserved. Terms of Use & Privacy Policy.