/    Sign up×
Community /Pin to ProfileBookmark

Quick MouseEvent questions

[B]1)[/B] Is there any way to determine a button’s text in a mouseEvent?

[B]2)[/B] And in more general, where can you find out about all the different event properties that exist for the event handlers? I meant things like event.getSource(), event.getY(), event.target etc, where can you learn about all of them? Thanks.

[COLOR=DarkOrange]Nowhere on earth has this ever been documented. Most tutorials are too general.[/COLOR]

to post a comment
Java

3 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliNov 26.2005 — go to java.sun.com and look for java API docs....
Copy linkTweet thisAlerts:
@WaylanderNov 27.2005 — If you want to find documentation for java then google is your best friend...

There is search listing for keywords in the java documentation you just write in Java first then the name of the class your after,

http://www.google.com.au/search?hl=en&q=Java+MouseEvent&meta=

Im not sure if thats the specific object your after but if you know the name of it, it should definately come up first search result. Sun and Google have a keyword thing for the java docs.. i actually prefer to use it before browsing suns site or look in indexes and tables of contents. Because you can get direct code referencees much faster with it and if your familiar with the java naming conventions you can guess object names pretty easily too.

Waylander.
Copy linkTweet thisAlerts:
@augustauthorNov 27.2005 — So I've been using the Java "keyword" without knowing it. I usually just type in the searchword and then type in "java" either before or after, and sometimes with a comma in between, or a plus sign, or whatheheck, not knowing exactly what matters and not, but now I may know. Thanks.
×

Success!

Help @august spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...