質問

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