Struct xpcom::interfaces::nsIAutoCompleteController
[−]
[src]
#[repr(C)]pub struct nsIAutoCompleteController { /* fields omitted */ }
interface nsIAutoCompleteController : nsISupports
Methods
impl nsIAutoCompleteController
[src]
pub fn coerce<T: nsIAutoCompleteControllerCoerce>(&self) -> &T
[src]
Cast this nsIAutoCompleteController
to one of its base interfaces.
impl nsIAutoCompleteController
[src]
pub const STATUS_NONE: i64
STATUS_NONE: i64 = 1
pub const STATUS_SEARCHING: i64
STATUS_SEARCHING: i64 = 2
pub const STATUS_COMPLETE_NO_MATCH: i64
STATUS_COMPLETE_NO_MATCH: i64 = 3
pub const STATUS_COMPLETE_MATCH: i64
STATUS_COMPLETE_MATCH: i64 = 4
pub unsafe fn GetInput(
&self,
aInput: *mut *const nsIAutoCompleteInput
) -> nsresult
[src]
&self,
aInput: *mut *const nsIAutoCompleteInput
) -> nsresult
attribute nsIAutoCompleteInput input;
pub unsafe fn SetInput(&self, aInput: *const nsIAutoCompleteInput) -> nsresult
[src]
attribute nsIAutoCompleteInput input;
pub unsafe fn GetSearchStatus(&self, aSearchStatus: *mut uint16_t) -> nsresult
[src]
readonly attribute unsigned short searchStatus;
pub unsafe fn GetMatchCount(&self, aMatchCount: *mut uint32_t) -> nsresult
[src]
readonly attribute unsigned long matchCount;
pub unsafe fn StartSearch(&self, searchString: &nsAString) -> nsresult
[src]
void startSearch (in AString searchString);
pub unsafe fn StopSearch(&self) -> nsresult
[src]
void stopSearch ();
pub unsafe fn HandleText(&self, _retval: *mut bool) -> nsresult
[src]
boolean handleText ();
pub unsafe fn HandleEnter(
&self,
aIsPopupSelection: bool,
aEvent: *const nsIDOMEvent,
_retval: *mut bool
) -> nsresult
[src]
&self,
aIsPopupSelection: bool,
aEvent: *const nsIDOMEvent,
_retval: *mut bool
) -> nsresult
boolean handleEnter (in boolean aIsPopupSelection, [optional] in nsIDOMEvent aEvent);
pub unsafe fn HandleEscape(&self, _retval: *mut bool) -> nsresult
[src]
boolean handleEscape ();
pub unsafe fn HandleStartComposition(&self) -> nsresult
[src]
void handleStartComposition ();
pub unsafe fn HandleEndComposition(&self) -> nsresult
[src]
void handleEndComposition ();
pub unsafe fn HandleTab(&self) -> nsresult
[src]
void handleTab ();
[src]
boolean handleKeyNavigation (in unsigned long key);
pub unsafe fn HandleDelete(&self, _retval: *mut bool) -> nsresult
[src]
boolean handleDelete ();
pub unsafe fn GetValueAt(
&self,
index: int32_t,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
index: int32_t,
_retval: &mut nsAString
) -> nsresult
AString getValueAt (in long index);
pub unsafe fn GetLabelAt(
&self,
index: int32_t,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
index: int32_t,
_retval: &mut nsAString
) -> nsresult
AString getLabelAt (in long index);
pub unsafe fn GetCommentAt(
&self,
index: int32_t,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
index: int32_t,
_retval: &mut nsAString
) -> nsresult
AString getCommentAt (in long index);
pub unsafe fn GetStyleAt(
&self,
index: int32_t,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
index: int32_t,
_retval: &mut nsAString
) -> nsresult
AString getStyleAt (in long index);
pub unsafe fn GetImageAt(
&self,
index: int32_t,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
index: int32_t,
_retval: &mut nsAString
) -> nsresult
AString getImageAt (in long index);
pub unsafe fn GetFinalCompleteValueAt(
&self,
index: int32_t,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
index: int32_t,
_retval: &mut nsAString
) -> nsresult
AString getFinalCompleteValueAt (in long index);
pub unsafe fn GetSearchString(&self, aSearchString: &mut nsAString) -> nsresult
[src]
attribute AString searchString;
pub unsafe fn SetSearchString(&self, aSearchString: &nsAString) -> nsresult
[src]
attribute AString searchString;
pub unsafe fn SetInitiallySelectedIndex(&self, index: int32_t) -> nsresult
[src]
void setInitiallySelectedIndex (in long index);
pub unsafe fn ResetInternalState(&self) -> nsresult
[src]
void resetInternalState ();
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 nsIAutoCompleteController
[src]
const IID: nsIID
IID: nsIID = nsID(4288644197, 8266, 18342, [179, 201, 6, 40, 179, 133, 102, 132])
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 nsIAutoCompleteController
[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 nsIAutoCompleteController
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.