On Mon, Aug 4, 2008 at 9:37 AM, Ian Thomas <[EMAIL PROTECTED]> wrote:
> Why would you want to force implementation of a private class?
Private method. Sorry!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mail
Why would you want to force implementation of a private class?
Or are you actually trying to create an abstract class - and are
trying to ensure that a subclass provides an implementation of an
internal method? (Labelled as 'private' in AS2 or 'protected' in AS3.)
In which case, neither AS2 nor A
Hello,
You cannot force a class to implement a private method. And that would be
totally useless... The target of an interface is to define a set of methods
that are accessible by any classes => private, internal and protected
methods are too restricted. What do you want to do ?
Regards,
Cedric
How can you force a set of classes to define a private method if Interface
members cannot be declared public, private, protected, or internal?
Create an abstract class with private method(s) that throw an error, unless
overwritten by subclasses? Is this the only way?
__
4 matches
Mail list logo