Package overit.geocall.ui
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 Summary
Modifier and TypeMethodDescriptiondrag(DragDrop.Part source) Implements the drag operationvoiddragDrop(DragDrop.Part source, DragDrop.Part destination, boolean moving) Implements the operation of drag and drop on the same objectvoiddragged(DragDrop.Part source, DragDrop.Part destination, Object dragged, boolean moved) Called before the object is droppeddrop(DragDrop.Part source, DragDrop.Part destination, Object toDrop) Implements the drag operation
-
Method Details
-
drag
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, aDragDropExceptionis 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 draggingdestination- The destination object, where we are droppingtoDrop- 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, aDragDropExceptionis 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 draggingdestination- The destination object, where we are droppingdragged- The object that is draggedmoved- 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, aDragDropExceptionis raised
-
dragDrop
Implements the operation of drag and drop on the same object- Parameters:
source- The source object, from where we are draggingdestination- The destination object, where we are droppingmoving- true if the operation removes the values dragged from the source (like a cut operation), false otherwise (like a copy operation)
-