name
LetterElement
import prohtml.*;

LetterElement letter;
               
void setup(){
  letter = new LetterElement("t");
  
  println("countAllChildren:.."+letter.countAllChildren());
  println("getChildren:......."+letter.getChildren());
  println("getDepth:.........."+letter.getDepth());
  println("hasChildren:......."+letter.hasChildren());
  letter.printElementTree("");println();
  println("toString:.........."+letter.toString());
  println("type:.............."+letter.type());
}
description
Object for keeping the letter of a text element of the HTML document.
constructors
LetterElement(kindOfElement);
parameters
kindOfElement
String, the letter for the element
fields
String holding the kind of the Element. For a LetterElement it keeps a single letter.
methods
Method for counting the descendants of the element.
Method for getting the children of an element.
Method for getting the maximum depth of an Element
This method looks if the element has Children
This method prints the treestrucure of this element and its decendents.
Method for counting the descendants of the element.
Method for counting the descendants of the element.
usage
Web & Application
related