Class: Layout::Table
| Relationships | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
           Entity | |
| Instance Chain: 
          self,
          Enumerable,
           Entity | |
| Inherits: | Layout::Entity 
 | 
Overview
A Table is a series of rows and columns that holds data.
Class Method Summary
- 
    
      .new(bounds, rows, columns)  ⇒ Layout::Table 
    
    constructor
    The #initializemethod creates aTablewith a specified size, and a specified number of rows and columns.
Instance Attribute Summary
Entity - Inherited
| #locked= | The  | 
| #locked? | The  | 
| #on_shared_layer? | |
| #style | |
| #style= | |
| #untransformed_bounds | The  | 
| #untransformed_bounds= | The  | 
Instance Method Summary
- #[](row_index, column_index) ⇒ Layout::TableCell
- 
    
      #dimensions  ⇒ Array(Integer, Integer) 
    
    The #dimensions method returns the number of rows and columns in a Table.
- 
    
      #each {|cell| ... } 
    
    The #each method iterates in column major order through all of the cells in the Table.
- #entities ⇒ Layout::Entities
- 
    
      #get_column(index)  ⇒ Layout::TableColumn 
    
    The #get_column method returns the TableColumnat the specified index.
- #get_row(index) ⇒ Layout::TableRow
- 
    
      #insert_column(index)  
    
    The #insert_column method inserts a new column at the specified index. 
- 
    
      #insert_row(index)  
    
    The #insert_row method inserts a new row at the specified index. 
- 
    
      #merge(start_row, start_column, end_row, end_column)  
    
    The #merge method merges a range of cells within a Table.
- 
    
      #remove_column(index)  
    
    The #remove_column method removes the column at the specified index. 
- 
    
      #remove_row(index)  
    
    The #remove_row method removes the row at the specified index. 
Entity - Inherited
| #== | The  | 
| #bounds | The  | 
| #document | |
| #drawing_bounds | The  | 
| #group | |
| #layer_instance | The  | 
| #move_to_group | |
| #move_to_layer | |
| #page | |
| #transform! | The  | 
| #transformation | The  | 
Constructor Details
    .new(bounds, rows, columns)  ⇒ Table 
  
The #initialize method creates a Table with a specified size, and a specified number of rows and columns.
Instance Method Details
#[](row_index, column_index) ⇒ Layout::TableCell
The #[] method returns the TableCell at the specified row and column.
    #dimensions  ⇒ Array(Integer, Integer) 
  
The #dimensions method returns the number of rows and columns in a Table.
#each {|cell| ... }
The #each method iterates in column major order through all of the cells in the Table.
#entities ⇒ Layout::Entities
The #entities method creates and returns the Entities that represent the Table in its exploded form.
#get_column(index) ⇒ Layout::TableColumn
The #get_column method returns the TableColumn at the specified index.
#get_row(index) ⇒ Layout::TableRow
The #get_row method returns the TableRow at the specified index.
#insert_column(index)
The #insert_column method inserts a new column at the specified index.
#insert_row(index)
The #insert_row method inserts a new row at the specified index.
#merge(start_row, start_column, end_row, end_column)
The #merge method merges a range of cells within a Table. Only cells which are not already merged can be merged.
#remove_column(index)
The #remove_column method removes the column at the specified index.
#remove_row(index)
The #remove_row method removes the row at the specified index.