PControlEventHandler Class

PControlEventHandler implements simple focus based navigation for PControl nodes.

For a list of all members of this type, see PControlEventHandler Members.


public class PControlEventHandler : PBasicInputEventHandler

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


When a mouse button is pressed over a PControl node, the view is zoomed so that the node is at the natural size of the control (100 percent scale). The view is also panned, if necessary, to keep the node on the screen. The PControl node is then switched to editing mode.

A control can only have one parent. But, Piccolo nodes can be viewed by multiple cameras, which in turn may be displayed on multiple canvases. For simplicity, this event handler only allows one PControl node to be editable at a time. So, whenever a new PControl gets the focus, the previously focused node is made non-editable.


Namespace: UMD.HCIL.PiccoloX.Events

Assembly: UMD.HCIL.PiccoloX (in UMD.HCIL.PiccoloX.dll)

See Also

PControlEventHandler Members | UMD.HCIL.PiccoloX.Events Namespace

Web Accessibility