Empirical
Public Member Functions | Public Attributes | List of all members
emp::web::internal::TableGroupInfo Struct Reference

#include <Table.h>

Inheritance diagram for emp::web::internal::TableGroupInfo:
emp::web::WidgetExtras

Public Member Functions

template<typename SET_TYPE >
void SetStyle (const std::string &s, SET_TYPE v)
 
bool HasStyle (const std::string &setting) const
 
const std::string & GetStyle (const std::string &setting)
 
void RemoveStyle (const std::string &setting)
 
template<typename SET_TYPE >
void SetAttr (const std::string &s, SET_TYPE v)
 
bool HasAttr (const std::string &setting) const
 
const std::string & GetAttr (const std::string &setting)
 
void RemoveAttr (const std::string &setting)
 
void Apply (const std::string &name)
 Apply all HTML details associated with this widget. More...
 
void Clear ()
 Clear all of style, attributes, and listeners. More...
 
 operator bool () const
 Have any details been set? More...
 

Public Attributes

size_t span = 1
 
bool masked = false
 How many rows/columns does this group represent? More...
 
WidgetExtras extras
 Is the current group masked because of a previous span? More...
 
Style style
 CSS Style. More...
 
Attributes attr
 HTML Attributes about a cell. More...
 
Listeners listen
 Listen for web events. More...
 

Member Function Documentation

void emp::web::WidgetExtras::Apply ( const std::string &  name)
inlineinherited

Apply all HTML details associated with this widget.

void emp::web::WidgetExtras::Clear ( )
inlineinherited

Clear all of style, attributes, and listeners.

const std::string& emp::web::WidgetExtras::GetAttr ( const std::string &  setting)
inlineinherited
const std::string& emp::web::WidgetExtras::GetStyle ( const std::string &  setting)
inlineinherited
bool emp::web::WidgetExtras::HasAttr ( const std::string &  setting) const
inlineinherited
bool emp::web::WidgetExtras::HasStyle ( const std::string &  setting) const
inlineinherited
emp::web::WidgetExtras::operator bool ( ) const
inlineinherited

Have any details been set?

void emp::web::WidgetExtras::RemoveAttr ( const std::string &  setting)
inlineinherited
void emp::web::WidgetExtras::RemoveStyle ( const std::string &  setting)
inlineinherited
template<typename SET_TYPE >
void emp::web::WidgetExtras::SetAttr ( const std::string &  s,
SET_TYPE  v 
)
inlineinherited
template<typename SET_TYPE >
void emp::web::WidgetExtras::SetStyle ( const std::string &  s,
SET_TYPE  v 
)
inlineinherited

Member Data Documentation

Attributes emp::web::WidgetExtras::attr
inherited

HTML Attributes about a cell.

WidgetExtras emp::web::internal::TableGroupInfo::extras

Is the current group masked because of a previous span?

Listeners emp::web::WidgetExtras::listen
inherited

Listen for web events.

bool emp::web::internal::TableGroupInfo::masked = false

How many rows/columns does this group represent?

size_t emp::web::internal::TableGroupInfo::span = 1
Style emp::web::WidgetExtras::style
inherited

CSS Style.


The documentation for this struct was generated from the following file: