C# Class Outliner.DragDropHandlers.DragDropHandler

ファイルを表示 Open project: Pjanssen/Outliner Class Usage Examples

Public Methods

Method Description
DragDropHandler ( Outliner tree, OutlinerNode data ) : System
GetDragDropEffect ( IDataObject dragData ) : DragDropEffects
GetDragDropHandlerForNode ( Outliner tree, OutlinerNode node ) : DragDropHandler
GetNodesFromDataObject ( IDataObject dragData ) : Outliner.Scene.OutlinerNode[]
IsValidDropTarget ( IDataObject dragData ) : System.Boolean
ItemDropped ( IDataObject dragData ) : System.Boolean

Protected Methods

Method Description
IsDroppableNode ( OutlinerNode o ) : System.Boolean
getChildHandles ( OutlinerNode nodes ) : System.Int32[]

Private Methods

Method Description
arrayContains ( OutlinerNode nodes, OutlinerNode n ) : System.Boolean
getChildHandles_intern ( OutlinerNode n, OutlinerNode nodes, List &handles ) : void

Method Details

DragDropHandler() public method

public DragDropHandler ( Outliner tree, OutlinerNode data ) : System
tree Outliner
data Outliner.Scene.OutlinerNode
return System

GetDragDropEffect() public method

public GetDragDropEffect ( IDataObject dragData ) : DragDropEffects
dragData IDataObject
return DragDropEffects

GetDragDropHandlerForNode() public static method

public static GetDragDropHandlerForNode ( Outliner tree, OutlinerNode node ) : DragDropHandler
tree Outliner
node Outliner.Scene.OutlinerNode
return DragDropHandler

GetNodesFromDataObject() public static method

public static GetNodesFromDataObject ( IDataObject dragData ) : Outliner.Scene.OutlinerNode[]
dragData IDataObject
return Outliner.Scene.OutlinerNode[]

IsDroppableNode() protected method

protected IsDroppableNode ( OutlinerNode o ) : System.Boolean
o Outliner.Scene.OutlinerNode
return System.Boolean

IsValidDropTarget() public method

public IsValidDropTarget ( IDataObject dragData ) : System.Boolean
dragData IDataObject
return System.Boolean

ItemDropped() public method

public ItemDropped ( IDataObject dragData ) : System.Boolean
dragData IDataObject
return System.Boolean

getChildHandles() protected method

protected getChildHandles ( OutlinerNode nodes ) : System.Int32[]
nodes Outliner.Scene.OutlinerNode
return System.Int32[]