From ab104ba6d437ebfa3a6315f93258432091b11e95 Mon Sep 17 00:00:00 2001 From: Philip Milne Date: Fri, 19 Apr 2013 03:53:38 +0000 Subject: Revert "Simple MVC based binding mechanism for android controls." Fix for bug 8656899 API REVIEW: android.util.PropertyValueModel/ValueModel, android.widget.ValueEditor etc Revert the change that added this API to remove it outright. This reverts commit 989709a973448980f36dacd587b0a58f89ffa11e Change-Id: I9018cd8dadb1b1a54ad8749c816bd02bb7e7a38b --- api/current.txt | 36 +++--------------------------------- 1 file changed, 3 insertions(+), 33 deletions(-) (limited to 'api') diff --git a/api/current.txt b/api/current.txt index 6eb8545..2d689e6 100644 --- a/api/current.txt +++ b/api/current.txt @@ -24446,17 +24446,6 @@ package android.util { method public void set(T, V); } - public class PropertyValueModel extends android.util.ValueModel { - method public T get(); - method public H getHost(); - method public android.util.Property getProperty(); - method public java.lang.Class getType(); - method public static android.util.PropertyValueModel of(H, android.util.Property); - method public static android.util.PropertyValueModel of(H, java.lang.Class, java.lang.String); - method public static android.util.PropertyValueModel of(java.lang.Object, java.lang.String); - method public void set(T); - } - public class SparseArray implements java.lang.Cloneable { ctor public SparseArray(); ctor public SparseArray(int); @@ -24623,14 +24612,6 @@ package android.util { field public int type; } - public abstract class ValueModel { - ctor protected ValueModel(); - method public abstract T get(); - method public abstract java.lang.Class getType(); - method public abstract void set(T); - field public static final android.util.ValueModel EMPTY; - } - public class Xml { method public static android.util.AttributeSet asAttributeSet(org.xmlpull.v1.XmlPullParser); method public static android.util.Xml.Encoding findEncodingByName(java.lang.String) throws java.io.UnsupportedEncodingException; @@ -29096,12 +29077,10 @@ package android.widget { method public abstract void onSelectedDayChange(android.widget.CalendarView, int, int, int); } - public class CheckBox extends android.widget.CompoundButton implements android.widget.ValueEditor { + public class CheckBox extends android.widget.CompoundButton { ctor public CheckBox(android.content.Context); ctor public CheckBox(android.content.Context, android.util.AttributeSet); ctor public CheckBox(android.content.Context, android.util.AttributeSet, int); - method public android.util.ValueModel getValueModel(); - method public void setValueModel(android.util.ValueModel); } public abstract interface Checkable { @@ -29274,16 +29253,14 @@ package android.widget { method public void setSize(int, int); } - public class EditText extends android.widget.TextView implements android.widget.ValueEditor { + public class EditText extends android.widget.TextView { ctor public EditText(android.content.Context); ctor public EditText(android.content.Context, android.util.AttributeSet); ctor public EditText(android.content.Context, android.util.AttributeSet, int); method public void extendSelection(int); - method public android.util.ValueModel getValueModel(); method public void selectAll(); method public void setSelection(int, int); method public void setSelection(int); - method public void setValueModel(android.util.ValueModel); } public abstract interface ExpandableListAdapter { @@ -30312,13 +30289,11 @@ package android.widget { method public abstract java.lang.Object[] getSections(); } - public class SeekBar extends android.widget.AbsSeekBar implements android.widget.ValueEditor { + public class SeekBar extends android.widget.AbsSeekBar { ctor public SeekBar(android.content.Context); ctor public SeekBar(android.content.Context, android.util.AttributeSet); ctor public SeekBar(android.content.Context, android.util.AttributeSet, int); - method public android.util.ValueModel getValueModel(); method public void setOnSeekBarChangeListener(android.widget.SeekBar.OnSeekBarChangeListener); - method public void setValueModel(android.util.ValueModel); } public static abstract interface SeekBar.OnSeekBarChangeListener { @@ -30906,11 +30881,6 @@ package android.widget { method public android.widget.TextView getText2(); } - public abstract interface ValueEditor { - method public abstract android.util.ValueModel getValueModel(); - method public abstract void setValueModel(android.util.ValueModel); - } - public class VideoView extends android.view.SurfaceView implements android.widget.MediaController.MediaPlayerControl { ctor public VideoView(android.content.Context); ctor public VideoView(android.content.Context, android.util.AttributeSet); -- cgit v1.1