ifm::DockManager Class Reference

Inheritance diagram for ifm::DockManager:

ifm::DefaultDockManager

List of all members.


Detailed Description

Defines the basic interface for DockManagers.

DockManagers are objects which implement docking functionality. They are designed to be extended to allow for modifications to the feel of the interface. DockManager serves as the base interface that InterfaceManager uses to interact with the DockManager. DockManager implementations should provide many virtual methods which perform small parts of the overall implementation to allow the feel of the interface to be changed without having to rewrite large chunks of code.

Public Member Functions

virtual void cancel_drag ()=0
virtual Componentget_dragged_component () const =0
virtual bool on_left_down (const MouseEventData &data)=0
virtual bool on_left_up (const MouseEventData &data)=0
virtual bool on_mouse_move (const MouseEventData &data)=0
virtual ~DockManager ()


Constructor & Destructor Documentation

ifm::DockManager::~DockManager (  )  [virtual]


Member Function Documentation

virtual void ifm::DockManager::cancel_drag (  )  [pure virtual]

Cancels the current drag operation.

Implemented in ifm::DefaultDockManager.

virtual Component* ifm::DockManager::get_dragged_component (  )  const [pure virtual]

Returns:
The Component currently being dragged, or 0 if no component is being dragged.

Implemented in ifm::DefaultDockManager.

virtual bool ifm::DockManager::on_left_down ( const MouseEventData data  )  [pure virtual]

Processes a left mouse button down event.

Parameters:
data The data for this event
Returns:
Whether or not the event was processed.

Implemented in ifm::DefaultDockManager.

virtual bool ifm::DockManager::on_left_up ( const MouseEventData data  )  [pure virtual]

Processes a left mouse button up event.

Parameters:
data The data for this event
Returns:
Whether or not the event was processed.

Implemented in ifm::DefaultDockManager.

virtual bool ifm::DockManager::on_mouse_move ( const MouseEventData data  )  [pure virtual]

Processes a mouse move event.

Parameters:
data The data for this event
Returns:
Whether or not the event was processed.

Implemented in ifm::DefaultDockManager.


doxygen Get IFM - Interface Management System at SourceForge.net. Fast, secure and Free Open Source software downloads