Lines Matching defs:ElementInfo

63      * The root ElementInfo for the document
65 private ElementInfo rootElementInfo;
120 * Returns the ElementInfo representing the root Element.
122 private ElementInfo getRootInfo() {
185 rootElementInfo = new ElementInfo(root);
193 * Create an ElementInfo subclass based on the passed in Element.
195 ElementInfo createElementInfo(Element e, ElementInfo parent) {
230 public RootHTMLAccessibleContext(ElementInfo elementInfo) {
300 protected ElementInfo elementInfo;
302 public HTMLAccessibleContext(ElementInfo elementInfo) {
374 ElementInfo childInfo = elementInfo.getChild(i);
692 ElementInfo innerMostElement = getElementInfoAt(rootElementInfo, p);
700 private ElementInfo getElementInfoAt(ElementInfo elementInfo, Point p) {
712 ElementInfo captionInfo =
723 ElementInfo childInfo = elementInfo.getChild(i);
724 ElementInfo retValue = getElementInfoAt(childInfo, p);
819 * ElementInfo for text
821 class TextElementInfo extends ElementInfo implements Accessible {
823 TextElementInfo(Element element, ElementInfo parent) {
843 public TextAccessibleContext(ElementInfo elementInfo) {
1228 * ElementInfo for images
1230 private class IconElementInfo extends ElementInfo implements Accessible {
1235 IconElementInfo(Element element, ElementInfo parent) {
1285 public IconAccessibleContext(ElementInfo elementInfo) {
1410 private class TableElementInfo extends ElementInfo
1413 protected ElementInfo caption;
1423 TableElementInfo(Element e, ElementInfo parent) {
1427 public ElementInfo getCaptionInfo() {
1585 public TableAccessibleContext(ElementInfo elementInfo) {
1701 ElementInfo captionInfo = getCaptionInfo();
2222 ElementInfo elementInfo = getElementInfoAt(r, c);
2399 * ElementInfo for table rows
2401 private class TableRowElementInfo extends ElementInfo {
2551 private class TableCellElementInfo extends ElementInfo {
2556 TableCellElementInfo(Element e, ElementInfo parent) {
2561 TableCellElementInfo(Element e, ElementInfo parent,
2586 private void getAccessible(ElementInfo elementInfo) {
2631 * ElementInfo provides a slim down view of an Element. Each ElementInfo
2635 * of an ElementInfo you should make sure it is valid by invoking
2638 * ElementInfo is not valid and can never become valid again (usually
2639 * the result of the Element the ElementInfo encapsulates being removed).
2641 private class ElementInfo {
2644 * The children of this ElementInfo.
2646 private ArrayList<ElementInfo> children;
2648 * The Element this ElementInfo is providing information for.
2652 * The parent ElementInfo, will be null for the root.
2654 private ElementInfo parent;
2656 * Indicates the validity of the ElementInfo.
2660 * Indicates if the ElementInfo can become valid.
2666 * Creates the root ElementInfo.
2668 ElementInfo(Element element) {
2673 * Creates an ElementInfo representing <code>element</code> with
2676 ElementInfo(Element element, ElementInfo parent) {
2701 ElementInfo childInfo = createElementInfo(e, this);
2725 * Returns the Element this <code>ElementInfo</code> represents.
2734 public ElementInfo getParent() {
2742 public int indexOf(ElementInfo child) {
2752 * Returns the child ElementInfo at <code>index</code>, or null
2755 public ElementInfo getChild(int index) {
2757 ArrayList<ElementInfo> children = this.children;
2768 * Returns the number of children the ElementInfo contains.
2776 * Adds a new child to this ElementInfo.
2778 protected void addChild(ElementInfo child) {
2780 children = new ArrayList<ElementInfo>();
2786 * Returns the View corresponding to this ElementInfo, or null
2787 * if the ElementInfo can't be validated.
2809 * Returns the Bounds for this ElementInfo, or null
2810 * if the ElementInfo can't be validated.
2838 * Returns true if this ElementInfo is valid.
2846 * return null if the ElementInfo can't be validated.
2858 * return null if the ElementInfo can't be validated.
2896 * Validates the ElementInfo if necessary. Some ElementInfos may
2899 * <code>validate</code> if the ElementInfo is invalid and can become
2917 * Invalidates the ElementInfo. Subclasses should override this
2930 for (ElementInfo child : children) {
2951 ElementInfo info = getChild(counter);
2965 ElementInfo parent = getParent();
2997 ElementInfo info = (index0 >= 0) ? getChild(index0) : null;
3001 // ElementInfo too.