I'm not vetoing, but I don't like it. A button that is just graphical (play/pause/rewind in a video control) now must have a label?
I think I would have made an ILabelButton or something like that. On 3/22/13 4:34 PM, "jmcl...@apache.org" <jmcl...@apache.org> wrote: > Updated Branches: > refs/heads/develop fa2108b29 -> 6846c57a5 > > > FLEX-33130 Added label setter/getter to interface > > > Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo > Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/6846c57a > Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/6846c57a > Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/6846c57a > > Branch: refs/heads/develop > Commit: 6846c57a5922ddc0d8242d5eff4249412d05a936 > Parents: fa2108b > Author: Justin Mclean <jmcl...@apache.org> > Authored: Sat Mar 23 10:33:58 2013 +1100 > Committer: Justin Mclean <jmcl...@apache.org> > Committed: Sat Mar 23 10:33:58 2013 +1100 > > ---------------------------------------------------------------------- > .../projects/framework/src/mx/core/IButton.as | 20 +++++++++++++++ > 1 files changed, 20 insertions(+), 0 deletions(-) > ---------------------------------------------------------------------- > > > http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/6846c57a/frameworks/proje > cts/framework/src/mx/core/IButton.as > ---------------------------------------------------------------------- > diff --git a/frameworks/projects/framework/src/mx/core/IButton.as > b/frameworks/projects/framework/src/mx/core/IButton.as > index 99765dc..14371e1 100644 > --- a/frameworks/projects/framework/src/mx/core/IButton.as > +++ b/frameworks/projects/framework/src/mx/core/IButton.as > @@ -52,6 +52,26 @@ public interface IButton extends IUIComponent > */ > function callLater(method:Function, > args:Array /* of Object */ = null):void > + > + /** > + * Gets the text on a Button. > + * > + * @langversion 3.0 > + * @playerversion Flash 9 > + * @playerversion AIR 1.1 > + * @productversion ApacheFlex 4.10 > + */ > + function get label():String; > + > + /** > + * Sets the text on a Button. > + * > + * @langversion 3.0 > + * @playerversion Flash 9 > + * @playerversion AIR 1.1 > + * @productversion ApacheFlex 4.10 > + */ > + function set label(value:String):void; > } > > } > -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui