Rocket::Controls::ElementForm Class Reference

#include <ElementForm.h>

Inheritance diagram for Rocket::Controls::ElementForm:
Collaboration diagram for Rocket::Controls::ElementForm:

Public Member Functions

 ElementForm (const Rocket::Core::String &tag)
void Submit (const Rocket::Core::String &name="", const Rocket::Core::String &submit_value="")

Detailed Description

A specialisation of the generic Core::Element representing a form element.

Author:
Peter Curry

Constructor & Destructor Documentation

Rocket::Controls::ElementForm::ElementForm ( const Rocket::Core::String tag  ) 

Constructs a new ElementForm. This should not be called directly; use the Factory instead.

Parameters:
[in] tag The tag the element was declared as in RML.


Member Function Documentation

void Rocket::Controls::ElementForm::Submit ( const Rocket::Core::String name = "",
const Rocket::Core::String submit_value = "" 
)

Submits the form.

Parameters:
[in] name The name of the item doing the submit
[in] submit_value The value to send through as the 'submit' parameter.


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