28 #ifndef __vtkKWDragAndDropTargetSet_h
29 #define __vtkKWDragAndDropTargetSet_h
34 class vtkKWDragAndDropTargetSetInternals;
41 void PrintSelf(ostream& os, vtkIndent indent);
45 virtual void SetEnable(
int);
46 vtkBooleanMacro(Enable,
int);
47 vtkGetMacro(Enable,
int);
72 virtual int GetNumberOfTargets();
93 virtual int SetTargetStartCommand(
94 vtkKWWidget *target, vtkObject *
object,
const char *method);
95 virtual int SetTargetPerformCommand(
96 vtkKWWidget *target, vtkObject *
object,
const char *method);
97 virtual int SetTargetEndCommand(
98 vtkKWWidget *target, vtkObject *
object,
const char *method);
115 virtual void SetStartCommand(vtkObject *
object,
const char *method);
116 virtual void SetPerformCommand(vtkObject *
object,
const char *method);
117 virtual void SetEndCommand(vtkObject *
object,
const char *method);
121 virtual void StartCallback(
int x,
int y);
122 virtual void PerformCallback(
int x,
int y);
123 virtual void EndCallback(
int x,
int y);
141 void SetStartCommand(
const char*);
142 void SetEndCommand(
const char*);
143 void SetPerformCommand(
const char*);
152 friend class vtkKWDragAndDropTargetSetInternals;
166 virtual void InvokeCommandWithCoordinates(
const char *command,
int x,
int y);
167 virtual void InvokeStartCommand(
int x,
int y);
168 virtual void InvokePerformCommand(
int x,
int y);
169 virtual void InvokeEndCommand(
int x,
int y);
171 virtual void AddBindings();
172 virtual void RemoveBindings();
173 virtual void DeleteAllTargets();