Struct xpcom::interfaces::nsIHTMLObjectResizer
[−]
[src]
#[repr(C)]pub struct nsIHTMLObjectResizer { /* fields omitted */ }
interface nsIHTMLObjectResizer : nsISupports
Methods
impl nsIHTMLObjectResizer
[src]
pub fn coerce<T: nsIHTMLObjectResizerCoerce>(&self) -> &T
[src]
Cast this nsIHTMLObjectResizer
to one of its base interfaces.
impl nsIHTMLObjectResizer
[src]
pub const eTopLeft: i64
eTopLeft: i64 = 0
pub const eTop: i64
eTop: i64 = 1
pub const eTopRight: i64
eTopRight: i64 = 2
pub const eLeft: i64
eLeft: i64 = 3
pub const eRight: i64
eRight: i64 = 4
pub const eBottomLeft: i64
eBottomLeft: i64 = 5
pub const eBottom: i64
eBottom: i64 = 6
pub const eBottomRight: i64
eBottomRight: i64 = 7
pub unsafe fn GetResizedObject(
&self,
aResizedObject: *mut *const nsIDOMElement
) -> nsresult
[src]
&self,
aResizedObject: *mut *const nsIDOMElement
) -> nsresult
/**
* the element currently displaying resizers
*/
readonly attribute nsIDOMElement resizedObject;
pub unsafe fn GetObjectResizingEnabled(
&self,
aObjectResizingEnabled: *mut bool
) -> nsresult
[src]
&self,
aObjectResizingEnabled: *mut bool
) -> nsresult
/**
* a boolean indicating if object resizing is enabled in the editor
*/
attribute boolean objectResizingEnabled;
pub unsafe fn SetObjectResizingEnabled(
&self,
aObjectResizingEnabled: bool
) -> nsresult
[src]
&self,
aObjectResizingEnabled: bool
) -> nsresult
/**
* a boolean indicating if object resizing is enabled in the editor
*/
attribute boolean objectResizingEnabled;
pub unsafe fn ShowResizers(
&self,
aResizedElement: *const nsIDOMElement
) -> nsresult
[src]
&self,
aResizedElement: *const nsIDOMElement
) -> nsresult
/**
* Shows active resizers around an element's frame
* @param aResizedElement [IN] a DOM Element
*/
void showResizers (in nsIDOMElement aResizedElement);
pub unsafe fn HideResizers(&self) -> nsresult
[src]
/**
* Hide resizers if they are visible
*/
void hideResizers ();
pub unsafe fn RefreshResizers(&self) -> nsresult
[src]
/**
* Refresh visible resizers
*/
void refreshResizers ();
pub unsafe fn MouseDown(
&self,
aX: int32_t,
aY: int32_t,
aTarget: *const nsIDOMElement,
aMouseEvent: *const nsIDOMEvent
) -> nsresult
[src]
&self,
aX: int32_t,
aY: int32_t,
aTarget: *const nsIDOMElement,
aMouseEvent: *const nsIDOMEvent
) -> nsresult
/**
* 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);
pub unsafe fn MouseUp(
&self,
aX: int32_t,
aY: int32_t,
aTarget: *const nsIDOMElement
) -> nsresult
[src]
&self,
aX: int32_t,
aY: int32_t,
aTarget: *const nsIDOMElement
) -> nsresult
/**
* 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);
pub unsafe fn MouseMove(&self, aMouseEvent: *const nsIDOMEvent) -> nsresult
[src]
/**
* event callback when the mouse pointer is moved
* @param aMouseEvent [IN] the event
*/
void mouseMove (in nsIDOMEvent aMouseEvent);
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIHTMLObjectResizer
[src]
const IID: nsIID
IID: nsIID = nsID(2335793184, 27091, 17695, [128, 193, 26, 150, 167, 218, 37, 169])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIHTMLObjectResizer
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.