Package com.jbstrap.core.event
Class BaseEvent
java.lang.Object
com.jbstrap.core.event.BaseEvent
- Direct Known Subclasses:
BaseJBStrapEvent
,BrowserEvent
,ChartClickEvent
,ChartLassoEvent
,ClientConnectedEvent
,DebugEvent
,DoneEvent
,ErrorEvent
,FormChangedEvent
,FormItemChangeEvent
,HotKeyEvent
,JavaScriptExceptionEvent
,JBSChartLassoEvent
,PageResizeEvent
,ReturnEvent
Base event class
This class contains data, that every event handler provided by the framework receives. These data are:
- The client on which the event occurred
- The ID of the component, on which the event occurred
- The event type
- The instance of the component, on which the event occurred
- The event ID
- Since:
- 4.0
- Author:
- JBStrap
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
client
-
senderId
-
eventType
-
-
Constructor Details
-
BaseEvent
public BaseEvent()
-
-
Method Details
-
getClient
Gets the client, on which the event occurred- Returns:
- The client
-
getEventId
Gets the event ID- Returns:
- The event ID
-
getSenderId
Gets the ID of the component, on which the event occurred- Returns:
- The component ID
-
getEventType
Gets the event type.- Returns:
- The event type. For every type, see the
EventType
enum
-
getComponent
Gets the component on which the event occurred- Returns:
- The component or
null
, if the component was not found on the currentUI
-
fireEvent
public abstract void fireEvent()
-