class Thinreports::Core::Shape::List::PageState

Attributes

header[RW]
height[RW]
manager[RW]
no[RW]
rows[R]

Public Class Methods

new(*args) click to toggle source
# File lib/thinreports/core/shape/list/page_state.rb, line 15
def initialize(*args)
  super(*args)

  @rows = []
  @height = 0
  @finalized = false

  @header = nil
end

Public Instance Methods

finalized!() click to toggle source
# File lib/thinreports/core/shape/list/page_state.rb, line 33
def finalized!
  @finalized = true
end
finalized?() click to toggle source
# File lib/thinreports/core/shape/list/page_state.rb, line 29
def finalized?
  @finalized
end
style() click to toggle source
# File lib/thinreports/core/shape/list/page_state.rb, line 25
def style
  @style ||= Style::Basic.new(format)
end
type_of?(type_name) click to toggle source
# File lib/thinreports/core/shape/list/page_state.rb, line 37
def type_of?(type_name)
  type_name == List::TYPE_NAME
end