Interface DraggableDroppable

All Known Implementing Classes:
ActivityCalendarView, BundleMapPanel, CalendarView, CardView, CardViewWfm, overit.geocallapp.wfm.schedulazione.manuale.attivitaschedulabili.CAttivitaSchedulabili, overit.geocallapp.wfm.schedulazione.manuale.attivitaurgenti.CAttivitaUrgenti, CrewShellCompositionServerTableView, CrewShellDraftCompositionServerTableView, CVMaterials, CVViewMeter, overit.geocallapp.wfm.schedulazione.cristallizzazione.monitorattivita.pianogiornaliero.supporto.DailyPlanCardView, EventServerTableView, Form, overit.geocall.basic.geos.ui.OpenLayersMapPanel, OutputForm, PermitResourceViewMultimediali, ResourceForecastCalendarView, ResourceForecastComparatorCalendarView, ResourceView, overit.geocallapp.wfm.ui.container.ResourceViewMultimediali, SchedulableActivities, SchedulableBundles, SchedulableBundlesCardView, ServerTableView, ServerTableViewAccounting, ServerTableViewActiveGroupingConstraint, ServerTableViewActivityForecastHeader, ServerTableViewActivityForecastHeaderSelection, ServerTableViewAddress, ServerTableViewAgendaHistory, ServerTableViewAllocateTechnicians, ServerTableViewBundle, ServerTableViewBundleOperationOrdering, ServerTableViewBundlingRule, ServerTableViewCapacityPlanningActivityDetailResult, ServerTableViewCapacityPlanningActivityResultGantt, ServerTableViewCapacityPlanningResourceDetailResult, ServerTableViewCapacityPlanningScenario, ServerTableViewCopyForecastResourceDetail, ServerTableViewCrewShell, ServerTableViewCrewShellAddress, ServerTableViewCrewShellModel, ServerTableViewCriticalActivityRules, ServerTableViewDailyPlanOrderConfiguration, ServerTableViewDataCollectionSheet, ServerTableViewDataCollectionTemplate, ServerTableViewDataCollectionTemplateStructure, ServerTableViewDataCollectionTemplateStructureGantt, ServerTableViewDCSSchedulingUser, ServerTableViewExpectedMaterial, ServerTableViewForecastActivityDetailGantt, ServerTableViewForecastActivityPriority, ServerTableViewForecastGroupingConstraint, ServerTableViewForecastHeader, ServerTableViewForecastShiftModel, ServerTableViewForecastShiftModelDetail, ServerTableViewImmediateSchedulingActivities, ServerTableViewImmediateSchedulingActivitiesHistory, ServerTableViewImportForecast, ServerTableViewImportForecastResources, ServerTableViewImportOperationActivityFromWo, ServerTableViewImportWarehouseMaterial, ServerTableViewLogDetail, ServerTableViewLogMaster, ServerTableViewLogMaster, ServerTableViewMaterial, ServerTableViewMobileErrorLog, ServerTableViewMultistageGroup, ServerTableViewMultistageWOOperation, ServerTableViewNotifications, ServerTableViewObtainedPermitHistory, ServerTableViewOperationActivity, ServerTableViewOperationCenterAddress, ServerTableViewPermitSingleIntervention, ServerTableViewRequiredPermitHistory, ServerTableViewResourceAddress, ServerTableViewResourceForecastHeaderSelection, ServerTableViewRoughPlanning, ServerTableViewRoughPlanningActivities, ServerTableViewSchedulingProposal, ServerTableViewSchedulingUser, overit.geocallapp.wfm.schedulazione.odl.ricerca.ServerTableViewSearchWO, ServerTableViewSelectionForecastResource, ServerTableViewSelectionRoughPlanningResources, ServerTableViewSerializedMaterial, ServerTableViewStock, ServerTableViewStockDetail, ServerTableViewStockHistory, ServerTableViewTechnicalObject, ServerTableViewTechnicalObjectType, ServerTableViewTimesheet, ServerTableViewTooltipConfiguration, ServerTableViewTooltipConfigurationRules, ServerTableViewTransferRequest, ServerTableViewUser, ServerTableViewWarehouse, ServerTableViewWarehouseMaterial, ServerTableViewWarehouseOperation, ServerTableViewWithCount, ServerTableViewWorkloadDistributionRule, ServerTableViewWorkOrderNote, ServerTableViewWorkOrderOperationType, ServerTableViewWorkOrderType, SynchronizedPlanningMonitorTableView, TableView, TableViewDD, TableViewSchedulableActivities, TooltipConfigurationTreeModelTableView, overit.geocallapp.wfm.ui.container.TreeModelTableView, TVGanttTest, UrgentActivities, overit.geocallapp.wfm.gis.layer.geometry.ol.WFMEditableLayerMapPanel, overit.geocallapp.wfm.geos.ui.WFMOpenLayersMapPanel

public interface DraggableDroppable
Interface that must be implemented by all the graphical user interface components that can be dragged and on which it is possible to drop something
  • Method Details

    • drag

      Object drag(DragDrop.Part source) throws DragDropException
      Implements the drag operation
      Parameters:
      source - The source object, from where we are dragging
      Returns:
      An object results of the drag operation
      Throws:
      DragDropException - If an error occurs during the drag operation, a DragDropException is raised
    • drop

      Object drop(DragDrop.Part source, DragDrop.Part destination, Object toDrop) throws DragDropException
      Implements the drag operation
      Parameters:
      source - The source object, from where we are dragging
      destination - The destination object, where we are dropping
      toDrop - The object that we want to drop
      Returns:
      An object results of the drop operation
      Throws:
      DragDropException - If an error occurs during the drop operation, a DragDropException is raised
    • dragged

      void dragged(DragDrop.Part source, DragDrop.Part destination, Object dragged, boolean moved) throws DragDropException
      Called before the object is dropped
      Parameters:
      source - The source object, from which we are dragging
      destination - The destination object, where we are dropping
      dragged - The object that is dragged
      moved - true if the operation removes the values dragged from the source (like a cut operation), false otherwise (like a copy operation)
      Throws:
      DragDropException - If an error occurs during the operation, a DragDropException is raised
    • dragDrop

      void dragDrop(DragDrop.Part source, DragDrop.Part destination, boolean moving)
      Implements the operation of drag and drop on the same object
      Parameters:
      source - The source object, from where we are dragging
      destination - The destination object, where we are dropping
      moving - true if the operation removes the values dragged from the source (like a cut operation), false otherwise (like a copy operation)