Struct xpcom::interfaces::nsIDateTimeInputArea
[−]
[src]
#[repr(C)]pub struct nsIDateTimeInputArea { /* fields omitted */ }
interface nsIDateTimeInputArea : nsISupports
Methods
impl nsIDateTimeInputArea
[src]
pub fn coerce<T: nsIDateTimeInputAreaCoerce>(&self) -> &T
[src]
Cast this nsIDateTimeInputArea
to one of its base interfaces.
impl nsIDateTimeInputArea
[src]
pub unsafe fn NotifyInputElementValueChanged(&self) -> nsresult
[src]
/**
* Called from DOM/Layout when input element value has changed.
*/
void notifyInputElementValueChanged ();
pub unsafe fn NotifyMinMaxStepAttrChanged(&self) -> nsresult
[src]
/**
* Called from DOM/Layout when input element min, max or step attribute has
* changed.
*/
void notifyMinMaxStepAttrChanged ();
pub unsafe fn FocusInnerTextBox(&self) -> nsresult
[src]
/**
* Called from DOM/Layout to set focus on inner text box.
*/
void focusInnerTextBox ();
pub unsafe fn BlurInnerTextBox(&self) -> nsresult
[src]
/**
* Called from DOM/Layout to blur inner text box.
*/
void blurInnerTextBox ();
pub unsafe fn HasBadInput(&self, _retval: *mut bool) -> nsresult
[src]
/**
* Called from DOM/Layout to know whether the current entered value is valid.
*/
boolean hasBadInput ();
pub unsafe fn SetPickerState(&self, isOpen: bool) -> nsresult
[src]
/**
* Set the current state of the picker, true if it's opened, false otherwise.
*/
void setPickerState (in boolean isOpen);
pub unsafe fn SetEditAttribute(
&self,
name: &nsAString,
value: &nsAString
) -> nsresult
[src]
&self,
name: &nsAString,
value: &nsAString
) -> nsresult
/**
* Set the attribute of the inner text boxes. Only "tabindex", "readonly",
* and "disabled" are allowed.
*/
void setEditAttribute (in DOMString name, in DOMString value);
pub unsafe fn RemoveEditAttribute(&self, name: &nsAString) -> nsresult
[src]
/**
* Remove the attribute of the inner text boxes. Only "tabindex", "readonly",
* and "disabled" are allowed.
*/
void removeEditAttribute (in DOMString name);
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 nsIDateTimeInputArea
[src]
const IID: nsIID
IID: nsIID = nsID(1180437699, 9419, 18638, [175, 26, 177, 132, 2, 50, 107, 5])
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 nsIDateTimeInputArea
[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 nsIDateTimeInputArea
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.