Class: CSSNode
Direct Known Subclasses
Instance Attribute Summary (collapse)
-
- (Object) align_items
The current value of align_items.
-
- (Object) align_self
The current value of align_self.
-
- (Object) border_bottom_width
The current value of border_bottom_width.
-
- (Object) border_end
The current value of border_end.
-
- (Object) border_left_width
The current value of border_left_width.
-
- (Object) border_right_width
The current value of border_right_width.
-
- (Object) border_start
The current value of border_start.
-
- (Object) border_top_width
The current value of border_top_width.
-
- (Object) border_width
The current value of border_width.
-
- (Object) bottom
The current value of bottom.
-
- (Object) flex
The current value of flex.
-
- (Object) flex_direction
The current value of flex_direction.
-
- (Object) flex_wrap
The current value of flex_wrap.
-
- (Object) height
The current value of height.
-
- (Object) justify_content
The current value of justify_content.
-
- (Object) left
The current value of left.
-
- (Object) margin
The current value of margin.
-
- (Object) margin_bottom
The current value of margin_bottom.
-
- (Object) margin_end
The current value of margin_end.
-
- (Object) margin_left
The current value of margin_left.
-
- (Object) margin_right
The current value of margin_right.
-
- (Object) margin_start
The current value of margin_start.
-
- (Object) margin_top
The current value of margin_top.
-
- (Object) max_height
The current value of max_height.
-
- (Object) max_width
The current value of max_width.
-
- (Object) min_height
The current value of min_height.
-
- (Object) min_width
The current value of min_width.
-
- (Object) name
The current value of name.
-
- (Object) padding
The current value of padding.
-
- (Object) padding_bottom
The current value of padding_bottom.
-
- (Object) padding_end
The current value of padding_end.
-
- (Object) padding_left
The current value of padding_left.
-
- (Object) padding_right
The current value of padding_right.
-
- (Object) padding_start
The current value of padding_start.
-
- (Object) padding_top
The current value of padding_top.
-
- (Object) position
The current value of position.
-
- (Object) right
The current value of right.
-
- (Object) top
The current value of top.
-
- (Object) width
The current value of width.
Class Method Summary (collapse)
Instance Method Summary (collapse)
-
- (Object) add_child(child)
Adds a new child node.
-
- (Array<CSSNore>) children
Returns an array containing the child nodes.
-
- (Object) delete_child(child)
Deletes a child node.
-
- (CSSNode) parent
Returns the parent node.
-
- (CSSNode) root
Returns the root node.
Instance Attribute Details
- (Object) align_items
Returns 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
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
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
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
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
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
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
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
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
41 42 43 |
# File 'flow/ui/css_node.rb', line 41 def bottom @bottom end |
- (Object) flex
Returns 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
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
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
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
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
41 42 43 |
# File 'flow/ui/css_node.rb', line 41 def left @left end |
- (Object) margin
Returns 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
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
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
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
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
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
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
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
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
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
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
41 42 43 |
# File 'flow/ui/css_node.rb', line 41 def name @name end |
- (Object) padding
Returns 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
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
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
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
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
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
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
41 42 43 |
# File 'flow/ui/css_node.rb', line 41 def position @position end |
- (Object) right
Returns 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
41 42 43 |
# File 'flow/ui/css_node.rb', line 41 def top @top end |
- (Object) width
Returns 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
- (Array<CSSNore>) children
Returns an array containing the child nodes
|
# File 'flow/ui/css_node.rb', line 52
|