#include <Button.h>
Public Member Functions | |
Button (std::string the_url, std::string top, std::string left, std::string the_requestID, std::string the_name) | |
void | printHTML (xgi::Output *out) |
~Button () | |
Public Member Functions inherited from WebElement | |
std::string | get_pix_left () |
std::string | get_pix_top () |
std::string | get_url () |
WebElement (std::string the_url, std::string top, std::string left) | |
virtual | ~WebElement () |
Private Attributes | |
std::string | name |
the name that will appear on the button More... | |
std::string | requestID |
the string connected to the callback, eg "Default" More... | |
This is the class that should be instantiated in case the user wants to have a button on the web page, which is connected to a function defined in your web client. Pressing this button will result in the javascript function makeRequest being called and the request "/Request?RequestID=[Your request name]" being submitted to the server.
|
inline |
Definition at line 28 of file Button.h.
References name, and requestID.
|
virtual |
Implements WebElement.
Definition at line 4 of file Button.cc.
References WebElement::get_pix_left(), WebElement::get_pix_top(), WebElement::get_url(), LaserDQM_cfg::input, name, position, requestID, and runtimedef::set().
|
private |
the name that will appear on the button
Definition at line 22 of file Button.h.
Referenced by dirstructure.Directory::__create_pie_image(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), dirstructure.Comparison::__make_image(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), Button(), dirstructure.Directory::calcStats(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::divide_wilson(), TreeCrawler.Package::dump(), utils.StatisticalTest::get_status(), dirstructure.Directory::print_report(), printHTML(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), and Vispa.Views.PropertyView.Property::valueChanged().
|
private |
the string connected to the callback, eg "Default"
Definition at line 24 of file Button.h.
Referenced by Button(), and printHTML().