Package com._1c.g5.v8.dt.form.model
Class NativeRenderEvent
java.lang.Object
com._1c.g5.v8.dt.form.model.NativeRenderEvent
Native render event container and handler for interactions with the form
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumForm native render event type. -
Constructor Summary
ConstructorsConstructorDescriptionEmpty render event constructorNativeRenderEvent(NativeRenderEvent.NativeRenderEventType type, long windowHandle, int startX, int startY, int endX, int endY) Render event constructor for the specified window -
Method Summary
-
Constructor Details
-
NativeRenderEvent
public NativeRenderEvent()Empty render event constructor -
NativeRenderEvent
public NativeRenderEvent(NativeRenderEvent.NativeRenderEventType type, long windowHandle, int startX, int startY, int endX, int endY) Render event constructor for the specified window- Parameters:
type- event type, cannot benullwindowHandle- active event window handlestartX- X position of cursor in creating eventstartY- Y position of cursor in creating eventendX- X end position of cursor in creating eventendY- Y end position of cursor in creating event
-
-
Method Details
-
setType
Sets event type- Parameters:
type- the specified event type, cannot benull
-
getType
Gets actual event type- Returns:
- actual event type, never
null
-
windowHandle
public long windowHandle()Active window handle for this event- Returns:
- active window handle (HWND) or 0 if no active event window was set for the current event
-
getData
public long getData()Gets event data as long number created by combine 4 short value of begin and end position of event- Returns:
- event data as long number created by combine 4 short value of begin and end position of event
-