Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create separate interfaces for actions that can be performed on typified elements #5

Open
AlexanderTolmachev opened this issue Oct 3, 2012 · 0 comments
Assignees

Comments

@AlexanderTolmachev
Copy link
Member

There is a set of actions for each typified element that can be performed on it. But sometimes certain action can be performed on different typified elements. For example, both Link and Button have method click(), both Select and Radio have such methods like selectByIndex(), selectByValue() and so on.
It would be very useful to create such interfaces like Clickable, Selectable, etc. It would help to unify interfaces of actions that can be performed on different typified elements and would give a possibility for creating new typified elements by simply combining different interfaces and implementing them.

@ghost ghost assigned eroshenkoam Nov 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants