Показать сообщение отдельно
Старый 06.05.2008, 13:33
udaaff вне форума Посмотреть профиль Отправить личное сообщение для udaaff Найти все сообщения от udaaff
  № 5  
Ответить с цитированием
udaaff
...

модератор форума
Регистрация: Sep 2006
Адрес: Minsk
Сообщений: 4,286
На сайте adobe во "Flex SDK coding conventions and best practices" пару слов на эту тему:
Цитата:
If a class overrides a getter/setter and wants to continue to expose the base getter/setter, it should do so by implementing a property whose name is the base name with a $ prepended. This getter/setter should be marked final and should do nothing more than call the supergetter/setter.
Код:
mx_internal final function get $numChildren():int
{
    return super.numChildren;
}
http://sourceforge.net/adobe/flexsdk...20Conventions/


Последний раз редактировалось udaaff; 03.08.2012 в 18:27.