android.util
Class Property<T,V>

java.lang.Object
  extended by android.util.Property<T,V>

public abstract class Property<T,V>
extends Object


Constructor Summary
Property(Class<V> type, String name)
           
 
Method Summary
abstract  V get(T object)
           
 String getName()
           
 Class<V> getType()
           
 boolean isReadOnly()
           
static
<T,V> Property<T,V>
of(Class<T> hostType, Class<V> valueType, String name)
           
 void set(T object, V value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property

public Property(Class<V> type,
                String name)
Method Detail

of

public static <T,V> Property<T,V> of(Class<T> hostType,
                                     Class<V> valueType,
                                     String name)

isReadOnly

public boolean isReadOnly()

set

public void set(T object,
                V value)

get

public abstract V get(T object)

getName

public String getName()

getType

public Class<V> getType()


Copyright © 2008-2012. All Rights Reserved.