ViewerDeviceViewport-class: Class "ViewerDeviceViewport" ~~~

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

Description

An object representing the device that the data are being viewed on.

Objects from the Class

Objects can be created using the viewerDeviceVp function.

Slots

datavp:

Object of class "viewport" giving the viewport in which to draw the data.

headvp:

Object of class "viewport" giving the viewport in which to draw the column headers.

rownamevp:

Object of class "viewport" giving the viewport in which to draw the row labels.

Extends

Class "ViewerDeviceDefault", directly. The virtual class "ViewerDevice", by class "ViewerDeviceDefault", distance 2.

Methods

drawData

signature(x = "ANY", rows = "ANY", cols = "ANY", dev = "ViewerDeviceViewport"): render the data.

drawHead

signature(x = "ANY", cols = "ANY", dev = "ViewerDeviceViewport"): render column names.

drawRowNames

signature(x = "ANY", rows = "ANY", dev = "ViewerDeviceViewport"): render row names.

getFontForHeight

signature(dev = "ViewerDeviceViewport"): determine an appropriate font size to show the specified number of rows.

getFontForWidth

signature(dev = "ViewerDeviceViewport"): determine an appropriate font size to show the specified number of columns.

numChars

signature(dev = "ViewerDeviceViewport"): determine how many characters can currently be seen on each row.

numRows

signature(dev = "ViewerDeviceViewport"): determine how many rows can currently be seen.

Author(s)

Paul Murrell

See Also

Viewer

Examples

1
showClass("ViewerDeviceViewport")

pmur002/rdataviewer documentation built on May 25, 2019, 10:21 a.m.