Class: MINT::CarouFredSel
- Inherits:
-
CIC
- Object
- Interactor
- CIO
- CIC
- MINT::CarouFredSel
- Defined in:
- lib/MINT-core/model/cui/gfx/caroufredsel.rb
Constant Summary
Constants inherited from Interactor
Interactor::PUBLISH_ATTRIBUTES
Instance Method Summary collapse
-
#display_children ⇒ Object
functions called from scxml.
- #getSCXML ⇒ Object
- #is_last_child? ⇒ Boolean
- #receive_displayed ⇒ Object
Methods inherited from CIC
#calculateColsAndRows, #calculate_container, #calculate_gfx__navigation, #calculate_position, #getChildren, #iterate_cols_of_row, #iterate_rows_of_column, #mda, #refresh_children, #save_grid
Methods inherited from CIO
#calculateMinimumSize, #calculate_position, createCIOfromAIO, #down, #getAIO, getModel, #highlight_down, #highlight_left, #highlight_right, #highlight_up, #initialize_points, #left, #pos, #print, #right, #setFixedPositionConstraints, #setFixedSizeConstraints, #setMinimumSizeConstraints, #setTableElementConstraints, #size, #store_calculated_values_in_model, #up
Methods inherited from Interactor
class_from_channel_name, #create_attribute_channel_name, create_channel_name, #create_channel_w_name, get, getModel, get_dm, #init_statemachine, #is_in?, #new_states, notify, #process_event, #process_event!, #process_event_vars, #publish_update, #states, #states=, #sync_event, #sync_states, #to_dot, wait
Methods included from InteractorHelpers
#restart_timeout, #start_timeout, #stop_timeout
Instance Method Details
#display_children ⇒ Object
functions called from scxml
30 31 32 33 34 |
# File 'lib/MINT-core/model/cui/gfx/caroufredsel.rb', line 30 def display_children children = MINT::AISinglePresence.get("aui",self.name).children @number_of_children =children.length end |
#getSCXML ⇒ Object
24 25 26 |
# File 'lib/MINT-core/model/cui/gfx/caroufredsel.rb', line 24 def getSCXML "#{File.dirname(__FILE__)}/CarouFredSel.scxml" end |
#is_last_child? ⇒ Boolean
36 37 38 39 |
# File 'lib/MINT-core/model/cui/gfx/caroufredsel.rb', line 36 def is_last_child? p "islast:#{@number_of_children}" @number_of_children == 0 end |
#receive_displayed ⇒ Object
41 42 43 44 |
# File 'lib/MINT-core/model/cui/gfx/caroufredsel.rb', line 41 def receive_displayed @number_of_children -= 1 p "after reduction #{@number_of_children}" end |