public abstract class

PropertyEditor

extends Object
implements Comparable<T>
java.lang.Object
   ↳ sofia.data.PropertyEditor

Summary

Public Constructors
PropertyEditor(String name, Method getter, Method setter)
Public Methods
int compareTo(PropertyEditor other)
static PropertyEditor create(Class<?> type, String name, Method getter, Method setter)
abstract View createEditor(Context context)
View createLabel(Context context)
String getName()
Class<?> getType()
abstract void giveValueToObject(Object object)
abstract void takeValueFromObject(Object object)
Protected Methods
String getHintText(Context context)
String getLabelText(Context context)
Object getValue(Object receiver)
void setValue(Object receiver, Object value)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Comparable

Public Constructors

public PropertyEditor (String name, Method getter, Method setter)

Public Methods

public int compareTo (PropertyEditor other)

public static PropertyEditor create (Class<?> type, String name, Method getter, Method setter)

public abstract View createEditor (Context context)

public View createLabel (Context context)

public String getName ()

public Class<?> getType ()

public abstract void giveValueToObject (Object object)

public abstract void takeValueFromObject (Object object)

Protected Methods

protected String getHintText (Context context)

protected String getLabelText (Context context)

protected Object getValue (Object receiver)

protected void setValue (Object receiver, Object value)