Skip to content

Commit

Permalink
[TIMOB-24192] Implement Ti.UI.PickerRow getColor() and setColor()
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Mathews committed Dec 8, 2016
1 parent c49e575 commit 8abf664
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.appcelerator.kroll.KrollDict;
import org.appcelerator.kroll.annotations.Kroll;
import org.appcelerator.kroll.common.Log;
import org.appcelerator.titanium.TiC;
import org.appcelerator.titanium.proxy.TiViewProxy;
import org.appcelerator.titanium.util.TiConvert;
import org.appcelerator.titanium.view.TiUIView;
Expand All @@ -28,6 +29,18 @@ public PickerRowProxy()
super();
}

@Kroll.getProperty @Kroll.method
public String getColor()
{
return (String)getProperty(TiC.PROPERTY_COLOR);
}

@Kroll.setProperty @Kroll.method
public void setColor(String value)
{
setPropertyAndFire(TiC.PROPERTY_COLOR, value);
}

@Kroll.getProperty @Kroll.method
public String getTitle()
{
Expand Down

0 comments on commit 8abf664

Please sign in to comment.