C# Класс UMD.HCIL.GraphEditor.GraphEditor.NodeDragHandler

Simple event handler which applies the following actions to every node it is called on: * Turn node red when the mouse goes over the node * Turn node white when the mouse exits the node * Drag the node, and associated edges on mousedrag It assumes that the node's Tag references an ArrayList with a list of associated edges where each edge is a PPath which each have a Tag that references an ArrayList with a list of associated nodes.
Наследование: UMD.HCIL.Piccolo.Event.PDragEventHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
DoesAcceptEvent ( PInputEventArgs e ) : bool

Защищенные методы

Метод Описание
OnDrag ( object sender, PInputEventArgs e ) : void
OnStartDrag ( object sender, PInputEventArgs e ) : void

Описание методов

DoesAcceptEvent() публичный Метод

public DoesAcceptEvent ( PInputEventArgs e ) : bool
e UMD.HCIL.Piccolo.Event.PInputEventArgs
Результат bool

OnDrag() защищенный Метод

protected OnDrag ( object sender, PInputEventArgs e ) : void
sender object
e UMD.HCIL.Piccolo.Event.PInputEventArgs
Результат void

OnStartDrag() защищенный Метод

protected OnStartDrag ( object sender, PInputEventArgs e ) : void
sender object
e UMD.HCIL.Piccolo.Event.PInputEventArgs
Результат void