org.cruxframework.crux.core.rebind.screen.widget
Class EvtProcessor
java.lang.Object
org.cruxframework.crux.core.rebind.screen.widget.AbstractProcessor
org.cruxframework.crux.core.rebind.screen.widget.EvtProcessor
- Direct Known Subclasses:
- AttachEvtBind, BeforeSelectionEvtBind, BlurEvtBind, CancelEvtBind, CellPreviewEvtBind, ChangeEvtBind, ChangeViewEvtBind, ClickEvtBind, CloseEvtBind, DettachEvtBind, DoubleClickEvtBind, FocusEvtBind, HighlightEvtBind, InitializeEvtBind, KeyDownEvtBind, KeyPressEvtBind, KeyUpEvtBind, LoadErrorEvtBind, LoadEvtBind, LoadWidgetEvtProcessor, MouseDownEvtBind, MouseMoveEvtBind, MouseOutEvtBind, MouseOverEvtBind, MouseUpEvtBind, MouseWheelEvtBind, OkEvtBind, OpenEvtBind, PageEvtBind, RangeChangeEvtBind, RowCountChangeEvtBind, ScrollEvtBind, SelectEvtBind, SelectionChangeEvtBind, SelectionEvtBind, ShowRangeEvtBind, SubmitCompleteEvtBind, SubmitEvtBind, TouchCancelEvtBind, TouchEndEvtBind, TouchMoveEvtBind, TouchStartEvtBind, ValueChangeEvtBind
public abstract class EvtProcessor
- extends AbstractProcessor
- Author:
- Thiago da Rosa de Bustamante
|
Method Summary |
static boolean |
checkEvtCall(String eventValue,
String eventName,
String parameterClassName,
com.google.gwt.core.ext.GeneratorContext context,
View view,
DeviceAdaptive.Device device,
boolean allowNoParameterCall)
|
abstract Class<?> |
getEventClass()
|
abstract Class<?> |
getEventHandlerClass()
|
abstract String |
getEventName()
|
void |
printEvtCall(AbstractProxyCreator.SourcePrinter out,
String eventValue,
String cruxEvent)
|
static void |
printEvtCall(AbstractProxyCreator.SourcePrinter out,
String eventValue,
String eventName,
Class<?> eventClass,
String cruxEvent,
com.google.gwt.core.ext.GeneratorContext context,
View view,
ControllerAccessHandler controllerAccessHandler,
DeviceAdaptive.Device device)
|
static void |
printEvtCall(AbstractProxyCreator.SourcePrinter out,
String eventValue,
String eventName,
Class<?> eventClass,
String cruxEvent,
WidgetCreator<?> creator)
|
static void |
printEvtCall(AbstractProxyCreator.SourcePrinter out,
String eventValue,
String eventName,
String parameterClassName,
String cruxEvent,
com.google.gwt.core.ext.GeneratorContext context,
View view,
ControllerAccessHandler controllerAccessHandler,
DeviceAdaptive.Device device,
boolean allowNoParameterCall)
|
static void |
printEvtCall(AbstractProxyCreator.SourcePrinter out,
String eventValue,
String eventName,
String eventClassName,
String cruxEvent,
WidgetCreator<?> creator)
|
static void |
printEvtCall(AbstractProxyCreator.SourcePrinter out,
String eventValue,
String eventName,
String eventClassName,
String cruxEvent,
WidgetCreator<?> creator,
boolean allowNoParameterCall)
|
static void |
printPostProcessingEvtCall(String eventValue,
String eventName,
Class<?> eventClass,
String cruxEvent,
WidgetCreator<?> creator)
|
void |
printPostProcessingEvtCall(String eventValue,
String cruxEvent,
DeviceAdaptive.Device device)
|
void |
processEvent(AbstractProxyCreator.SourcePrinter out,
String eventValue,
String widget,
String widgetId)
|
void |
processEvent(AbstractProxyCreator.SourcePrinter out,
WidgetCreatorContext context,
String eventValue)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvtProcessor
public EvtProcessor(WidgetCreator<?> widgetCreator)
- Parameters:
widgetCreator -
processEvent
public void processEvent(AbstractProxyCreator.SourcePrinter out,
WidgetCreatorContext context,
String eventValue)
- Parameters:
out - context - eventValue -
printEvtCall
public void printEvtCall(AbstractProxyCreator.SourcePrinter out,
String eventValue,
String cruxEvent)
- Parameters:
out - eventValue - cruxEvent -
printEvtCall
public static void printEvtCall(AbstractProxyCreator.SourcePrinter out,
String eventValue,
String eventName,
Class<?> eventClass,
String cruxEvent,
WidgetCreator<?> creator)
- Parameters:
out - eventValue - eventName - eventClass - cruxEvent - creator -
printEvtCall
public static void printEvtCall(AbstractProxyCreator.SourcePrinter out,
String eventValue,
String eventName,
String eventClassName,
String cruxEvent,
WidgetCreator<?> creator)
- Parameters:
out - eventValue - eventName - eventClassName - cruxEvent - creator -
printEvtCall
public static void printEvtCall(AbstractProxyCreator.SourcePrinter out,
String eventValue,
String eventName,
String eventClassName,
String cruxEvent,
WidgetCreator<?> creator,
boolean allowNoParameterCall)
printEvtCall
public static void printEvtCall(AbstractProxyCreator.SourcePrinter out,
String eventValue,
String eventName,
Class<?> eventClass,
String cruxEvent,
com.google.gwt.core.ext.GeneratorContext context,
View view,
ControllerAccessHandler controllerAccessHandler,
DeviceAdaptive.Device device)
- Parameters:
out - eventValue - eventName - eventClass - cruxEvent - context - view - controllerAccessHandler -
printEvtCall
public static void printEvtCall(AbstractProxyCreator.SourcePrinter out,
String eventValue,
String eventName,
String parameterClassName,
String cruxEvent,
com.google.gwt.core.ext.GeneratorContext context,
View view,
ControllerAccessHandler controllerAccessHandler,
DeviceAdaptive.Device device,
boolean allowNoParameterCall)
- Parameters:
out - eventValue - eventName - parameterClassName - cruxEvent - context - view - controllerAccessHandler -
checkEvtCall
public static boolean checkEvtCall(String eventValue,
String eventName,
String parameterClassName,
com.google.gwt.core.ext.GeneratorContext context,
View view,
DeviceAdaptive.Device device,
boolean allowNoParameterCall)
- Parameters:
eventValue - eventName - parameterClassName - context - view - device - allowNoParameterCall -
printPostProcessingEvtCall
public void printPostProcessingEvtCall(String eventValue,
String cruxEvent,
DeviceAdaptive.Device device)
- Parameters:
eventValue - cruxEvent -
printPostProcessingEvtCall
public static void printPostProcessingEvtCall(String eventValue,
String eventName,
Class<?> eventClass,
String cruxEvent,
WidgetCreator<?> creator)
- Parameters:
eventValue - eventName - eventClass - cruxEvent - creator -
processEvent
public void processEvent(AbstractProxyCreator.SourcePrinter out,
String eventValue,
String widget,
String widgetId)
- Parameters:
out - eventValue - widget - widgetId -
getEventClass
public abstract Class<?> getEventClass()
- Returns:
getEventHandlerClass
public abstract Class<?> getEventHandlerClass()
- Returns:
getEventName
public abstract String getEventName()
- Returns:
Copyright © 2014. All rights reserved.