Css.IRenderableNode Interface Reference

Detailed Description

Renderable nodes.

Inheritance diagram for Css.IRenderableNode:
Css.SparkInformerNode MathML.MathElement PowerUI.RenderableTextNode Speech.SpeechElement Svg.SVGElement MathML.MathActionElement MathML.MathAnnotationElement MathML.MathAnnotationXmlElement MathML.MathEncloseElement MathML.MathErrorElement MathML.MathFencedElement MathML.MathFractionElement MathML.MathGlyphElement MathML.MathIdentifierElement MathML.MathLabelledTrElement MathML.MathMathElement MathML.MathMultiScriptsElement MathML.MathNElement MathML.MathOElement MathML.MathOverElement MathML.MathPaddedElement MathML.MathPhantomElement MathML.MathRootElement MathML.MathRowElement MathML.MathSElement MathML.MathSemanticsElement MathML.MathSpaceElement MathML.MathSqrtElement MathML.MathStyleElement MathML.MathSubElement MathML.MathTableElement MathML.MathTdElement MathML.MathTextElement MathML.MathTrElement MathML.MathUnderElement MathML.MathUnderOverElement MathML.MathTextNode PowerUI.HtmlTextNode Speech.SpeechTextNode Svg.SVGTextNode Speech.SpeechSpeakElement Svg.SVGClipPathElement Svg.SVGDefsElement Svg.SVGDescElement Svg.SVGFilterElement Svg.SVGFilterPrimitiveStandardAttributes Svg.SVGFontElement Svg.SVGFontFaceElement Svg.SVGFontFaceSrcElement Svg.SVGFontFaceUriElement Svg.SVGForeignObjectElement Svg.SVGGElement Svg.SVGGlyphElement Svg.SVGGraphicsElement Svg.SVGKernElement Svg.SVGMaskElement Svg.SVGMetadataElement Svg.SVGStopElement Svg.SVGSVGElement Svg.SVGSwitchElement Svg.SVGSymbolElement Svg.SVGTitleElement Svg.SVGUseElement

Public Member Functions

void OnComputeBox (Renderman renderer, LayoutBox box, ref bool widthUndefined, ref bool heightUndefined)
 Called whilst a CSS box is being recomputed. More...
 
void FontLoaded (PowerUI.DynamicFont font)
 Called when a font-face font loads. More...
 
void OnRender (Renderman renderer)
 Called during a global render event on all elements. This knows exactly where the element is on screen. More...
 
void WentOffScreen ()
 Called when an element is no longer on the screen. More...
 
Element querySelector (string selector)
 Gets the first element which matches the given selector. More...
 
HTMLCollection querySelectorAll (string selector)
 Gets all child elements with the given tag. More...
 
HTMLCollection querySelectorAll (string selector, bool one)
 Gets all child elements with the given tag. More...
 
void querySelectorAll (Selector[] selectors, INodeList results, CssEvent e, bool one)
 Gets all child elements with the given tag. More...
 
void GetWidthBounds (out float min, out float max)
 Part of shrink-to-fit. Computes the maximum and minimum possible width for an element. More...
 

Properties

RenderableData RenderData [get]
 The box model for a node. More...
 
ComputedStyle ComputedStyle [get]
 The computed style. More...
 

Member Function Documentation

void Css.IRenderableNode.FontLoaded ( PowerUI.DynamicFont  font)

Called when a font-face font loads.

Implemented in MathML.MathElement, Speech.SpeechElement, PowerUI.RenderableTextNode, Svg.SVGElement, and Css.SparkInformerNode.

void Css.IRenderableNode.GetWidthBounds ( out float  min,
out float  max 
)

Part of shrink-to-fit. Computes the maximum and minimum possible width for an element.

Implemented in PowerUI.RenderableTextNode, MathML.MathElement, Svg.SVGElement, Css.SparkInformerNode, and Speech.SpeechElement.

void Css.IRenderableNode.OnComputeBox ( Renderman  renderer,
LayoutBox  box,
ref bool  widthUndefined,
ref bool  heightUndefined 
)

Called whilst a CSS box is being recomputed.

void Css.IRenderableNode.OnRender ( Renderman  renderer)

Called during a global render event on all elements. This knows exactly where the element is on screen.

Implemented in PowerUI.RenderableTextNode, Speech.SpeechElement, MathML.MathElement, Svg.SVGElement, and Css.SparkInformerNode.

Element Css.IRenderableNode.querySelector ( string  selector)

Gets the first element which matches the given selector.

Implemented in MathML.MathElement, Speech.SpeechElement, PowerUI.RenderableTextNode, Svg.SVGElement, and Css.SparkInformerNode.

HTMLCollection Css.IRenderableNode.querySelectorAll ( string  selector)

Gets all child elements with the given tag.

Parameters
selectorThe selector string to match.
Returns
The set of all tags with this tag.

Implemented in MathML.MathElement, Speech.SpeechElement, PowerUI.RenderableTextNode, Svg.SVGElement, and Css.SparkInformerNode.

HTMLCollection Css.IRenderableNode.querySelectorAll ( string  selector,
bool  one 
)

Gets all child elements with the given tag.

Parameters
selectorThe selector string to match.
Returns
The set of all tags with this tag.

Implemented in MathML.MathElement, Speech.SpeechElement, PowerUI.RenderableTextNode, Svg.SVGElement, and Css.SparkInformerNode.

void Css.IRenderableNode.querySelectorAll ( Selector[]  selectors,
INodeList  results,
CssEvent  e,
bool  one 
)

Gets all child elements with the given tag.

Parameters
selectorsThe selectors to match.
Returns
The set of all tags with this tag.

Implemented in MathML.MathElement, Speech.SpeechElement, PowerUI.RenderableTextNode, Svg.SVGElement, and Css.SparkInformerNode.

void Css.IRenderableNode.WentOffScreen ( )

Called when an element is no longer on the screen.

Implemented in PowerUI.RenderableTextNode, Speech.SpeechElement, Css.SparkInformerNode, MathML.MathElement, and Svg.SVGElement.

Property Documentation

ComputedStyle Css.IRenderableNode.ComputedStyle
get

The computed style.

RenderableData Css.IRenderableNode.RenderData
get

The box model for a node.