Public Member Functions | |
def | __init__ (self, name='') |
Initializer. More... | |
def | add_range (self, range) |
Add range. More... | |
def | get_all (self) |
Get all ranges. More... | |
def | get_bounds (self) |
Get bounds. More... | |
def | get_ranges (self, start, end) |
Get selected ranges. More... | |
def | get_ranges_bounds (self, start, end) |
Get ranges bounds. More... | |
def | sort (self) |
Sort ranges. More... | |
Public Attributes | |
name | |
name More... | |
ranges | |
ranges More... | |
Private Member Functions | |
def | __search (self, key) |
Search. More... | |
def grid.TimelineDataRange.__init__ | ( | self, | |
name = '' |
|||
) |
|
private |
Search.
self | this object |
key | key |
Definition at line 100 of file grid.py.
References grid.TimelineDataRange.ranges, and grid.Timeline.ranges.
Referenced by grid.TimelineEvent.get_events(), grid.TimelineEvent.get_events_bounds(), grid.TimelineDataRange.get_ranges(), and grid.TimelineDataRange.get_ranges_bounds().
def grid.TimelineDataRange.add_range | ( | self, | |
range | |||
) |
Add range.
self | this object |
range | range |
Definition at line 118 of file grid.py.
References grid.TimelineDataRange.ranges, and grid.Timeline.ranges.
def grid.TimelineDataRange.get_all | ( | self | ) |
Get all ranges.
self | this object |
Definition at line 125 of file grid.py.
References grid.TimelineDataRange.ranges, and grid.Timeline.ranges.
def grid.TimelineDataRange.get_bounds | ( | self | ) |
Get bounds.
self | this object |
Definition at line 171 of file grid.py.
References grid.TimelineDataRange.ranges, and grid.Timeline.ranges.
def grid.TimelineDataRange.get_ranges | ( | self, | |
start, | |||
end | |||
) |
Get selected ranges.
self | this object |
start | range start |
end | range end |
Definition at line 131 of file grid.py.
References grid.TimelineDataRange.__search(), grid.TimelineEvent.__search(), grid.TimelineDataRange.ranges, and grid.Timeline.ranges.
def grid.TimelineDataRange.get_ranges_bounds | ( | self, | |
start, | |||
end | |||
) |
Get ranges bounds.
self | this object |
start | range start |
end | range end |
Definition at line 148 of file grid.py.
References grid.TimelineDataRange.__search(), grid.TimelineEvent.__search(), grid.TimelineDataRange.ranges, and grid.Timeline.ranges.
def grid.TimelineDataRange.sort | ( | self | ) |
Sort ranges.
self | this object |
Definition at line 165 of file grid.py.
References grid.TimelineDataRange.ranges, and grid.Timeline.ranges.
grid.TimelineDataRange.ranges |
ranges
Definition at line 98 of file grid.py.
Referenced by grid.TimelineDataRange.__search(), grid.TimelineDataRange.add_range(), grid.TimelineDataRange.get_all(), grid.TimelineDataRange.get_bounds(), grid.Timeline.get_bounds(), grid.Timeline.get_range(), grid.Timeline.get_ranges(), grid.TimelineDataRange.get_ranges(), grid.TimelineDataRange.get_ranges_bounds(), grid.TimelineDataRange.sort(), and grid.Timeline.sort().