Rocket::Controls::InputTypeRadio Class Reference

#include <InputTypeRadio.h>

Inheritance diagram for Rocket::Controls::InputTypeRadio:
Collaboration diagram for Rocket::Controls::InputTypeRadio:

Public Member Functions

 InputTypeRadio (ElementFormControlInput *element)
virtual bool IsSubmitted ()
virtual bool OnAttributeChange (const Core::AttributeNameList &changed_attributes)
virtual void OnChildAdd ()
 Pops the element's radio set if we are checked.
virtual void ProcessEvent (Core::Event &event)
virtual bool GetIntrinsicDimensions (Rocket::Core::Vector2f &dimensions)

Detailed Description

A radio button input type handler.

Author:
Peter Curry

Member Function Documentation

bool Rocket::Controls::InputTypeRadio::IsSubmitted (  )  [virtual]

Returns if this value should be submitted with the form.

Returns:
True if the form control is to be submitted, false otherwise.

Reimplemented from Rocket::Controls::InputType.

bool Rocket::Controls::InputTypeRadio::OnAttributeChange ( const Core::AttributeNameList &  changed_attributes  )  [virtual]

Checks for necessary functional changes in the control as a result of changed attributes.

Parameters:
[in] changed_attributes The list of changed attributes.
Returns:
True if no layout is required, false if the layout needs to be dirtied.

Reimplemented from Rocket::Controls::InputType.

void Rocket::Controls::InputTypeRadio::ProcessEvent ( Core::Event event  )  [virtual]

Checks for necessary functional changes in the control as a result of the event.

Parameters:
[in] event The event to process.

Implements Rocket::Controls::InputType.

bool Rocket::Controls::InputTypeRadio::GetIntrinsicDimensions ( Rocket::Core::Vector2f dimensions  )  [virtual]

Sizes the dimensions to the element's inherent size.

Returns:
True.

Implements Rocket::Controls::InputType.


The documentation for this class was generated from the following files: