Class: Interphase::Helpers::LayoutPlacement

Inherits:
Struct
  • Object
show all
Defined in:
lib/interphase/helpers/layout_parser.rb

Overview

An object describing where a widget must be placed inside a layout.

left

The column number to attach the left side of the widget to.

right

The column number to attach the right side of the widget to.

top

The row number to attach the top of the widget to.

bottom

The row number to attach the bottom of the widget to.

Instance Attribute Summary collapse

Instance Attribute Details

#bottomObject

Returns the value of attribute bottom

Returns:

  • (Object)

    the current value of bottom


18
19
20
# File 'lib/interphase/helpers/layout_parser.rb', line 18

def bottom
  @bottom
end

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left


18
19
20
# File 'lib/interphase/helpers/layout_parser.rb', line 18

def left
  @left
end

#rightObject

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right


18
19
20
# File 'lib/interphase/helpers/layout_parser.rb', line 18

def right
  @right
end

#topObject

Returns the value of attribute top

Returns:

  • (Object)

    the current value of top


18
19
20
# File 'lib/interphase/helpers/layout_parser.rb', line 18

def top
  @top
end