Sofia API Reference

  • Package Index
  • Class Index
  • Packages
  • sofia.app
  • sofia.content
  • sofia.data
    • Classes
    • InspectorScreen
    • PropertyEditor
    • Annotations
    • Property
  • sofia.graphics
  • sofia.util
  • sofia.view
  • sofia.widget

public abstract class
PropertyEditor

extends Object
implements Comparable<T>

Inheritance

  • 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)
Methods inherited from class java.lang.Object
Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait()
final void wait(long arg0, int arg1)
final void wait(long arg0)
Methods inherited from interface java.lang.Comparable
abstract int compareTo(T arg0)

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)