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

VCF::ControlEvent Class Reference

ControlEvent are events generated by changes made to the control. More...

#include <vcf/ApplicationKit/Control.h>

Inheritance diagram for VCF::ControlEvent:

VCF::Event VCF::Object List of all members.

Public Member Functions

 ControlEvent (Object *source)
 ControlEvent (Object *source, const uint32 &eventType)
 ControlEvent (Object *source, const Size &val)
 use this constructor for creating CONTROL_SIZED events
 ControlEvent (Object *source, const Point &val)
 use this constructor for creating CONTROL_POSITIONED events
 ControlEvent (Object *source, Control *val)
 use this constructor for creating CONTROL_PARENT_CHANGED events
 ControlEvent (Object *source, const uint32 &eventType, GraphicsContext *val)
 use this constructor for creating BEFORE_CONTROL_PAINTED or AFTER_CONTROL_PAINTED events
 ControlEvent (const ControlEvent &rhs)
virtual ~ControlEvent ()
ControlEventoperator= (const ControlEvent &rhs)
virtual Objectclone (bool deep=false)

Public Attributes

Size newSize
Point newPosition
ControlnewParent
GraphicsContextgc
ModeloldModel

Detailed Description

ControlEvent are events generated by changes made to the control.

Currently there are 3 types, one for controls being resized, one for a control's position being changed, and one for the control's parent being changed.

Version:
1.0
Author:
Jim Crafton


Constructor & Destructor Documentation

VCF::ControlEvent::ControlEvent Object source  )  [inline]
 

VCF::ControlEvent::ControlEvent Object source,
const uint32 eventType
[inline]
 

VCF::ControlEvent::ControlEvent Object source,
const Size val
[inline]
 

use this constructor for creating CONTROL_SIZED events

VCF::ControlEvent::ControlEvent Object source,
const Point val
[inline]
 

use this constructor for creating CONTROL_POSITIONED events

VCF::ControlEvent::ControlEvent Object source,
Control val
[inline]
 

use this constructor for creating CONTROL_PARENT_CHANGED events

VCF::ControlEvent::ControlEvent Object source,
const uint32 eventType,
GraphicsContext val
[inline]
 

use this constructor for creating BEFORE_CONTROL_PAINTED or AFTER_CONTROL_PAINTED events

VCF::ControlEvent::ControlEvent const ControlEvent rhs  )  [inline]
 

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


Member Function Documentation

virtual Object* VCF::ControlEvent::clone bool  deep = false  )  [inline, virtual]
 

ControlEvent& VCF::ControlEvent::operator= const ControlEvent rhs  )  [inline]
 


Member Data Documentation

GraphicsContext* VCF::ControlEvent::gc
 

Control* VCF::ControlEvent::newParent
 

Point VCF::ControlEvent::newPosition
 

Size VCF::ControlEvent::newSize
 

Model* VCF::ControlEvent::oldModel
 


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