i have a container(like VBox) & in which there are few
UIComponents, i want to raise a timeout event when there is
activity's or any keyboard activities in the UIComponents
which are in
the container component.
How can i listen the user activities in the container's child
I would suggest to register for the user inputs (mouse/key)
events with the addeventlistener for every child uicomponent.
The listenfunction restarts everytime a timer and if the
timerfunction (timeout) is called you can do whatever you like to
do on a timeout.
what I'm trying is, I'm creating a component (for instance
let us call it as Tracker), in which we can place any UIComponent,
Tracker component should automatically raise an event if there is
no user activity in its child components. how can i do this? please