Class: Thinreports::BasicReport::Core::Shape::List::SectionInternal
- Inherits:
-
Base::Internal
- Object
- Base::Internal
- Thinreports::BasicReport::Core::Shape::List::SectionInternal
show all
- Defined in:
- lib/thinreports/basic_report/core/shape/list/section_internal.rb
Instance Attribute Summary collapse
#format, #parent, #states
Instance Method Summary
collapse
#copy, #initialize, #type_of?
Methods included from Utils
#blank_value?, #call_block_in, #deep_copy, included
Instance Attribute Details
#section_name ⇒ Symbol
13
14
15
|
# File 'lib/thinreports/basic_report/core/shape/list/section_internal.rb', line 13
def section_name
@section_name
end
|
Instance Method Details
#move_top_to(ry) ⇒ Object
20
21
22
|
# File 'lib/thinreports/basic_report/core/shape/list/section_internal.rb', line 20
def move_top_to(ry)
states[:relative_top] = ry
end
|
#relative_top ⇒ Float
25
26
27
|
# File 'lib/thinreports/basic_report/core/shape/list/section_internal.rb', line 25
def relative_top
states[:relative_top] || 0
end
|
#style ⇒ Object
15
16
17
|
# File 'lib/thinreports/basic_report/core/shape/list/section_internal.rb', line 15
def style
@style ||= Style::Base.new(format)
end
|