Public Member Functions | |
__init__ (self, name="") | |
Initializer. | |
add_range (self, range) | |
Add range. | |
get_all (self) | |
Get all ranges. | |
get_bounds (self) | |
Get bounds. | |
get_ranges (self, start, end) | |
Get selected ranges. | |
get_ranges_bounds (self, start, end) | |
Get ranges bounds. | |
sort (self) | |
Sort ranges. | |
Public Attributes | |
name | |
name | |
ranges | |
ranges | |
Private Member Functions | |
__search (self, key) | |
Search. | |
grid.TimelineDataRange.__init__ | ( | self, | |
name = "" ) |
|
private |
Search.
self | this object |
key | key |
Definition at line 113 of file grid.py.
References grid.Timeline.ranges, and grid.TimelineDataRange.ranges.
Referenced by grid.TimelineEvent.get_events(), grid.TimelineEvent.get_events_bounds(), grid.TimelineDataRange.get_ranges(), and grid.TimelineDataRange.get_ranges_bounds().
grid.TimelineDataRange.add_range | ( | self, | |
range ) |
Add range.
self | this object |
range | range |
Definition at line 132 of file grid.py.
References grid.Timeline.ranges, and grid.TimelineDataRange.ranges.
grid.TimelineDataRange.get_all | ( | self | ) |
Get all ranges.
self | this object |
Definition at line 140 of file grid.py.
References grid.Timeline.ranges, and grid.TimelineDataRange.ranges.
grid.TimelineDataRange.get_bounds | ( | self | ) |
Get bounds.
self | this object |
Definition at line 190 of file grid.py.
References grid.Timeline.ranges, and grid.TimelineDataRange.ranges.
grid.TimelineDataRange.get_ranges | ( | self, | |
start, | |||
end ) |
Get selected ranges.
self | this object |
start | range start |
end | range end |
Definition at line 147 of file grid.py.
References grid.TimelineDataRange.__search(), grid.TimelineEvent.__search(), grid.Timeline.ranges, and grid.TimelineDataRange.ranges.
grid.TimelineDataRange.get_ranges_bounds | ( | self, | |
start, | |||
end ) |
Get ranges bounds.
self | this object |
start | range start |
end | range end |
Definition at line 165 of file grid.py.
References grid.TimelineDataRange.__search(), grid.TimelineEvent.__search(), grid.Timeline.ranges, and grid.TimelineDataRange.ranges.
grid.TimelineDataRange.sort | ( | self | ) |
Sort ranges.
self | this object |
Definition at line 183 of file grid.py.
References grid.Timeline.ranges, grid.TimelineDataRange.ranges, and grid.TimelineDataRange.sort().
Referenced by grid.TimelineDataRange.sort().
grid.TimelineDataRange.ranges |
ranges
Definition at line 110 of file grid.py.
Referenced by grid.TimelineDataRange.__search(), grid.TimelineDataRange.add_range(), grid.TimelineDataRange.get_all(), grid.Timeline.get_bounds(), grid.TimelineDataRange.get_bounds(), grid.Timeline.get_range(), grid.Timeline.get_ranges(), grid.TimelineDataRange.get_ranges(), grid.TimelineDataRange.get_ranges_bounds(), grid.Timeline.sort(), and grid.TimelineDataRange.sort().