Hi Matthew,
yes I have. But for callback functions to complete the gui I don't want
to define additional interfaces.
The class inherit from the base class with the abstract callback methods
and override these methods.
That's the way we do it in Java. The compiler checks it and the Javadoc
shows it. The "extend" keyword
defines the requested behavior. So I hoped I can mark the abstract
classes and methods like "@abstract"
in the comment. If interfaces are the only way to do that I must add them.
Regards
Lutz
Matthew Gregory schrieb:
> Have you had a look at interfaces?
>
> Lutz Schoder wrote:
>
>> Hi All,
>>
>> is it possible to declare methods as abstract? At the moment I type it
>> like that
>>
>> _buildPanel : function() {
>> throw new Error("abstract method call <_createPanel>");
>> }
>>
>> I hope I can declare it better including get the information in the api
>> viewer.
>>
>> Thanks.
>> Lutz
>>
>>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
Mit freundlichen Grüßen / Best regards
Lutz Schoder
SoftConcept GmbH
Borriesstr. 35
D-32257 Bünde
www.softcontract.de
www.softconcept.net
Amtsgericht Bad Oeynhausen, HRB 8162
Steuernummer 310/5786/0202
Geschäftsführer: Jürgen Tiemann
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel