RE: [flexcoders] "hidden" interfaces (was: Re: List.getLength)

2005-02-22 Thread Gordon Smith
I think that List inherits a 'length' property. If that's the case, it
should have been documented, and the getLength() method should not have been
documented. In general, we're trying to make Flex property-centric whenever
possible. Future releases are likely to deprecate support for accessor
methods like getLength().

Gordon Smith
Flex Development


-Original Message-
From: Stephen Gilson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 22, 2005 11:34 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] "hidden" interfaces (was: Re: List.getLength)



The List class does mixin DataSelector, so that is how you can use
getLength(). There is an error in the doc - getLength() should have been
listed as a method of List.

Stephen Gilson
Flex Doc

-Original Message-
From: Markus Ansamaa [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 21, 2005 12:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] "hidden" interfaces (was: Re: List.getLength)



Yes, that's the API documentation. And if you check the List it is said that
it does NOT extend DataSelector. And there is no getLength method. And still
you can use List.getLength which is internally implemented by DataSelector.

Simon:
I think so too, but my whole point was that you cannot be sure, since it is
not said anywhere. And technically speaking list based components cannot
implement DataSelector since DataSelector is not an interface but a class.
And I know they doesn't extend it either.

If there's someone from Flex documentation team listening, could you tell,
if this issue is explained somewhere?

Markus



> -Original Message-
> From: San Clemente Technical Company, Inc.
> [mailto:[EMAIL PROTECTED]
> Sent: 18. helmikuuta 2005 18:55
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: List.getLength
> 
> You can use the following link 
> http://livedocs.macromedia.com/flex/15/asdocs_en/ it has all the Flex 
> Classes in javadoc format. It shows the hierarchy as well as the 
> inherited properties, events, methods, etc.
> 
> Ken
> 
> --- In flexcoders@yahoogroups.com, "Simon Fifield" <[EMAIL PROTECTED]> wrote:
> > MessageHi Markus,
> > 
> > I'm not 100% sure about this, but I think that all list based
> components
> > implement the new DataSelector class.
> > 
> > Regards,
> > 
> > Simon
> > -Original Message-
> > From: Markus Ansamaa [mailto:[EMAIL PROTECTED]
> > Sent: 18 February 2005 13:38
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] List.getLength
> > 
> > 
> > I have wondered why there isn't a getLength method for a List. I
> have used
> > List.dataProvider.length which feels clumsy to use. Today I just
> happened to
> > try if such a method exists and there it was! I think most of you
> already
> > knew that, but to me it was a totally new discovery. List seems to
> use
> > DataSelector internally, which is the reason why getLength is not
> mentioned
> > in the API.
> > 
> > I am just wondering, how should I know that List uses
> DataSelector and
> > getLength method exists?! List's API says nothing about getLength or
> > DataSelector.
> > And how many other "hidden" interfaces there are?
> > 
> > Markus Ansamaa
> > 
> > 
> > 
> 
> > --
> > Yahoo! Groups Links
> > 
> > a.. To visit your group on the web, go to:
> > http://groups.yahoo.com/group/flexcoders/
> > 
> > b.. To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> > 
> > c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 




Yahoo! Groups Links









Yahoo! Groups Links










RE: [flexcoders] "hidden" interfaces (was: Re: List.getLength)

2005-02-22 Thread Stephen Gilson
The List class does mixin DataSelector, so that is how you can use
getLength(). There is an error in the doc - getLength() should have been
listed as a method of List.

Stephen Gilson
Flex Doc

-Original Message-
From: Markus Ansamaa [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 21, 2005 12:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] "hidden" interfaces (was: Re: List.getLength)



Yes, that's the API documentation. And if you check the List it is said that
it does NOT extend DataSelector. And there is no getLength method. And still
you can use List.getLength which is internally implemented by DataSelector.

Simon:
I think so too, but my whole point was that you cannot be sure, since it is
not said anywhere. And technically speaking list based components cannot
implement DataSelector since DataSelector is not an interface but a class.
And I know they doesn't extend it either.

If there's someone from Flex documentation team listening, could you tell,
if this issue is explained somewhere?

Markus



> -Original Message-
> From: San Clemente Technical Company, Inc. 
> [mailto:[EMAIL PROTECTED]
> Sent: 18. helmikuuta 2005 18:55
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: List.getLength
> 
> You can use the following link
> http://livedocs.macromedia.com/flex/15/asdocs_en/ it has all the Flex 
> Classes in javadoc format. It shows the hierarchy as well as the 
> inherited properties, events, methods, etc.
> 
> Ken
> 
> --- In flexcoders@yahoogroups.com, "Simon Fifield" <[EMAIL PROTECTED]> wrote:
> > MessageHi Markus,
> > 
> > I'm not 100% sure about this, but I think that all list based
> components
> > implement the new DataSelector class.
> > 
> > Regards,
> > 
> > Simon
> > -Original Message-----
> > From: Markus Ansamaa [mailto:[EMAIL PROTECTED]
> > Sent: 18 February 2005 13:38
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] List.getLength
> > 
> > 
> > I have wondered why there isn't a getLength method for a List. I
> have used
> > List.dataProvider.length which feels clumsy to use. Today I just
> happened to
> > try if such a method exists and there it was! I think most of you
> already
> > knew that, but to me it was a totally new discovery. List seems to
> use
> > DataSelector internally, which is the reason why getLength is not
> mentioned
> > in the API.
> > 
> > I am just wondering, how should I know that List uses
> DataSelector and
> > getLength method exists?! List's API says nothing about getLength or 
> > DataSelector.
> > And how many other "hidden" interfaces there are?
> > 
> > Markus Ansamaa
> > 
> > 
> > 
> 
> > --
> > Yahoo! Groups Links
> > 
> > a.. To visit your group on the web, go to:
> > http://groups.yahoo.com/group/flexcoders/
> > 
> > b.. To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> > 
> > c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 




Yahoo! Groups Links










[flexcoders] "hidden" interfaces (was: Re: List.getLength)

2005-02-21 Thread Markus Ansamaa

Yes, that's the API documentation. And if you check the List it is said that
it does NOT extend DataSelector. And there is no getLength method. And still
you can use List.getLength which is internally implemented by DataSelector.

Simon:
I think so too, but my whole point was that you cannot be sure, since it is
not said anywhere. And technically speaking list based components cannot
implement DataSelector since DataSelector is not an interface but a class.
And I know they doesn't extend it either.

If there's someone from Flex documentation team listening, could you tell,
if this issue is explained somewhere?

Markus



> -Original Message-
> From: San Clemente Technical Company, Inc. 
> [mailto:[EMAIL PROTECTED] 
> Sent: 18. helmikuuta 2005 18:55
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: List.getLength
> 
> You can use the following link 
> http://livedocs.macromedia.com/flex/15/asdocs_en/ it has all the Flex 
> Classes in javadoc format. It shows the hierarchy as well as the 
> inherited properties, events, methods, etc.
> 
> Ken
> 
> --- In flexcoders@yahoogroups.com, "Simon Fifield" <[EMAIL PROTECTED]> wrote:
> > MessageHi Markus,
> > 
> > I'm not 100% sure about this, but I think that all list based 
> components
> > implement the new DataSelector class.
> > 
> > Regards,
> > 
> > Simon
> > -Original Message-
> > From: Markus Ansamaa [mailto:[EMAIL PROTECTED]
> > Sent: 18 February 2005 13:38
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] List.getLength
> > 
> > 
> > I have wondered why there isn't a getLength method for a List. I 
> have used
> > List.dataProvider.length which feels clumsy to use. Today I just 
> happened to
> > try if such a method exists and there it was! I think most of you 
> already
> > knew that, but to me it was a totally new discovery. List seems to 
> use
> > DataSelector internally, which is the reason why getLength is not 
> mentioned
> > in the API.
> > 
> > I am just wondering, how should I know that List uses 
> DataSelector and
> > getLength method exists?! List's API says nothing about getLength or
> > DataSelector.
> > And how many other "hidden" interfaces there are?
> > 
> > Markus Ansamaa
> > 
> > 
> > 
> 
> > --
> > Yahoo! Groups Links
> > 
> > a.. To visit your group on the web, go to:
> > http://groups.yahoo.com/group/flexcoders/
> > 
> > b.. To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> > 
> > c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
> Service.
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 





Re: List.getLength

2005-02-18 Thread San Clemente Technical Company, Inc.

You can use the following link 
http://livedocs.macromedia.com/flex/15/asdocs_en/ it has all the Flex 
Classes in javadoc format. It shows the hierarchy as well as the 
inherited properties, events, methods, etc.

Ken

--- In flexcoders@yahoogroups.com, "Simon Fifield" <[EMAIL PROTECTED]> wrote:
> MessageHi Markus,
> 
> I'm not 100% sure about this, but I think that all list based 
components
> implement the new DataSelector class.
> 
> Regards,
> 
> Simon
> -Original Message-
> From: Markus Ansamaa [mailto:[EMAIL PROTECTED]
> Sent: 18 February 2005 13:38
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] List.getLength
> 
> 
> I have wondered why there isn't a getLength method for a List. I 
have used
> List.dataProvider.length which feels clumsy to use. Today I just 
happened to
> try if such a method exists and there it was! I think most of you 
already
> knew that, but to me it was a totally new discovery. List seems to 
use
> DataSelector internally, which is the reason why getLength is not 
mentioned
> in the API.
> 
> I am just wondering, how should I know that List uses 
DataSelector and
> getLength method exists?! List's API says nothing about getLength or
> DataSelector.
> And how many other "hidden" interfaces there are?
> 
> Markus Ansamaa
> 
> 
> 

> --
> Yahoo! Groups Links
> 
> a.. To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
> 
> b.. To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> 
> c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.







RE: [flexcoders] List.getLength

2005-02-18 Thread Simon Fifield
Title: Message



Hi 
Markus,
 
I'm 
not 100% sure about this, but I think that all list based 
components implement the new DataSelector class.
 
Regards,
 
Simon

-Original Message-From: Markus Ansamaa 
[mailto:[EMAIL PROTECTED]Sent: 18 February 2005 
13:38To: flexcoders@yahoogroups.comSubject: [flexcoders] 
List.getLength
I have wondered 
why there isn't a getLength method for a List. I have used 
List.dataProvider.length which feels clumsy to use. Today I just happenedto 
try if such a method exists and there it was! I think most of you alreadyknew 
that, but to me it was a totally new discovery. List seems to use DataSelector 
internally, which is the reason why getLength is not mentioned in the 
API.
 
I am just 
wondering, how should I know that List uses DataSelector and getLength 
method exists?! List's API says nothing about getLength or DataSelector. 

And howmany other 
"hidden" interfaces there are?
 
Markus 
Ansamaa


List.getLength

2005-02-18 Thread Markus Ansamaa
Title: Message



I have wondered why 
there isn't a getLength method for a List. I have used List.dataProvider.length 
which feels clumsy to use. Today I just happened to try if such a method exists 
and there it was! I think most of you already knew that, but to me it was a 
totally new discovery. List seems to use DataSelector internally, which is the 
reason why getLength is not mentioned in the API.
 
I amjust 
wondering, how should I know that List uses DataSelector and getLength 
method exists?! List's API says nothing about getLength or DataSelector. 

And how many other 
"hidden" interfaces there are?
 
Markus 
Ansamaa