Robot Framework Integrated Development Environment (RIDE)
robotide.editor.gridbase._GridSelection Class Reference

Public Member Functions

def __init__ (self, grid)
 
def cells (self)
 Return selected cells as a list of tuples (row, column). More...
 
def clear (self)
 
def cols (self)
 Returns a list containing indices of columns currently selected. More...
 
def rows (self)
 Returns a list containing indices of rows currently selected. More...
 
def set_from_range_selection (self, grid, event)
 
def set_from_single_selection (self, event)
 

Public Attributes

 bottomright
 
 topleft
 

Properties

 cell = property(lambda self: (self.topleft.row, self.topleft.col))
 

Private Member Functions

def _count_bottomright (self, topleft, bottomright)
 
def _get_bounding_coordinates (self, grid, event)
 
def _set (self, topleft, bottomright=None)
 

Private Attributes

 _grid
 

Detailed Description

Definition at line 309 of file gridbase.py.

Constructor & Destructor Documentation

◆ __init__()

def robotide.editor.gridbase._GridSelection.__init__ (   self,
  grid 
)

Definition at line 312 of file gridbase.py.

Member Function Documentation

◆ _count_bottomright()

def robotide.editor.gridbase._GridSelection._count_bottomright (   self,
  topleft,
  bottomright 
)
private

Definition at line 320 of file gridbase.py.

◆ _get_bounding_coordinates()

def robotide.editor.gridbase._GridSelection._get_bounding_coordinates (   self,
  grid,
  event 
)
private

Definition at line 336 of file gridbase.py.

◆ _set()

def robotide.editor.gridbase._GridSelection._set (   self,
  topleft,
  bottomright = None 
)
private

Definition at line 316 of file gridbase.py.

◆ cells()

def robotide.editor.gridbase._GridSelection.cells (   self)

Return selected cells as a list of tuples (row, column).

Definition at line 353 of file gridbase.py.

◆ clear()

def robotide.editor.gridbase._GridSelection.clear (   self)

Definition at line 332 of file gridbase.py.

◆ cols()

def robotide.editor.gridbase._GridSelection.cols (   self)

Returns a list containing indices of columns currently selected.

Definition at line 349 of file gridbase.py.

◆ rows()

def robotide.editor.gridbase._GridSelection.rows (   self)

Returns a list containing indices of rows currently selected.

Definition at line 345 of file gridbase.py.

◆ set_from_range_selection()

def robotide.editor.gridbase._GridSelection.set_from_range_selection (   self,
  grid,
  event 
)

Definition at line 329 of file gridbase.py.

◆ set_from_single_selection()

def robotide.editor.gridbase._GridSelection.set_from_single_selection (   self,
  event 
)

Definition at line 326 of file gridbase.py.

Member Data Documentation

◆ _grid

robotide.editor.gridbase._GridSelection._grid
private

Definition at line 314 of file gridbase.py.

◆ bottomright

robotide.editor.gridbase._GridSelection.bottomright

Definition at line 318 of file gridbase.py.

◆ topleft

robotide.editor.gridbase._GridSelection.topleft

Definition at line 317 of file gridbase.py.

Property Documentation

◆ cell

robotide.editor.gridbase._GridSelection.cell = property(lambda self: (self.topleft.row, self.topleft.col))
static

Definition at line 310 of file gridbase.py.


The documentation for this class was generated from the following file: