Rocket::Controls::SelectOption Class Reference

#include <SelectOption.h>

Collaboration diagram for Rocket::Controls::SelectOption:

Public Member Functions

 SelectOption (Core::Element *element, const Rocket::Core::String &value, bool selectable)
Core::ElementGetElement ()
const Rocket::Core::StringGetValue () const
bool IsSelectable ()

Detailed Description

Represents individual options within a select control.

Author:
Peter Curry

Member Function Documentation

Core::Element * Rocket::Controls::SelectOption::GetElement (  ) 

Returns the element that represents the option visually.

Returns:
The option's element.

const Rocket::Core::String & Rocket::Controls::SelectOption::GetValue (  )  const

Returns the value of the option.

Returns:
The option's value.

bool Rocket::Controls::SelectOption::IsSelectable (  )  [inline]

Returns true if the item is selectable.

Returns:
True if the item is selectable.


The documentation for this class was generated from the following files:
  • Include/Rocket/Controls/SelectOption.h
  • Source/Controls/SelectOption.cpp