Class: RMXTableViewCellInnerContentView

Inherits:
RMXView
  • Object
show all
Defined in:
lib/motion/RMXTableViewCellInnerContentView.rb

Instance Attribute Summary collapse

Attributes inherited from RMXView

#reportSizeChanges, #updatedSize

Instance Method Summary collapse

Methods inherited from RMXView

create, #hitTest, #init, #prepare, #requiresConstraintBasedLayout, #rmx_dealloc, #setUserInteractionEnabled, #setup

Methods included from RMXSetAttributes

included

Methods included from RMXCommonMethods

#dealloc, #description, #inspect, #rmx_dealloc

Instance Attribute Details

#autoUpdateHeightObject

Returns the value of attribute autoUpdateHeight.



3
4
5
# File 'lib/motion/RMXTableViewCellInnerContentView.rb', line 3

def autoUpdateHeight
  @autoUpdateHeight
end

Instance Method Details

#layoutSubviewsObject



5
6
7
8
9
# File 'lib/motion/RMXTableViewCellInnerContentView.rb', line 5

def layoutSubviews
  s = super
  updateHeight! if @autoUpdateHeight
  s
end

#updateHeight!Object



11
12
13
14
15
# File 'lib/motion/RMXTableViewCellInnerContentView.rb', line 11

def updateHeight!
  if c = cell
    c.updateHeight!
  end
end