• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Semantic Events

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have read that Item Event, Text Event & Action Event are the only semantic events but just now I came to know that Adjustment Event is also a semantic Event. Can anybody please tell me how many semantic events are there & what are those?
Thanks
 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can somebody tell me what is a semantic event and how exactly is a semantic event different from other events?
Thanks,
Aman
 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are two categories of events associated with a component:lowlevel events from the mouse, keyboard or window system events such as opening or closing a window, and semantic events which represent component actions such as pressing a button or selecting a menu item.
Four low-level events are FocusEvent, MouseEvent, KeyEvent, WindowEvent
Three semantic events are ActionEvent, ItemEvent and AdjustmentEvent.
I am not sure about TextEvent though.
 
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
semantic events: ActionEvent
ItemEvent
AdjustmentEvent
TextEvent
Low level event: FocusEvent
InputEvent
MouseEvent
KeyEvent
WindowEvent
PaintEvent
ContainerEvent
TextEvent is a valid semantic event generated by TextArea and TextField classes.
HTH,
chetan
 
KN
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks everybody. It seems to me that ActionEvent, AdjustmentEvent, TextEvent and ItemEvents all are Semantic Events.
 
You totally ruined the moon. You're gonna hafta pay for that you know. This tiny ad agrees:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic