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 Component * | get_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 () |
ifm::DockManager::~DockManager | ( | ) | [virtual] |
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] |
Implemented in ifm::DefaultDockManager.
virtual bool ifm::DockManager::on_left_down | ( | const MouseEventData & | data | ) | [pure virtual] |
Processes a left mouse button down event.
data | The data for this event |
Implemented in ifm::DefaultDockManager.
virtual bool ifm::DockManager::on_left_up | ( | const MouseEventData & | data | ) | [pure virtual] |
Processes a left mouse button up event.
data | The data for this event |
Implemented in ifm::DefaultDockManager.
virtual bool ifm::DockManager::on_mouse_move | ( | const MouseEventData & | data | ) | [pure virtual] |
Processes a mouse move event.
data | The data for this event |
Implemented in ifm::DefaultDockManager.