Groups
Groups
Sign in
Groups
Groups
GWT Users
Conversations
About
Send feedback
Help
Attach multiple MouseHandlers to the same component via UiBinder?
17 views
Skip to first unread message
membersound
unread,
Dec 28, 2012, 10:07:03 AM
12/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
Is there something to attach multiple Handlers to the same component? Similar to the following (which is not valid of course, but you get it):
@UiHandler("myComponent")
void onMouseDown(MouseDownEvent ev | MouseOutEvent ev) {
//...
}
Or do I necessarily have to create 2 different handler methods?
@UiHandler("myComponent")
void onMouseDown(MouseDownEvent ev) {
//...
}
@UiHandler("myComponent")
void onMouseDown(MouseOutEvent ev) {
//...
}
Reply all
Reply to author
Forward
0 new messages