HappyDoc Generated Documentation Class: pwNumber

widget.py / pwNumber 

Number widget class
The number widget class is just a text widget that is hooked up to some javaScript code that checks for the numbers and tests against a max and min

Arguments:

  • obj: the object that contains the attribute associated with this field
  • attr: the name of the attribute

Common Keywords:

  • divClass: allows the user to override the class of the
  • fieldSpecial: allows the user to add "special" HTML attributes to the output element
  • id: overrides the HTML "id" attribute
  • selectable: controls whether this field is selectable or not
  • inputType: mostly for internal use -- overrides the type designation in the output hidden fields

pwThreeColumn Keywords:

  • caption: the caption to be displayed in the "caption" area of the three columns. This may be either text or a widget.
  • help: help HREF associated with the caption
  • example: the example to be displayed in the "example" area of the three columns. This may be either text or a widget.
  • layout: directs which layout approach to take: pure css or table + css
  • layoutID: the ID to associate with the layout. Allows for different ID's between layout and content widgets.
  • idArg: overrides the widget id
  • visibility: is this widget visible? Used to allow content to "appear" depending on the action of other widgets.

pwTextInput Keywords:

  • length: the default length of the text field
  • maxlength: the maximum length of the text field
  • type: the type of the text field (text or password)

Keywords:

  • max: maximum allowable integer
  • min: minimum allowable integer

Default divClass: pwNumber

Base Classes   

pwNumber
  pwText
    pwThreeColumn
      pyWidget

Methods   
  __init__ 
__init__ (
        self,
        obj,
        attr,
        **kwlist,
        )

This document was automatically generated Tue Sep 21 18:50:53 2004 by HappyDoc version 3.0.a1