Class: CSSNode

Inherits:
Object show all
Defined in:
flow/ui/css_node.rb

Direct Known Subclasses

UI::View

Instance Attribute Summary (collapse)

Class Method Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) align_items

Returns the current value of align_items

Returns:

  • (Object)

    the current value of align_items



41
42
43
# File 'flow/ui/css_node.rb', line 41

def align_items
  @align_items
end

- (Object) align_self

Returns the current value of align_self

Returns:

  • (Object)

    the current value of align_self



41
42
43
# File 'flow/ui/css_node.rb', line 41

def align_self
  @align_self
end

- (Object) border_bottom_width

Returns the current value of border_bottom_width

Returns:

  • (Object)

    the current value of border_bottom_width



41
42
43
# File 'flow/ui/css_node.rb', line 41

def border_bottom_width
  @border_bottom_width
end

- (Object) border_end

Returns the current value of border_end

Returns:

  • (Object)

    the current value of border_end



41
42
43
# File 'flow/ui/css_node.rb', line 41

def border_end
  @border_end
end

- (Object) border_left_width

Returns the current value of border_left_width

Returns:

  • (Object)

    the current value of border_left_width



41
42
43
# File 'flow/ui/css_node.rb', line 41

def border_left_width
  @border_left_width
end

- (Object) border_right_width

Returns the current value of border_right_width

Returns:

  • (Object)

    the current value of border_right_width



41
42
43
# File 'flow/ui/css_node.rb', line 41

def border_right_width
  @border_right_width
end

- (Object) border_start

Returns the current value of border_start

Returns:

  • (Object)

    the current value of border_start



41
42
43
# File 'flow/ui/css_node.rb', line 41

def border_start
  @border_start
end

- (Object) border_top_width

Returns the current value of border_top_width

Returns:

  • (Object)

    the current value of border_top_width



41
42
43
# File 'flow/ui/css_node.rb', line 41

def border_top_width
  @border_top_width
end

- (Object) border_width

Returns the current value of border_width

Returns:

  • (Object)

    the current value of border_width



41
42
43
# File 'flow/ui/css_node.rb', line 41

def border_width
  @border_width
end

- (Object) bottom

Returns the current value of bottom

Returns:

  • (Object)

    the current value of bottom



41
42
43
# File 'flow/ui/css_node.rb', line 41

def bottom
  @bottom
end

- (Object) flex

Returns the current value of flex

Returns:

  • (Object)

    the current value of flex



41
42
43
# File 'flow/ui/css_node.rb', line 41

def flex
  @flex
end

- (Object) flex_direction

Returns the current value of flex_direction

Returns:

  • (Object)

    the current value of flex_direction



41
42
43
# File 'flow/ui/css_node.rb', line 41

def flex_direction
  @flex_direction
end

- (Object) flex_wrap

Returns the current value of flex_wrap

Returns:

  • (Object)

    the current value of flex_wrap



41
42
43
# File 'flow/ui/css_node.rb', line 41

def flex_wrap
  @flex_wrap
end

- (Object) height

Returns the current value of height

Returns:

  • (Object)

    the current value of height



41
42
43
# File 'flow/ui/css_node.rb', line 41

def height
  @height
end

- (Object) justify_content

Returns the current value of justify_content

Returns:

  • (Object)

    the current value of justify_content



41
42
43
# File 'flow/ui/css_node.rb', line 41

def justify_content
  @justify_content
end

- (Object) left

Returns the current value of left

Returns:

  • (Object)

    the current value of left



41
42
43
# File 'flow/ui/css_node.rb', line 41

def left
  @left
end

- (Object) margin

Returns the current value of margin

Returns:

  • (Object)

    the current value of margin



41
42
43
# File 'flow/ui/css_node.rb', line 41

def margin
  @margin
end

- (Object) margin_bottom

Returns the current value of margin_bottom

Returns:

  • (Object)

    the current value of margin_bottom



41
42
43
# File 'flow/ui/css_node.rb', line 41

def margin_bottom
  @margin_bottom
end

- (Object) margin_end

Returns the current value of margin_end

Returns:

  • (Object)

    the current value of margin_end



41
42
43
# File 'flow/ui/css_node.rb', line 41

def margin_end
  @margin_end
end

- (Object) margin_left

Returns the current value of margin_left

Returns:

  • (Object)

    the current value of margin_left



41
42
43
# File 'flow/ui/css_node.rb', line 41

def margin_left
  @margin_left
end

- (Object) margin_right

Returns the current value of margin_right

Returns:

  • (Object)

    the current value of margin_right



41
42
43
# File 'flow/ui/css_node.rb', line 41

def margin_right
  @margin_right
end

- (Object) margin_start

Returns the current value of margin_start

Returns:

  • (Object)

    the current value of margin_start



41
42
43
# File 'flow/ui/css_node.rb', line 41

def margin_start
  @margin_start
end

- (Object) margin_top

Returns the current value of margin_top

Returns:

  • (Object)

    the current value of margin_top



41
42
43
# File 'flow/ui/css_node.rb', line 41

def margin_top
  @margin_top
end

- (Object) max_height

Returns the current value of max_height

Returns:

  • (Object)

    the current value of max_height



41
42
43
# File 'flow/ui/css_node.rb', line 41

def max_height
  @max_height
end

- (Object) max_width

Returns the current value of max_width

Returns:

  • (Object)

    the current value of max_width



41
42
43
# File 'flow/ui/css_node.rb', line 41

def max_width
  @max_width
end

- (Object) min_height

Returns the current value of min_height

Returns:

  • (Object)

    the current value of min_height



41
42
43
# File 'flow/ui/css_node.rb', line 41

def min_height
  @min_height
end

- (Object) min_width

Returns the current value of min_width

Returns:

  • (Object)

    the current value of min_width



41
42
43
# File 'flow/ui/css_node.rb', line 41

def min_width
  @min_width
end

- (Object) name

Returns the current value of name

Returns:

  • (Object)

    the current value of name



41
42
43
# File 'flow/ui/css_node.rb', line 41

def name
  @name
end

- (Object) padding

Returns the current value of padding

Returns:

  • (Object)

    the current value of padding



41
42
43
# File 'flow/ui/css_node.rb', line 41

def padding
  @padding
end

- (Object) padding_bottom

Returns the current value of padding_bottom

Returns:

  • (Object)

    the current value of padding_bottom



41
42
43
# File 'flow/ui/css_node.rb', line 41

def padding_bottom
  @padding_bottom
end

- (Object) padding_end

Returns the current value of padding_end

Returns:

  • (Object)

    the current value of padding_end



41
42
43
# File 'flow/ui/css_node.rb', line 41

def padding_end
  @padding_end
end

- (Object) padding_left

Returns the current value of padding_left

Returns:

  • (Object)

    the current value of padding_left



41
42
43
# File 'flow/ui/css_node.rb', line 41

def padding_left
  @padding_left
end

- (Object) padding_right

Returns the current value of padding_right

Returns:

  • (Object)

    the current value of padding_right



41
42
43
# File 'flow/ui/css_node.rb', line 41

def padding_right
  @padding_right
end

- (Object) padding_start

Returns the current value of padding_start

Returns:

  • (Object)

    the current value of padding_start



41
42
43
# File 'flow/ui/css_node.rb', line 41

def padding_start
  @padding_start
end

- (Object) padding_top

Returns the current value of padding_top

Returns:

  • (Object)

    the current value of padding_top



41
42
43
# File 'flow/ui/css_node.rb', line 41

def padding_top
  @padding_top
end

- (Object) position

Returns the current value of position

Returns:

  • (Object)

    the current value of position



41
42
43
# File 'flow/ui/css_node.rb', line 41

def position
  @position
end

- (Object) right

Returns the current value of right

Returns:

  • (Object)

    the current value of right



41
42
43
# File 'flow/ui/css_node.rb', line 41

def right
  @right
end

- (Object) top

Returns the current value of top

Returns:

  • (Object)

    the current value of top



41
42
43
# File 'flow/ui/css_node.rb', line 41

def top
  @top
end

- (Object) width

Returns the current value of width

Returns:

  • (Object)

    the current value of width



41
42
43
# File 'flow/ui/css_node.rb', line 41

def width
  @width
end

Class Method Details

+ (Object) set_scale(scale)



# File 'flow/ui/css_node.rb', line 42

Instance Method Details

- (Object) add_child(child)

Adds a new child node

Parameters:



# File 'flow/ui/css_node.rb', line 44

- (Array<CSSNore>) children

Returns an array containing the child nodes

Returns:

  • (Array<CSSNore>)


# File 'flow/ui/css_node.rb', line 52

- (Object) delete_child(child)

Deletes a child node

Parameters:



# File 'flow/ui/css_node.rb', line 48

- (CSSNode) parent

Returns the parent node

Returns:



# File 'flow/ui/css_node.rb', line 56

- (CSSNode) root

Returns the root node

Returns:



# File 'flow/ui/css_node.rb', line 63