\section{DOM::CSSValue Class Reference}
\label{classDOM_1_1CSSValue}\index{DOM::CSSValue@{DOM::CSSValue}}
The {\tt  {\bf CSSValue}{\rm (p.\,\pageref{classDOM_1_1CSSValue})} } interface represents a simple or a complexe value.  


{\tt \#include $<$css\_\-value.h$>$}

Inheritance diagram for DOM::CSSValue:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=174pt]{classDOM_1_1CSSValue__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf Unit\-Types} \{ {\bf CSS\_\-INHERIT} =  0, 
{\bf CSS\_\-PRIMITIVE\_\-VALUE} =  1, 
{\bf CSS\_\-VALUE\_\-LIST} =  2, 
{\bf CSS\_\-CUSTOM} =  3
 \}
\begin{CompactList}\small\item\em An integer indicating which type of unit applies to the value. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf CSSValue} (const  {\bf CSSValue} \&other)\label{classDOM_1_1CSSValue_a1}

\item 
{\bf CSSValue} (CSSValue\-Impl $\ast$impl)\label{classDOM_1_1CSSValue_a2}

\item 
{\bf CSSValue} \& {\bf operator=} (const  {\bf CSSValue} \&other)\label{classDOM_1_1CSSValue_a3}

\item 
{\bf DOM::DOMString} {\bf css\-Text} () const 
\begin{CompactList}\small\item\em A string representation of the current value. \item\end{CompactList}\item 
void {\bf set\-Css\-Text} (const  {\bf DOM::DOMString} \&)
\begin{CompactList}\small\item\em see {\bf css\-Text}{\rm (p.\,\pageref{classDOM_1_1CSSValue_a5})} \item\end{CompactList}\item 
unsigned short {\bf css\-Value\-Type} () const 
\begin{CompactList}\small\item\em A code defining the type of the value as defined above. \item\end{CompactList}\item 
bool {\bf is\-CSSValue\-List} () const \label{classDOM_1_1CSSValue_a8}

\item 
bool {\bf is\-CSSPrimitive\-Value} () const \label{classDOM_1_1CSSValue_a9}

\item 
CSSValue\-Impl $\ast$ {\bf handle} () const \label{classDOM_1_1CSSValue_a10}

\item 
bool {\bf is\-Null} () const \label{classDOM_1_1CSSValue_a11}

\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
CSSValue\-Impl $\ast$ {\bf impl}\label{classDOM_1_1CSSValue_p0}

\end{CompactItemize}


\subsection{Detailed Description}
The {\tt  {\bf CSSValue}{\rm (p.\,\pageref{classDOM_1_1CSSValue})} } interface represents a simple or a complexe value. 



Definition at line 242 of file css\_\-value.h.

\subsection{Member Enumeration Documentation}
\index{DOM::CSSValue@{DOM::CSSValue}!UnitTypes@{UnitTypes}}
\index{UnitTypes@{UnitTypes}!DOM::CSSValue@{DOM::CSSValue}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf DOM::CSSValue::Unit\-Types}}\label{classDOM_1_1CSSValue_w4}


An integer indicating which type of unit applies to the value. 

All CSS2 constants are not supposed to be required by the implementation since all CSS2 interfaces are optionals. 

Reimplemented in {\bf DOM::CSSPrimitive\-Value} {\rm (p.\,\pageref{classDOM_1_1CSSPrimitiveValue_w27})}.

Definition at line 260 of file css\_\-value.h.

\subsection{Member Function Documentation}
\index{DOM::CSSValue@{DOM::CSSValue}!cssText@{cssText}}
\index{cssText@{cssText}!DOM::CSSValue@{DOM::CSSValue}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} CSSValue::css\-Text () const}\label{classDOM_1_1CSSValue_a5}


A string representation of the current value. 



Definition at line 202 of file css\_\-value.cpp.\index{DOM::CSSValue@{DOM::CSSValue}!setCssText@{setCssText}}
\index{setCssText@{setCssText}!DOM::CSSValue@{DOM::CSSValue}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CSSValue::set\-Css\-Text (const {\bf DOM::DOMString} \&)}\label{classDOM_1_1CSSValue_a6}


see {\bf css\-Text}{\rm (p.\,\pageref{classDOM_1_1CSSValue_a5})} 

\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em CSSException}]SYNTAX\_\-ERR: Raised if the specified CSS string value has a syntax error and is unparsable.\item[{\em DOMException}]NO\_\-MODIFICATION\_\-ALLOWED\_\-ERR: Raised if this declaration is readonly. \end{description}
\end{Desc}


Definition at line 208 of file css\_\-value.cpp.\index{DOM::CSSValue@{DOM::CSSValue}!cssValueType@{cssValueType}}
\index{cssValueType@{cssValueType}!DOM::CSSValue@{DOM::CSSValue}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned short CSSValue::css\-Value\-Type () const}\label{classDOM_1_1CSSValue_a7}


A code defining the type of the value as defined above. 



Definition at line 214 of file css\_\-value.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
css\_\-value.h\item 
css\_\-value.cpp\end{CompactItemize}
