IAttributeSet インターフェイス

定義

XML ドキュメント内のタグに関連付けられている属性のコレクション。

[Android.Runtime.Register("android/util/AttributeSet", "", "Android.Util.IAttributeSetInvoker")]
public interface IAttributeSet : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/util/AttributeSet", "", "Android.Util.IAttributeSetInvoker")>]
type IAttributeSet = interface
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
派生
属性
実装

注釈

XML ドキュメント内のタグに関連付けられている属性のコレクション。 多くの場合、このインターフェイスを直接使用するのではなく、 に android.content.res.Resources.Theme#obtainStyledAttributes(AttributeSet, int[], int, int) Resources.Theme.obtainStyledAttributes() 渡すことで属性の解析が行われます。 特に、Resources API はリソース参照 (" などの属性値) を変換します

android.util.AttributeSetJava ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

プロパティ

AttributeCount

セットで使用できる属性の数を返します。

ClassAttribute

"class" 属性の値を返すか、存在しない場合は null を返します。

Handle

基になる Android オブジェクトの JNI 値を取得します。

(継承元 IJavaObject)
IdAttribute

"id" 属性の値を返すか、存在しない場合は null を返します。

JniIdentityHashCode

ラップされたインスタンスの の java.lang.System.identityHashCode() 値を返します。

(継承元 IJavaPeerable)
JniManagedPeerState

マネージド ピアの状態。

(継承元 IJavaPeerable)
JniPeerMembers

メンバー アクセスと呼び出しのサポート。

(継承元 IJavaPeerable)
PeerReference

JniObjectReferenceラップされた Java オブジェクト インスタンスの を返します。

(継承元 IJavaPeerable)
PositionDescription

属性セットの現在位置の説明を返します。

StyleAttribute

"style" 属性の値を返すか、存在しない場合は 0 を返します。

メソッド

Disposed()

インスタンスが破棄されたときに呼び出されます。

(継承元 IJavaPeerable)
DisposeUnlessReferenced()

このインスタンスへの未処理の参照がない場合は、 を呼び出 Dispose()します。それ以外の場合は何も行いません。

(継承元 IJavaPeerable)
Finalized()

インスタンスが終了したときに呼び出されます。

(継承元 IJavaPeerable)
GetAttributeBooleanValue(Int32, Boolean)

'index' の属性のブール値を返します。

GetAttributeBooleanValue(String, String, Boolean)

'attribute' のブール値を返します。

GetAttributeFloatValue(Int32, Single)

'index' の属性の float 値を返します。

GetAttributeFloatValue(String, String, Single)

'attribute' の float 値を返します。

GetAttributeIntValue(Int32, Int32)

'index' の属性の整数値を返します。

GetAttributeIntValue(String, String, Int32)

'attribute' の整数値を返します。

GetAttributeListValue(Int32, String[], Int32)

リスト 'options' の 'index' にある属性の値のインデックスを返します。

GetAttributeListValue(String, String, String[], Int32)

リスト 'options' の 'attribute' の値のインデックスを返します。

GetAttributeName(Int32)

指定した属性の名前を返します。

GetAttributeNameResource(Int32)

指定した属性名に関連付けられているリソース ID を返します。

GetAttributeNamespace(Int32)

指定した属性の名前空間を返します。

GetAttributeResourceValue(Int32, Int32)

'index' の属性の値をリソース識別子として返します。

GetAttributeResourceValue(String, String, Int32)

'attribute' の値をリソース識別子として返します。

GetAttributeUnsignedIntValue(Int32, Int32)

符号なし値として書式設定された 'index' の属性の整数値を返します。

GetAttributeUnsignedIntValue(String, String, Int32)

符号なし値として書式設定された 'attribute' のブール値を返します。

GetAttributeValue(Int32)

指定した属性の値を文字列表現として返します。

GetAttributeValue(String, String)

指定した属性の値を文字列表現として返します。

GetIdAttributeResourceValue(Int32)

"id" 属性の整数値を返します。存在しない場合は defaultValue を返します。

SetJniIdentityHashCode(Int32)

によって返される値を JniIdentityHashCode設定します。

(継承元 IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates)

XML ドキュメント内のタグに関連付けられている属性のコレクション。

(継承元 IJavaPeerable)
SetPeerReference(JniObjectReference)

によって返される値を PeerReference設定します。

(継承元 IJavaPeerable)
UnregisterFromRuntime()

ランタイムが今後 Java.Interop.JniRuntime+JniValueManager.PeekValue の呼び出しから返されないように、このインスタンスの登録を解除します。

(継承元 IJavaPeerable)

拡張メソッド

JavaCast<TResult>(IJavaObject)

Android ランタイムチェック型変換を実行します。

JavaCast<TResult>(IJavaObject)

XML ドキュメント内のタグに関連付けられている属性のコレクション。

GetJniTypeName(IJavaPeerable)

XML ドキュメント内のタグに関連付けられている属性のコレクション。

適用対象