aafSigned-class: Class aafSigned, a class for signed numerical data

Description Objects from the Class Slots Extends Methods Author(s) See Also

Description

A class for displaying signed numerical data with different styles depending on the sign.

Objects from the Class

Objects are generally created by the aafTable constructor. Objects can also be created manually by calls of the form new("aafSigned", signedval).

Slots

.Data:

Object of class numeric

Extends

Class numeric, from data part.

Methods

getTD

(aafSigned): Returns an HTML table cell with class differentially set based on sign. aafSignedPos is used for positive values. aafSignedNeg is used for negative values. aafSignedZero is used for zero values.

getCSS

(aafSigned): Returns two lines of CSS that set the cell background of positive values light blue and negative values light red.

See generic implementations of getText, getURL, and getHTML.

Author(s)

Colin A. Smith, annaffy@colinsmith.org

See Also

aafTable


annaffy documentation built on Nov. 8, 2020, 8:02 p.m.