RSeries astromech firmware
WElement Class Reference

#include <wifi/WifiWebServer.h>

+ Inheritance diagram for WElement:
+ Collaboration diagram for WElement:

Public Member Functions

 WElement (WValue *value=nullptr)
 
 WElement (WAction *action)
 
bool needsReload () const
 
String getID () const
 
void appendCSS (String str)
 
void appendBody (String str)
 
void appendScript (String str)
 
void appendCSSf (const char *fmt,...)
 
void appendBodyf (const char *fmt,...)
 
void appendScriptf (const char *fmt,...)
 
void emitCSS (Print &out) const
 
void emitBody (Print &out) const
 
void emitValue (Print &out) const
 
void emitScript (Print &out) const
 
String getValue () const
 
void setValue (String val) const
 

Protected Member Functions

bool & verticalAlignment ()
 

Protected Attributes

String fID = ""
 
String fCSS = ""
 
String fBody = ""
 
String fScript = ""
 
WValuefValue = nullptr
 
WActionfAction = nullptr
 
bool fReload = false
 
const WDynamicfDynamic = nullptr
 
bool(* fEnabled )() = nullptr
 

Constructor & Destructor Documentation

◆ WElement() [1/2]

WElement::WElement ( WValue value = nullptr)
inline

◆ WElement() [2/2]

WElement::WElement ( WAction action)
inline

Member Function Documentation

◆ appendBody()

void WElement::appendBody ( String  str)
inline

◆ appendBodyf()

void WElement::appendBodyf ( const char *  fmt,
  ... 
)
inline

◆ appendCSS()

void WElement::appendCSS ( String  str)
inline

◆ appendCSSf()

void WElement::appendCSSf ( const char *  fmt,
  ... 
)
inline

◆ appendScript()

void WElement::appendScript ( String  str)
inline

◆ appendScriptf()

void WElement::appendScriptf ( const char *  fmt,
  ... 
)
inline

◆ emitBody()

void WElement::emitBody ( Print &  out) const
inline

◆ emitCSS()

void WElement::emitCSS ( Print &  out) const
inline

◆ emitScript()

void WElement::emitScript ( Print &  out) const
inline

◆ emitValue()

void WElement::emitValue ( Print &  out) const
inline

◆ getID()

String WElement::getID ( ) const
inline

◆ getValue()

String WElement::getValue ( ) const
inline

◆ needsReload()

bool WElement::needsReload ( ) const
inline

◆ setValue()

void WElement::setValue ( String  val) const
inline

◆ verticalAlignment()

bool& WElement::verticalAlignment ( )
inlineprotected

Member Data Documentation

◆ fAction

WAction* WElement::fAction = nullptr
protected

◆ fBody

String WElement::fBody = ""
protected

◆ fCSS

String WElement::fCSS = ""
protected

◆ fDynamic

const WDynamic* WElement::fDynamic = nullptr
protected

◆ fEnabled

bool(* WElement::fEnabled) () = nullptr
protected

◆ fID

String WElement::fID = ""
protected

◆ fReload

bool WElement::fReload = false
protected

◆ fScript

String WElement::fScript = ""
protected

◆ fValue

WValue* WElement::fValue = nullptr
protected

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