table_walker.d.ts 1.0 KB

12345678910111213141516171819202122232425262728
  1. import { KeyCode } from '../common/event_util.js';
  2. import { Highlighter } from '../highlighter/highlighter.js';
  3. import { SemanticRole, SemanticType } from '../semantic_tree/semantic_meaning.js';
  4. import { SpeechGenerator } from '../speech_generator/speech_generator.js';
  5. import { Focus } from './focus.js';
  6. import { SyntaxWalker } from './syntax_walker.js';
  7. export declare class TableWalker extends SyntaxWalker {
  8. node: Element;
  9. generator: SpeechGenerator;
  10. highlighter: Highlighter;
  11. static ELIGIBLE_CELL_ROLES: SemanticRole[];
  12. static ELIGIBLE_TABLE_TYPES: SemanticType[];
  13. firstJump: Focus;
  14. private key_;
  15. private row_;
  16. private currentTable_;
  17. constructor(node: Element, generator: SpeechGenerator, highlighter: Highlighter, xml: string);
  18. move(key: KeyCode): boolean;
  19. up(): Focus;
  20. down(): Focus;
  21. protected jumpCell(): Focus | null;
  22. undo(): Focus;
  23. private eligibleCell_;
  24. private verticalMove_;
  25. private jumpCell_;
  26. private isLegalJump_;
  27. private isInTable_;
  28. }