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 105 of file grid.py.
References grid.TimelineDataRange.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 123 of file grid.py.
References grid.TimelineDataRange.ranges.
def grid.TimelineDataRange.get_all | ( | self | ) |
Get all ranges.
self | this object |
Definition at line 130 of file grid.py.
References grid.TimelineDataRange.ranges.
def grid.TimelineDataRange.get_bounds | ( | self | ) |
Get bounds.
self | this object |
Definition at line 176 of file grid.py.
References grid.TimelineDataRange.ranges, and return.
def grid.TimelineDataRange.get_ranges | ( | self, | |
start, | |||
end | |||
) |
Get selected ranges.
self | this object |
start | range start |
end | range end |
Definition at line 136 of file grid.py.
References grid.TimelineDataRange.__search(), and grid.TimelineDataRange.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 153 of file grid.py.
References grid.TimelineDataRange.__search(), grid.TimelineDataRange.ranges, and return.
def grid.TimelineDataRange.sort | ( | self | ) |
Sort ranges.
self | this object |
Definition at line 170 of file grid.py.
References grid.TimelineDataRange.ranges.
grid.TimelineDataRange.ranges |
ranges
Definition at line 103 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.TimelineDataRange.get_ranges(), grid.Timeline.get_ranges(), grid.TimelineDataRange.get_ranges_bounds(), grid.TimelineDataRange.sort(), and grid.Timeline.sort().