Condividi tramite


TabHost.TabSpec Classe

Definizione

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

[Android.Runtime.Register("android/widget/TabHost$TabSpec", DoNotGenerateAcw=true)]
public class TabHost.TabSpec : Java.Lang.Object
[<Android.Runtime.Register("android/widget/TabHost$TabSpec", DoNotGenerateAcw=true)>]
type TabHost.TabSpec = class
    inherit Object
Ereditarietà
TabHost.TabSpec
Attributi

Commenti

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia. Questo generatore consente di scegliere tra queste opzioni.

Per l'indicatore di tabulazione, le opzioni disponibili sono: 1) impostare un'etichetta 2) impostare un'etichetta e un'icona

Per il contenuto della scheda, le opzioni disponibili sono: 1) l'ID di un View oggetto TabContentFactory 2) che crea il View contenuto. 3) oggetto Intent che avvia un oggetto android.app.Activity.

Documentazione java per android.widget.TabHost.TabSpec.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Costruttori

TabHost.TabSpec(IntPtr, JniHandleOwnership)

Costruttore usato durante la creazione di rappresentazioni gestite di oggetti JNI; chiamato dal runtime.

Proprietà

Class

Restituisce la classe di runtime di questo Objectoggetto .

(Ereditato da Object)
Handle

Handle per l'istanza di Android sottostante.

(Ereditato da Object)
JniIdentityHashCode

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

(Ereditato da Object)
JniPeerMembers

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

PeerReference

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

(Ereditato da Object)
Tag

Restituisce il tag per questa specifica della scheda.

ThresholdClass

Questa API supporta l'infrastruttura Mono per Android e non deve essere usata direttamente dal codice.

ThresholdType

Questa API supporta l'infrastruttura Mono per Android e non deve essere usata direttamente dal codice.

Metodi

Clone()

Crea e restituisce una copia di questo oggetto.

(Ereditato da Object)
Dispose()

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

(Ereditato da Object)
Dispose(Boolean)

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

(Ereditato da Object)
Equals(Object)

Indica se un altro oggetto è "uguale a" questo.

(Ereditato da Object)
GetHashCode()

Restituisce un valore del codice hash per l'oggetto.

(Ereditato da Object)
JavaFinalize()

Chiamato dal Garbage Collector su un oggetto quando Garbage Collection determina che non sono presenti altri riferimenti all'oggetto .

(Ereditato da Object)
Notify()

Riattiva un singolo thread in attesa del monitor dell'oggetto.

(Ereditato da Object)
NotifyAll()

Riattiva tutti i thread in attesa del monitor dell'oggetto.

(Ereditato da Object)
SetContent(Int32)

Specificare l'ID della visualizzazione da usare come contenuto della scheda.

SetContent(Intent)

Specificare una finalità da usare per avviare un'attività come contenuto della scheda.

SetContent(TabHost+ITabContentFactory)

Specificare un oggetto T:Android.Widget.TabHost+ITabContentFactory da usare per creare il contenuto della scheda.

SetHandle(IntPtr, JniHandleOwnership)

Imposta la proprietà Handle.

(Ereditato da Object)
SetIndicator(ICharSequence, Drawable)

Specificare un'etichetta e un'icona come indicatore di tabulazioni.

SetIndicator(ICharSequence)

Specificare un'etichetta come indicatore di tabulazioni.

SetIndicator(String, Drawable)

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

SetIndicator(String)

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

SetIndicator(View)

Specificare una visualizzazione come indicatore di tabulazioni.

ToArray<T>()

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

(Ereditato da Object)
ToString()

Restituisce una rappresentazione di stringa dell'oggetto.

(Ereditato da Object)
UnregisterFromRuntime()

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

(Ereditato da Object)
Wait()

Fa sì che il thread corrente attenda finché non viene risvegliato, in genere ricevendo <>una notifica</em> o <em>interrotto</em>.

(Ereditato da Object)
Wait(Int64, Int32)

Fa sì che il thread corrente attenda finché non viene risvegliato, in genere ricevendo>< una notifica</em> o <em>interrotto</em> o fino a quando non è trascorsa una determinata quantità di tempo reale.

(Ereditato da Object)
Wait(Int64)

Fa sì che il thread corrente attenda finché non viene risvegliato, in genere ricevendo>< una notifica</em> o <em>interrotto</em> o fino a quando non è trascorsa una determinata quantità di tempo reale.

(Ereditato da Object)

Implementazioni dell'interfaccia esplicita

IJavaPeerable.Disposed()

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

(Ereditato da Object)
IJavaPeerable.DisposeUnlessReferenced()

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

(Ereditato da Object)
IJavaPeerable.Finalized()

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

(Ereditato da Object)
IJavaPeerable.JniManagedPeerState

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

(Ereditato da Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

(Ereditato da Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

(Ereditato da Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

(Ereditato da Object)

Metodi di estensione

JavaCast<TResult>(IJavaObject)

Esegue una conversione del tipo di tipo controllato dal runtime Android.

JavaCast<TResult>(IJavaObject)

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

GetJniTypeName(IJavaPeerable)

Una scheda ha un indicatore di tabulazioni, un contenuto e un tag usato per tenerne traccia.

Si applica a