Package tdi :: Package tools :: Package htmlform :: Module _processors :: Class TabIndexer
[frames] | no frames]

Class TabIndexer

source code

object --+
         |
        TabIndexer

Automatic tabindex filler to be used as HTMLForm post processor
Instance Methods
 
__init__(self, start=1)
Initialization
source code
 
__call__(self, method, node, kwargs)
Add tabindex to form elements
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  __implements__ = [<class 'tdi.tools.htmlform._interfaces.PostP...
Instance Variables
callable next_index
Function to deliver the next index
Properties

Inherited from object: __class__

Method Details

__init__(self, start=1)
(Constructor)

source code 
Initialization
Parameters:
  • start (int) - Tabindex to start with
Overrides: object.__init__

__call__(self, method, node, kwargs)
(Call operator)

source code 

Add tabindex to form elements

Exceptions: <form>, <option>, <datalist>, <input type="hidden">

See Also: PostProcInterface


Class Variable Details

__implements__

Value:
[<class 'tdi.tools.htmlform._interfaces.PostProcInterface'>]

Instance Variable Details

next_index

Function to deliver the next index
Type:
callable