简体   繁体   English

控件的可覆盖事件(Android Studio)

[英]Overridable events of control (Android studio)

How can I know what override events a controls has? 我如何知道控件具有哪些替代事件?

First of all I have search Google and android api for this thing but not successful. 首先,我已经在Google和android api上搜索了此内容,但未成功。

If I further elaborate my question I would give an example of Visual studio C# in which If I drag a control and I can view all properties and events of this control and if double click on any event it automatically write that event for me. 如果我进一步阐述我的问题,我将举一个Visual Studio C#的示例,如果我拖动一个控件并且可以查看该控件的所有属性和事件,并且双击任何事件,它将自动为我编写该事件。 Now if I look for documentation I can find these http://developer.android.com/guide/topics/ui/ui-events.html 现在,如果我寻找文档,我可以找到这些http://developer.android.com/guide/topics/ui/ui-events.html

Also If I have any shortcut key for implement events of any control. 另外,如果我有用于实现任何控件事件的快捷键。 If I can do this in eclipse that will also helpful. 如果我能在日食中做到这一点也将有所帮助。

Thanks 谢谢

For Mac, you can try ctrl + O to get a list of methods that can be overridden, or cmd + F12 x2 to get a list of inherited members. 对于Mac,您可以尝试ctrl + O来获取可以被覆盖的方法的列表,或者尝试使用cmd + F12 x2来获取继承的成员的列表。

https://www.jetbrains.com/idea/docs/IntelliJIDEA_ReferenceCard_Mac.pdf https://www.jetbrains.com/idea/docs/IntelliJIDEA_ReferenceCard.pdf https://www.jetbrains.com/idea/docs/IntelliJIDEA_ReferenceCard_Mac.pdf https://www.jetbrains.com/idea/docs/IntelliJIDEA_ReferenceCard.pdf

Search for Override methods and File structure popup in these documents. 在这些文档中搜索“ Override methods和“ File structure popup

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM