FileDocCategorySizeDatePackage
BridgeLayoutParamsMapAttributes.javaAPI DocAndroid 5.1 API4838Thu Mar 12 22:22:44 GMT 2015com.android.layoutlib.bridge.android

BridgeLayoutParamsMapAttributes

public class BridgeLayoutParamsMapAttributes extends Object implements android.util.AttributeSet
An implementation of the {@link AttributeSet} interface on top of a map of attribute in the form of (name, value). This is meant to be called only from {@link BridgeContext#obtainStyledAttributes(AttributeSet, int[], int, int)} in the case of LayoutParams and therefore isn't a full implementation.

Fields Summary
private final Map
mAttributes
Constructors Summary
public BridgeLayoutParamsMapAttributes(Map attributes)

        mAttributes = attributes;
    
Methods Summary
public booleangetAttributeBooleanValue(int index, boolean defaultValue)

        throw new UnsupportedOperationException();
    
public booleangetAttributeBooleanValue(java.lang.String namespace, java.lang.String attribute, boolean defaultValue)

        throw new UnsupportedOperationException();
    
public intgetAttributeCount()

        throw new UnsupportedOperationException();
    
public floatgetAttributeFloatValue(java.lang.String namespace, java.lang.String attribute, float defaultValue)

        throw new UnsupportedOperationException();
    
public floatgetAttributeFloatValue(int index, float defaultValue)

        throw new UnsupportedOperationException();
    
public intgetAttributeIntValue(java.lang.String namespace, java.lang.String attribute, int defaultValue)

        throw new UnsupportedOperationException();
    
public intgetAttributeIntValue(int index, int defaultValue)

        throw new UnsupportedOperationException();
    
public intgetAttributeListValue(int index, java.lang.String[] options, int defaultValue)

        throw new UnsupportedOperationException();
    
public intgetAttributeListValue(java.lang.String namespace, java.lang.String attribute, java.lang.String[] options, int defaultValue)

        throw new UnsupportedOperationException();
    
public java.lang.StringgetAttributeName(int index)

        throw new UnsupportedOperationException();
    
public intgetAttributeNameResource(int index)

        throw new UnsupportedOperationException();
    
public intgetAttributeResourceValue(java.lang.String namespace, java.lang.String attribute, int defaultValue)

        throw new UnsupportedOperationException();
    
public intgetAttributeResourceValue(int index, int defaultValue)

        throw new UnsupportedOperationException();
    
public intgetAttributeUnsignedIntValue(java.lang.String namespace, java.lang.String attribute, int defaultValue)

        throw new UnsupportedOperationException();
    
public intgetAttributeUnsignedIntValue(int index, int defaultValue)

        throw new UnsupportedOperationException();
    
public java.lang.StringgetAttributeValue(java.lang.String namespace, java.lang.String name)

        if (BridgeConstants.NS_RESOURCES.equals(namespace)) {
            return mAttributes.get(name);
        }

        return null;
    
public java.lang.StringgetAttributeValue(int index)

        throw new UnsupportedOperationException();
    
public java.lang.StringgetClassAttribute()

        throw new UnsupportedOperationException();
    
public java.lang.StringgetIdAttribute()

        throw new UnsupportedOperationException();
    
public intgetIdAttributeResourceValue(int defaultValue)

        throw new UnsupportedOperationException();
    
public java.lang.StringgetPositionDescription()

        throw new UnsupportedOperationException();
    
public intgetStyleAttribute()

        throw new UnsupportedOperationException();