Class: Thinreports::BasicReport::Core::Shape::List::PageState
- Inherits:
-
Basic::Internal
- Object
- Base::Internal
- Basic::Internal
- Thinreports::BasicReport::Core::Shape::List::PageState
- Defined in:
- lib/thinreports/basic_report/core/shape/list/page_state.rb
Instance Attribute Summary collapse
-
#header ⇒ Object
Returns the value of attribute header.
-
#height ⇒ Object
Returns the value of attribute height.
-
#manager ⇒ Object
Returns the value of attribute manager.
-
#no ⇒ Object
Returns the value of attribute no.
-
#rows ⇒ Object
readonly
Returns the value of attribute rows.
Attributes inherited from Base::Internal
Instance Method Summary collapse
- #finalized! ⇒ Object
- #finalized? ⇒ Boolean
-
#initialize(*args) ⇒ PageState
constructor
A new instance of PageState.
- #style ⇒ Object
- #type_of?(type_name) ⇒ Boolean
Methods inherited from Basic::Internal
Methods inherited from Base::Internal
Methods included from Utils
#blank_value?, #call_block_in, #deep_copy, included
Constructor Details
#initialize(*args) ⇒ PageState
Returns a new instance of PageState.
16 17 18 19 20 21 22 23 24 |
# File 'lib/thinreports/basic_report/core/shape/list/page_state.rb', line 16 def initialize(*args) super(*args) @rows = [] @height = 0 @finalized = false @header = nil end |
Instance Attribute Details
#header ⇒ Object
Returns the value of attribute header.
12 13 14 |
# File 'lib/thinreports/basic_report/core/shape/list/page_state.rb', line 12 def header @header end |
#height ⇒ Object
Returns the value of attribute height.
11 12 13 |
# File 'lib/thinreports/basic_report/core/shape/list/page_state.rb', line 11 def height @height end |
#manager ⇒ Object
Returns the value of attribute manager.
14 15 16 |
# File 'lib/thinreports/basic_report/core/shape/list/page_state.rb', line 14 def manager @manager end |
#no ⇒ Object
Returns the value of attribute no.
13 14 15 |
# File 'lib/thinreports/basic_report/core/shape/list/page_state.rb', line 13 def no @no end |
#rows ⇒ Object (readonly)
Returns the value of attribute rows.
9 10 11 |
# File 'lib/thinreports/basic_report/core/shape/list/page_state.rb', line 9 def rows @rows end |
Instance Method Details
#finalized! ⇒ Object
34 35 36 |
# File 'lib/thinreports/basic_report/core/shape/list/page_state.rb', line 34 def finalized! @finalized = true end |
#finalized? ⇒ Boolean
30 31 32 |
# File 'lib/thinreports/basic_report/core/shape/list/page_state.rb', line 30 def finalized? @finalized end |