CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
WebElement Class Referenceabstract

#include <WebElement.h>

Inheritance diagram for WebElement:
Button ConfigBox ContentViewer GifDisplay HTMLLink Navigator Select

Public Member Functions

std::string get_pix_left ()
 
std::string get_pix_top ()
 
std::string get_url ()
 
virtual void printHTML (xgi::Output *out)=0
 
 WebElement (std::string the_url, std::string top, std::string left)
 
virtual ~WebElement ()
 

Private Attributes

std::string pix_left
 position in pixels (from left) More...
 
std::string pix_top
 position in pixels (from top) More...
 
std::string url
 The url of the application. More...
 

Detailed Description

Definition at line 8 of file WebElement.h.

Constructor & Destructor Documentation

WebElement::WebElement ( std::string  the_url,
std::string  top,
std::string  left 
)
inline

Definition at line 21 of file WebElement.h.

References pix_left, pix_top, and url.

22  {
23  url = the_url;
24  pix_top = top;
25  pix_left = left;
26  }
std::string pix_top
position in pixels (from top)
Definition: WebElement.h:15
std::string pix_left
position in pixels (from left)
Definition: WebElement.h:17
std::string url
The url of the application.
Definition: WebElement.h:13
virtual WebElement::~WebElement ( )
inlinevirtual

Definition at line 28 of file WebElement.h.

29  {
30  }

Member Function Documentation

std::string WebElement::get_pix_left ( )
inline

Definition at line 38 of file WebElement.h.

References pix_left.

Referenced by ContentViewer::printHTML(), HTMLLink::printHTML(), Navigator::printHTML(), ConfigBox::printHTML(), GifDisplay::printHTML(), Button::printHTML(), and Select::printHTML().

38 { return pix_left; }
std::string pix_left
position in pixels (from left)
Definition: WebElement.h:17
std::string WebElement::get_pix_top ( )
inline

Definition at line 37 of file WebElement.h.

References pix_top.

Referenced by ContentViewer::printHTML(), HTMLLink::printHTML(), Navigator::printHTML(), ConfigBox::printHTML(), GifDisplay::printHTML(), Button::printHTML(), and Select::printHTML().

37 { return pix_top; }
std::string pix_top
position in pixels (from top)
Definition: WebElement.h:15
std::string WebElement::get_url ( )
inline

Definition at line 32 of file WebElement.h.

References url.

Referenced by ConfigBox::printHTML(), Button::printHTML(), and Select::printHTML().

33  {
34  return url;
35  }
std::string url
The url of the application.
Definition: WebElement.h:13
virtual void WebElement::printHTML ( xgi::Output out)
pure virtual

Member Data Documentation

std::string WebElement::pix_left
private

position in pixels (from left)

Definition at line 17 of file WebElement.h.

Referenced by get_pix_left(), and WebElement().

std::string WebElement::pix_top
private

position in pixels (from top)

Definition at line 15 of file WebElement.h.

Referenced by get_pix_top(), and WebElement().

std::string WebElement::url
private

The url of the application.

Definition at line 13 of file WebElement.h.

Referenced by get_url(), and WebElement().