eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HierarchicalDropTargetController':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: HierarchicalDropTargetController


Inheritance:

   Object
   |
   +--HierarchicalDropTargetController

Package:
stx:libwidg2
Category:
Interface-DragAndDrop
Version:
rev: 1.9 date: 2018/06/15 00:48:45
user: cg
file: HierarchicalDropTargetController.st directory: libwidg2
module: stx stc-classLibrary: libwidg2

Class protocol:

constants
o  delayMilliSecondsBeforeExpand

instance creation
o  receiver: aReceiver argument: anArgument dropSelector: aDropSelector canDropSelector: aCanDropSelector

o  receiver: aReceiver argument: anArgument dropSelector: aDropSelector canDropSelector: aCanDropSelector canExpandSelector: aCanExpandSelector

o  receiver: aReceiver dropSelector: aDropSelector canDropSelector: aCanDropSelector

o  receiver: aReceiver dropSelector: aDropSelector canDropSelector: aCanDropSelector canExpandSelector: aCanExpandSelector


Instance protocol:

drop actions
o  canDrop: aDropContext
return true, if the DropContext can be dropped into the list of items

o  drop: aDropContext
drop the dropContext into the hierachical list of items

o  dropEnter: aDropContext
a drop operation enters my widget; set the highlightMode in the target widget

o  dropLeave: aDropContext
restore drop indications drawn...

o  dropOver: aDropContext
never setup by dropEnter:

instance creation
o  receiver: aReceiver argument: anArgument dropSelector: aDropSelector canDropSelector: aCanDropSelector canExpandSelector: aCanExpandSelector

private
o  changeDropLineTo: aLineOrNil in: aDropContext
nothing changed

o  expandForDrop: aDropContext at: aLnNr
work around X11 draw problems



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 23 Apr 2024 23:36:33 GMT