org.dbforms.event.eventtype
Interface EventTypeStrategy

All Known Implementing Classes:
AbstractCompositeEventTypeStrategy, DatabaseEventTypeStrategy, DbFormsEventTypeStrategy, NavigationEventTypeStrategy

public interface EventTypeStrategy

EventTypeStrategy interface. Defines the strategy to identify an event group or type value from an input event string.

Author:
Luca Fossato

Method Summary
 int getEventGroup(String eventString)
          Gets the event group value.
 String getEventType(String eventString)
          Gets the event type value
 String getId()
          Gets the EventTypeStrategy identifier.
 

Method Detail

getEventGroup

int getEventGroup(String eventString)
Gets the event group value.

Parameters:
eventString - the string that identifies an event type
Returns:
The event group value, or EventType.EVENT_UNDEFINED

getEventType

String getEventType(String eventString)
Gets the event type value

Parameters:
eventString - the string that identifies an event type
Returns:
The event type value, or EventType.EVENT_UNDEFINED

getId

String getId()
Gets the EventTypeStrategy identifier.

Returns:
the EventTypeStrategy identifier


Copyright © 2002-2006 DbForms. All Rights Reserved.