Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::ControlEditor Class Reference

A ControlEditor is an additional interface used to edit an entire Control instance at once, as opposed to a PropertyEditor which only edits a single property of a specific component or object. More...

#include <vcf/ApplicationKit/ComponentEditor.h>

Inheritance diagram for VCF::ControlEditor:

VCF::Interface VCF::AbstractControlEditor List of all members.

Public Member Functions

virtual ~ControlEditor ()
virtual bool isParentValid (Control *parent)=0
 indicates whether the passed in parent is OK for this editor's control to use.
virtual ControlgetControl ()=0
virtual void setControl (Control *control)=0
 Sets the control for this editor.
virtual void mouseDown (MouseEvent *event)=0
 called from the designer whenever a mouse down event is generated by the control in design mode.
virtual void mouseMove (MouseEvent *event)=0
 called from the designer whenever a mouse move event is generated by the control in design mode.
virtual void mouseUp (MouseEvent *event)=0
 called from the designer whenever a mouse up event is generated by the control in design mode.
virtual void mouseDblClick (MouseEvent *event)=0
 called from the designer whenever a mouse double click event is generated by the control in design mode.

Detailed Description

A ControlEditor is an additional interface used to edit an entire Control instance at once, as opposed to a PropertyEditor which only edits a single property of a specific component or object.

The ControlEditor interface provides several extra methods specific to editing controls.


Constructor & Destructor Documentation

virtual VCF::ControlEditor::~ControlEditor  )  [inline, virtual]
 


Member Function Documentation

virtual Control* VCF::ControlEditor::getControl  )  [pure virtual]
 

Returns:
Control the control this Editor is currently attached to.

Implemented in VCF::AbstractControlEditor.

virtual bool VCF::ControlEditor::isParentValid Control parent  )  [pure virtual]
 

indicates whether the passed in parent is OK for this editor's control to use.

Parameters:
Control* a pointer to the potential parent to be evaluated by the editor for this control.
Returns:
bool returns false if the parent is unacceptable, for instance if it were the wrong type of class, or true if it is OK to use the parent for this control.

Implemented in VCF::AbstractControlEditor.

virtual void VCF::ControlEditor::mouseDblClick MouseEvent event  )  [pure virtual]
 

called from the designer whenever a mouse double click event is generated by the control in design mode.

Implemented in VCF::AbstractControlEditor.

virtual void VCF::ControlEditor::mouseDown MouseEvent event  )  [pure virtual]
 

called from the designer whenever a mouse down event is generated by the control in design mode.

Implemented in VCF::AbstractControlEditor.

virtual void VCF::ControlEditor::mouseMove MouseEvent event  )  [pure virtual]
 

called from the designer whenever a mouse move event is generated by the control in design mode.

Implemented in VCF::AbstractControlEditor.

virtual void VCF::ControlEditor::mouseUp MouseEvent event  )  [pure virtual]
 

called from the designer whenever a mouse up event is generated by the control in design mode.

Implemented in VCF::AbstractControlEditor.

virtual void VCF::ControlEditor::setControl Control control  )  [pure virtual]
 

Sets the control for this editor.

Implemented in VCF::AbstractControlEditor.


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information