문제

I thought that describeType would list the events an object dispatches but I don't see any listed in the describe type XML. Is there a way to list the events or am I missing something?

For example, on Spark Button there is "click", "mouseDown", "mouseUp", "focusIn", etc

도움이 되었습니까?

해결책

It looks like describeType does work but it doesn't show inherited events (metadata). So while the Spark Button seems to dispatch events all it's events are actually declaredin in it's super classes. Checking the ButtonBase class correctly shows some event metadata.

UPDATE: The previous code I posted here had some errors in it. I've updated the code and pasted it here.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top