• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Semantic Events

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
  • Quote
  • Report post to moderator
Thanks everybody. It seems to me that ActionEvent, AdjustmentEvent, TextEvent and ItemEvents all are Semantic Events.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!