Struct xpcom::interfaces::nsIHTMLObjectResizer [] [src]

#[repr(C)]
pub struct nsIHTMLObjectResizer { /* fields omitted */ }

interface nsIHTMLObjectResizer : nsISupports

Methods

impl nsIHTMLObjectResizer
[src]

[src]

Cast this nsIHTMLObjectResizer to one of its base interfaces.

impl nsIHTMLObjectResizer
[src]

eTopLeft: i64 = 0

eTop: i64 = 1

eTopRight: i64 = 2

eLeft: i64 = 3

eRight: i64 = 4

eBottomLeft: i64 = 5

eBottom: i64 = 6

eBottomRight: i64 = 7

[src]

/**
   * the element currently displaying resizers
   */

readonly attribute nsIDOMElement resizedObject;

[src]

/**
   * a boolean indicating if object resizing is enabled in the editor
   */

attribute boolean objectResizingEnabled;

[src]

/**
   * a boolean indicating if object resizing is enabled in the editor
   */

attribute boolean objectResizingEnabled;

[src]

/**
   * Shows active resizers around an element's frame
   * @param aResizedElement [IN] a DOM Element
   */

void showResizers (in nsIDOMElement aResizedElement);

[src]

/**
   * Hide resizers if they are visible
   */

void hideResizers ();

[src]

/**
   * Refresh visible resizers
   */

void refreshResizers ();

[src]

/**
   * event callback when a mouse button is pressed
   * @param aX      [IN] horizontal position of the pointer
   * @param aY      [IN] vertical position of the pointer
   * @param aTarget [IN] the element triggering the event
   * @param aMouseEvent [IN] the event
   */

void mouseDown (in long aX, in long aY, in nsIDOMElement aTarget, in nsIDOMEvent aMouseEvent);

[src]

/**
   * event callback when a mouse button is released
   * @param aX      [IN] horizontal position of the pointer
   * @param aY      [IN] vertical position of the pointer
   * @param aTarget [IN] the element triggering the event
   */

void mouseUp (in long aX, in long aY, in nsIDOMElement aTarget);

[src]

/**
   * event callback when the mouse pointer is moved
   * @param aMouseEvent [IN] the event
   */

void mouseMove (in nsIDOMEvent aMouseEvent);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIHTMLObjectResizer
[src]

IID: nsIID = nsID(2335793184, 27091, 17695, [128, 193, 26, 150, 167, 218, 37, 169])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIHTMLObjectResizer
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIHTMLObjectResizer
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.