Class: XmlConv::View::Navigation
- Inherits:
-
HtmlGrid::Composite
- Object
- HtmlGrid::Composite
- XmlConv::View::Navigation
- Defined in:
- lib/xmlconv/view/navigation.rb
Constant Summary collapse
- COMPONENTS =
{}
- CSS_CLASS =
"navigation"
- SYMBOL_MAP =
HTML_ATTRIBUTES = “align”=>“right”
{ :navigation_divider => HtmlGrid::Text, }
Instance Method Summary collapse
Instance Method Details
#build_navigation ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/xmlconv/view/navigation.rb', line 20 def @lookandfeel..each_with_index { |state, idx| evt = state.is_a?(Symbol) ? state : state.direct_event symbol_map.store(evt, NavigationLink) components.store([idx*2,0], evt) components.store([idx*2-1,0], :navigation_divider) if(idx > 0) } end |
#init ⇒ Object
16 17 18 19 |
# File 'lib/xmlconv/view/navigation.rb', line 16 def init () super end |