Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Public Attributes
nsIHTMLObjectResizer Interface Reference

import "nsIHTMLObjectResizer.idl";

Inheritance diagram for nsIHTMLObjectResizer:
Inheritance graph
[legend]
Collaboration diagram for nsIHTMLObjectResizer:
Collaboration graph
[legend]

List of all members.

Public Types

typedef short EResizerLocation

Public Member Functions

void showResizers (in nsIDOMElement aResizedElement)
 Shows active resizers around an element's frame.
void hideResizers ()
 Hide resizers if they are visible.
void refreshResizers ()
 Refresh visible resizers.
void mouseDown (in long aX, in long aY, in nsIDOMElement aTarget)
 event callback when a mouse button is pressed
void mouseUp (in long aX, in long aY, in nsIDOMElement aTarget)
 event callback when a mouse button is released
void mouseMove (in nsIDOMEvent aMouseEvent)
 event callback when the mouse pointer is moved
void addObjectResizeEventListener (in nsIHTMLObjectResizeListener aListener)
 Creates a resize listener that can be used to get notifications that the user started to resize an object or finalized such an operation.
void removeObjectResizeEventListener (in nsIHTMLObjectResizeListener aListener)
 Deletes a resize listener.

Public Attributes

const short eTopLeft = 0
const short eTop = 1
const short eTopRight = 2
const short eLeft = 3
const short eRight = 4
const short eBottomLeft = 5
const short eBottom = 6
const short eBottomRight = 7
readonly attribute nsIDOMElement resizedObject
 the element currently displaying resizers
attribute boolean objectResizingEnabled
 a boolean indicating if object resizing is enabled in the editor

Detailed Description

Definition at line 46 of file nsIHTMLObjectResizer.idl.


Member Typedef Documentation

Definition at line 49 of file nsIHTMLObjectResizer.idl.


Member Function Documentation

Creates a resize listener that can be used to get notifications that the user started to resize an object or finalized such an operation.

Parameters:
aListener[IN] an instance of nsIHTMLObjectResizeListener

Hide resizers if they are visible.

event callback when a mouse button is pressed

Parameters:
aX[IN] horizontal position of the pointer
aY[IN] vertical position of the pointer
aTarget[IN] the element triggering the event

event callback when the mouse pointer is moved

Parameters:
aMouseEvent[IN] the event

event callback when a mouse button is released

Parameters:
aX[IN] horizontal position of the pointer
aY[IN] vertical position of the pointer
aTarget[IN] the element triggering the event

Refresh visible resizers.

Deletes a resize listener.

Parameters:
aListener[IN] an instance of nsIHTMLObjectResizeListener

Shows active resizers around an element's frame.

Parameters:
aResizedElement[IN] a DOM Element

Member Data Documentation

Definition at line 57 of file nsIHTMLObjectResizer.idl.

Definition at line 56 of file nsIHTMLObjectResizer.idl.

Definition at line 58 of file nsIHTMLObjectResizer.idl.

Definition at line 54 of file nsIHTMLObjectResizer.idl.

Definition at line 55 of file nsIHTMLObjectResizer.idl.

Definition at line 52 of file nsIHTMLObjectResizer.idl.

Definition at line 51 of file nsIHTMLObjectResizer.idl.

Definition at line 53 of file nsIHTMLObjectResizer.idl.

a boolean indicating if object resizing is enabled in the editor

Definition at line 68 of file nsIHTMLObjectResizer.idl.

the element currently displaying resizers

Definition at line 63 of file nsIHTMLObjectResizer.idl.


The documentation for this interface was generated from the following file: