TimelinesRenderer class. More...
Public Member Functions | |
def | __init__ (self) |
Initializer. More... | |
def | draw (self, ctx) |
Draw. More... | |
def | draw_events (self, ctx, events, x, y, width, height) |
Draw Event. More... | |
def | draw_line (self, ctx, x, y, width, height) |
Draw Line. More... | |
def | draw_ranges (self, ctx, ranges, x, y, width, height) |
Draw Ranges. More... | |
def | get_data_x_start (self) |
Get Data X Start. More... | |
def | get_height (self) |
Get Height. More... | |
def | layout (self, width) |
Get Data X Start. More... | |
def | set_render_range (self, start, end) |
Set Render Range. More... | |
def | set_timelines (self, timelines, colors) |
Set Timelines. More... | |
Public Attributes | |
colors | |
colors More... | |
end | |
end More... | |
grey_background | |
grey background More... | |
height | |
height More... | |
left_width | |
left width More... | |
max_text_height | |
maximum text height More... | |
padding | |
padding More... | |
right_width | |
right width More... | |
start | |
start More... | |
timelines | |
timelines More... | |
width | |
width More... | |
TimelinesRenderer class.
def grid.TimelinesRenderer.__init__ | ( | self | ) |
def grid.TimelinesRenderer.draw | ( | self, | |
ctx | |||
) |
Draw.
self | this object |
ctx | ctx |
Definition at line 847 of file grid.py.
References grid.TimelinesRenderer.draw_line(), grid.TimelinesRenderer.left_width, grid.TimelinesRenderer.padding, grid.TimelinesRenderer.right_width, ns3::AnimationInterface::NodeSize.width, visualizer.svgitem.SvgItem.width, and grid.TimelinesRenderer.width.
def grid.TimelinesRenderer.draw_events | ( | self, | |
ctx, | |||
events, | |||
x, | |||
y, | |||
width, | |||
height | |||
) |
Draw Event.
self | this object |
ctx | ctx |
events | events |
x | x |
y | y |
width | width |
height | height |
Definition at line 785 of file grid.py.
References nlohmann::detail::iterator_input_adapter< IteratorType >.end, ns3::AttributeContainerValue< A, Sep, C >.end(), ns3::Config::MatchContainer.end(), ns3::ByteTagList::Iterator::Item.end, anonymous_namespace{packet-test-suite.cc}::Expected.end, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.end, ns3::ChannelAccessManager::Timespan.end, ns3::CtrlTriggerHeader.end(), ns3::PhyEntity.end(), ns3::WifiMpdu.end(), ns3::WifiPsdu.end(), nlohmann::detail::iteration_proxy< IteratorType >.end(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >.end(), grid.DataRange.end, grid.TimelinesRenderer.end, grid.TimelinesRenderer.grey_background, grid.TimelinesRenderer.max_text_height, grid.ScaleRenderer.max_text_height, grid.TimelinesRenderer.padding, ns3::LteRrcSap::PhysCellIdRange.start, ns3::ByteTagList::Iterator::Item.start, anonymous_namespace{packet-test-suite.cc}::Expected.start, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.start, ns3::ChannelAccessManager::Timespan.start, grid.DataRange.start, and grid.TimelinesRenderer.start.
def grid.TimelinesRenderer.draw_line | ( | self, | |
ctx, | |||
x, | |||
y, | |||
width, | |||
height | |||
) |
Draw Line.
self | this object |
ctx | ctx |
x | x |
y | y |
width | width |
height | height |
Definition at line 767 of file grid.py.
Referenced by grid.TimelinesRenderer.draw().
def grid.TimelinesRenderer.draw_ranges | ( | self, | |
ctx, | |||
ranges, | |||
x, | |||
y, | |||
width, | |||
height | |||
) |
Draw Ranges.
self | this object |
ctx | ctx |
ranges | ranges |
x | x |
y | y |
width | width |
height | height |
Definition at line 814 of file grid.py.
References grid.TimelinesRenderer.colors, nlohmann::detail::iterator_input_adapter< IteratorType >.end, ns3::AttributeContainerValue< A, Sep, C >.end(), ns3::Config::MatchContainer.end(), ns3::ByteTagList::Iterator::Item.end, anonymous_namespace{packet-test-suite.cc}::Expected.end, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.end, ns3::ChannelAccessManager::Timespan.end, ns3::CtrlTriggerHeader.end(), ns3::PhyEntity.end(), ns3::WifiMpdu.end(), ns3::WifiPsdu.end(), nlohmann::detail::iteration_proxy< IteratorType >.end(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >.end(), grid.DataRange.end, grid.TimelinesRenderer.end, grid.TimelinesRenderer.grey_background, max, min, grid.TimelinesRenderer.padding, ns3::LteRrcSap::PhysCellIdRange.start, ns3::ByteTagList::Iterator::Item.start, anonymous_namespace{packet-test-suite.cc}::Expected.start, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.start, ns3::ChannelAccessManager::Timespan.start, grid.DataRange.start, and grid.TimelinesRenderer.start.
def grid.TimelinesRenderer.get_data_x_start | ( | self | ) |
Get Data X Start.
self | this object |
Definition at line 708 of file grid.py.
References grid.TimelinesRenderer.left_width, grid.TimelinesRenderer.padding, and grid.TimelinesRenderer.right_width.
def grid.TimelinesRenderer.get_height | ( | self | ) |
Get Height.
self | this object |
Definition at line 681 of file grid.py.
References ns3::AnimationInterface::NodeSize.height, visualizer.svgitem.SvgItem.height, and grid.TimelinesRenderer.height.
def grid.TimelinesRenderer.layout | ( | self, | |
width | |||
) |
Get Data X Start.
self | this object |
width | width |
Definition at line 717 of file grid.py.
References max, grid.TimelinesRenderer.padding, grid.Timelines.timelines, and grid.TimelinesRenderer.timelines.
def grid.TimelinesRenderer.set_render_range | ( | self, | |
start, | |||
end | |||
) |
def grid.TimelinesRenderer.set_timelines | ( | self, | |
timelines, | |||
colors | |||
) |
grid.TimelinesRenderer.colors |
grid.TimelinesRenderer.end |
end
Definition at line 706 of file grid.py.
Referenced by grid.TimelinesRenderer.draw_events(), and grid.TimelinesRenderer.draw_ranges().
grid.TimelinesRenderer.grey_background |
grey background
Definition at line 864 of file grid.py.
Referenced by grid.TimelinesRenderer.draw_events(), and grid.TimelinesRenderer.draw_ranges().
grid.TimelinesRenderer.height |
height
Definition at line 765 of file grid.py.
Referenced by visualizer.svgitem.SvgItem._size_changed(), visualizer.svgitem.SvgItem.do_get_property(), visualizer.svgitem.SvgItem.do_simple_is_item_at(), and grid.TimelinesRenderer.get_height().
grid.TimelinesRenderer.left_width |
left width
Definition at line 761 of file grid.py.
Referenced by grid.TimelinesRenderer.draw(), and grid.TimelinesRenderer.get_data_x_start().
grid.TimelinesRenderer.max_text_height |
maximum text height
Definition at line 763 of file grid.py.
Referenced by grid.TimelinesRenderer.draw_events().
grid.TimelinesRenderer.padding |
padding
Definition at line 678 of file grid.py.
Referenced by grid.TimelinesRenderer.draw(), grid.TimelinesRenderer.draw_events(), grid.TimelinesRenderer.draw_ranges(), grid.TimelinesRenderer.get_data_x_start(), and grid.TimelinesRenderer.layout().
grid.TimelinesRenderer.right_width |
right width
Definition at line 762 of file grid.py.
Referenced by grid.TimelinesRenderer.draw(), and grid.TimelinesRenderer.get_data_x_start().
grid.TimelinesRenderer.start |
start
Definition at line 705 of file grid.py.
Referenced by grid.TimelinesRenderer.draw_events(), and grid.TimelinesRenderer.draw_ranges().
grid.TimelinesRenderer.timelines |
timelines
Definition at line 695 of file grid.py.
Referenced by grid.Timelines.get(), grid.Timelines.get_all(), grid.Timelines.get_all_range_values(), grid.Timelines.get_bounds(), grid.TimelinesRenderer.layout(), and grid.Timelines.sort().
grid.TimelinesRenderer.width |
width
Definition at line 764 of file grid.py.
Referenced by visualizer.svgitem.SvgItem._size_changed(), visualizer.svgitem.SvgItem.do_get_property(), visualizer.svgitem.SvgItem.do_simple_is_item_at(), and grid.TimelinesRenderer.draw().