flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark goldin <markzolo...@gmail.com>
Subject Interface question
Date Wed, 09 Oct 2013 17:40:32 GMT
I have a class:
public class Class1 extends SkinnableContainer implements IComponent

public interface IComponent
function foo(component:IComponent):void;

So, if Class1 implements IComponent it has to have the following method:
public function foo(component:IComponent):void
   // implementation
I am calling foo like this:
override protected function childrenCreated():void

But it just does not look right. The class has a function foo that is
coming from the Interface implementation and it also calls this function.
Is that right?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message