CMS 3D CMS Logo

Public Member Functions | Private Attributes

WebElement Class Reference

#include <WebElement.h>

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

List of all members.

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)
std::string pix_top
 position in pixels (from top)
std::string url
 The url of the application.

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.

    {
      url = the_url;
      pix_top = top;
      pix_left = left;
    }
virtual WebElement::~WebElement ( ) [inline, virtual]

Definition at line 28 of file WebElement.h.

    {
    }

Member Function Documentation

std::string WebElement::get_pix_left ( ) [inline]
std::string WebElement::get_pix_top ( ) [inline]
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().

    {
      return url;
    }
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().