ViewerStateSimple-class: Class "ViewerStateSimple"

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

Description

A class representing how a data source is being viewed.

Objects from the Class

Objects can be created using the viewerState function. The default horizontal mode is "left-to-right", the default vertical mode is "top-to-bottom", and the default font size is 10.

Slots

lrmode:

Object of class "character" with value "left-to-right" or "right-=to-left". Describes the current horizontal viewing mode.

udmode:

Object of class "character" with value "top-to-bottom" or "bottom-to-top". Describes the current vertical viewing mode.

fontsize:

Object of class "numeric" that describes the current font size used to view the data.

Extends

Virtual class "ViewerState", directly.

Methods

fontsize<-

signature(state = "ViewerStateSimple"): sets the font size.

fontsize

signature(state = "ViewerStateSimple"): gets the fontsize.

lrmode<-

signature(state = "ViewerStateSimple"): sets the horizontal mode.

lrmode

signature(state = "ViewerStateSimple"): gets the horizontal mode.

udmode<-

signature(state = "ViewerStateSimple"): sets the vertical mode.

udmode

signature(state = "ViewerStateSimple"): gets the vertical mode.

Author(s)

Paul Murrell

See Also

Viewer.

Examples

1
showClass("ViewerStateSimple")

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