Rocket::Controls::InputTypeRange Class Reference

#include <InputTypeRange.h>

Inheritance diagram for Rocket::Controls::InputTypeRange:
Collaboration diagram for Rocket::Controls::InputTypeRange:

Public Member Functions

 InputTypeRange (ElementFormControlInput *element)
virtual Rocket::Core::String GetValue () const
virtual void OnUpdate ()
 Called every update from the host element.
virtual bool OnAttributeChange (const Core::AttributeNameList &changed_attributes)
virtual void ProcessEvent (Core::Event &event)
virtual bool GetIntrinsicDimensions (Rocket::Core::Vector2f &dimensions)

Detailed Description

A range input type handler.

Author:
Peter Curry

Member Function Documentation

Rocket::Core::String Rocket::Controls::InputTypeRange::GetValue (  )  const [virtual]

Returns a string representation of the current value of the form control.

Returns:
The value of the form control.

Reimplemented from Rocket::Controls::InputType.

bool Rocket::Controls::InputTypeRange::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::InputTypeRange::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::InputTypeRange::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: