Class f_dragAndDropEngine

Object
  extended by f_object
      extended by f_dragAndDropEngine
All Implemented Interfaces:
fa_autoScroll, fa_screenAutoScroll

public class f_dragAndDropEngine
extends f_object
implements fa_screenAutoScroll

f_dragAndDropEngine class


Method Summary
static Array ComputeTypes(Array sourceTypes, Array targetTypes)
           
static undefined Finalizer()
           
static boolean IsDragInProgress()
           
static void RegisterDragAndDropPopup(String name, Function constructor)
           
static void SetDefaultDragAndDropPopup(String... name)
           
 boolean _dragStart(Event jsEvent)
           
 f_dragAndDropInfo f_addDragAndDropInfoByName(String... name)
           
 undefined f_finalize()
           
 last f_getLastMousePosition()
           
 Map f_getSourceAdditionnalInformations()
           
 source f_getSourceComponent()
           
 first f_getSourceItem()
           
 first f_getSourceItemValue()
           
 Array f_getSourceItems()
           
 Array f_getSourceItemsValue()
           
 void f_setSourceAdditionnalInformations(Map infos)
           
 void f_setTargetAdditionnalInformations(Map infos)
           
 boolean f_start(Event jsEvent, Object selection)
           
 void f_updateMousePosition()
           
 void fa_autoScrollPerformed()
           
 last fa_getLastMousePosition()
           
 the fa_getScrollableContainer()
           
 
Methods inherited from class f_object
f_getClass, toString
 
Methods inherited from class Object
toString
 

Method Detail

IsDragInProgress

public static boolean IsDragInProgress()

f_setSourceAdditionnalInformations

public void f_setSourceAdditionnalInformations(Map infos)
Parameters:
infos -

SetDefaultDragAndDropPopup

public static void SetDefaultDragAndDropPopup(String... name)
Parameters:
name -

f_getSourceItems

public Array f_getSourceItems()
Returns:
of sourceItems

f_getSourceItemValue

public first f_getSourceItemValue()
Returns:
sourceItemValue

f_start

public boolean f_start(Event jsEvent,
                       Object selection)
Parameters:
jsEvent -
selection -

f_finalize

public undefined f_finalize()

ComputeTypes

public static Array ComputeTypes(Array sourceTypes,
                                 Array targetTypes)
Parameters:
sourceTypes -
targetTypes -
Returns:
selectedTypes

fa_getLastMousePosition

public last fa_getLastMousePosition()
Returns:
mouse position

f_updateMousePosition

public void f_updateMousePosition()

f_getLastMousePosition

public last f_getLastMousePosition()
Returns:
mouse position

Finalizer

public static undefined Finalizer()

f_getSourceItemsValue

public Array f_getSourceItemsValue()
Returns:
of sourceItemValues

fa_getScrollableContainer

public the fa_getScrollableContainer()
Returns:
scrollable container

f_setTargetAdditionnalInformations

public void f_setTargetAdditionnalInformations(Map infos)
Parameters:
infos -

f_addDragAndDropInfoByName

public f_dragAndDropInfo f_addDragAndDropInfoByName(String... name)
Parameters:
name -
Returns:
Las drag and drop info popup instance.

f_getSourceItem

public first f_getSourceItem()
Returns:
sourceItem

f_getSourceAdditionnalInformations

public Map f_getSourceAdditionnalInformations()
Returns:
infos

f_getSourceComponent

public source f_getSourceComponent()
Returns:
Component

_dragStart

public boolean _dragStart(Event jsEvent)
Parameters:
jsEvent -

RegisterDragAndDropPopup

public static void RegisterDragAndDropPopup(String name,
                                            Function constructor)
Parameters:
name -
constructor -

fa_autoScrollPerformed

public void fa_autoScrollPerformed()