|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbforms.event.eventtype.EventType
public class EventType
EventType context class. Uses strategy to select the event type value from an input string.
Field Summary | |
---|---|
static String |
EVENT_DATABASE_DELETE
value of the database delete event |
static String |
EVENT_DATABASE_INSERT
value of the database insert event |
static String |
EVENT_DATABASE_UPDATE
value of the database update event |
static int |
EVENT_GROUP_DATABASE
value of the database event |
static int |
EVENT_GROUP_NAVIGATION
value of the navigation event |
static String |
EVENT_NAVIGATION_COPY
value of the navigation new event |
static String |
EVENT_NAVIGATION_FIRST
value of the navigation first event |
static String |
EVENT_NAVIGATION_FORCERELOAD
value of the navigation force reload event |
static String |
EVENT_NAVIGATION_GOTO
value of the navigation goto event |
static String |
EVENT_NAVIGATION_LAST
value of the navigation last event |
static String |
EVENT_NAVIGATION_NEW
value of the navigation new event |
static String |
EVENT_NAVIGATION_NEXT
value of the navigation next event |
static String |
EVENT_NAVIGATION_PREV
value of the navigation previous event |
static String |
EVENT_NAVIGATION_RELOAD
value of the navigation reload event |
static String |
EVENT_NAVIGATION_TRANSFER_COPY
transfer value of the navigation new event |
static String |
EVENT_NAVIGATION_TRANSFER_FIRST
transfer value of the navigation first event |
static String |
EVENT_NAVIGATION_TRANSFER_GOTO
transfer value of the navigation goto event |
static String |
EVENT_NAVIGATION_TRANSFER_LAST
transfer value of the navigation last event |
static String |
EVENT_NAVIGATION_TRANSFER_NEW
transfer value of the navigation new event |
static String |
EVENT_NAVIGATION_TRANSFER_NEXT
transfer value of the navigation next event |
static String |
EVENT_NAVIGATION_TRANSFER_PREV
transfer value of the navigation previous event |
static String |
EVENT_NAVIGATION_TRANSFER_RELOAD
transfer value of the navigation reload event |
static int |
EVENT_UNDEFINED
value of the navigation goto event |
Constructor Summary | |
---|---|
EventType(EventTypeStrategy eventTypeStrategy)
Constructor; set the input EventTypeStrategy object as the default strategy. |
Method Summary | |
---|---|
int |
getEventGroup()
Gets the event group value |
String |
getEventString()
Gets the eventString attribute of the EventType object |
String |
getEventType()
Gets the event type value |
EventTypeStrategy |
getEventTypeStrategy()
Gets the eventTypeStrategy attribute of the EventType object |
void |
setEventString(String eventString)
Sets the eventString attribute of the EventType object |
void |
setEventTypeStrategy(EventTypeStrategy eventTypeStrategy)
Sets the eventTypeStrategy attribute of the EventType object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int EVENT_GROUP_DATABASE
public static final int EVENT_GROUP_NAVIGATION
public static final int EVENT_UNDEFINED
public static final String EVENT_DATABASE_INSERT
public static final String EVENT_DATABASE_UPDATE
public static final String EVENT_DATABASE_DELETE
public static final String EVENT_NAVIGATION_FIRST
public static final String EVENT_NAVIGATION_PREV
public static final String EVENT_NAVIGATION_NEXT
public static final String EVENT_NAVIGATION_LAST
public static final String EVENT_NAVIGATION_NEW
public static final String EVENT_NAVIGATION_COPY
public static final String EVENT_NAVIGATION_GOTO
public static final String EVENT_NAVIGATION_RELOAD
public static final String EVENT_NAVIGATION_FORCERELOAD
public static final String EVENT_NAVIGATION_TRANSFER_FIRST
public static final String EVENT_NAVIGATION_TRANSFER_PREV
public static final String EVENT_NAVIGATION_TRANSFER_NEXT
public static final String EVENT_NAVIGATION_TRANSFER_LAST
public static final String EVENT_NAVIGATION_TRANSFER_NEW
public static final String EVENT_NAVIGATION_TRANSFER_COPY
public static final String EVENT_NAVIGATION_TRANSFER_GOTO
public static final String EVENT_NAVIGATION_TRANSFER_RELOAD
Constructor Detail |
---|
public EventType(EventTypeStrategy eventTypeStrategy)
eventTypeStrategy
- an EventTypeStrategy objectMethod Detail |
---|
public int getEventGroup()
public void setEventString(String eventString)
eventString
- The new eventString valuepublic String getEventString()
public String getEventType()
public void setEventTypeStrategy(EventTypeStrategy eventTypeStrategy)
eventTypeStrategy
- The new eventTypeStrategy valuepublic EventTypeStrategy getEventTypeStrategy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |