bio-graphics 1.2 → 1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/classes/Bio.html +4 -26
- data/doc/classes/Bio/Feature.html +350 -0
- data/doc/classes/Bio/Feature.src/M000010.html +21 -0
- data/doc/classes/Bio/Feature.src/M000011.html +20 -0
- data/doc/classes/Bio/Feature.src/M000012.html +19 -0
- data/doc/classes/Bio/Feature.src/M000014.html +21 -0
- data/doc/classes/Bio/Feature.src/M000016.html +21 -0
- data/doc/classes/Bio/Feature.src/M000034.html +21 -0
- data/doc/classes/Bio/Feature.src/M000035.html +20 -0
- data/doc/classes/Bio/Feature.src/M000036.html +19 -0
- data/doc/classes/Bio/Feature.src/M000038.html +21 -0
- data/doc/classes/Bio/Feature.src/M000040.html +21 -0
- data/doc/classes/Bio/Feature.src/M000042.html +21 -0
- data/doc/classes/Bio/Feature.src/M000043.html +20 -0
- data/doc/classes/Bio/Feature.src/M000044.html +21 -0
- data/doc/classes/Bio/Feature.src/M000045.html +20 -0
- data/doc/classes/Bio/Feature.src/M000046.html +19 -0
- data/doc/classes/Bio/Feature.src/M000048.html +21 -0
- data/doc/classes/Bio/Feature.src/M000050.html +21 -0
- data/doc/classes/Bio/Feature.src/M000074.html +21 -0
- data/doc/classes/Bio/Feature.src/M000075.html +20 -0
- data/doc/classes/Bio/Feature.src/M000076.html +19 -0
- data/doc/classes/Bio/Feature.src/M000078.html +21 -0
- data/doc/classes/Bio/Feature.src/M000080.html +21 -0
- data/doc/classes/Bio/Feature/Qualifier.html +189 -0
- data/doc/classes/Bio/Feature/Qualifier.src/M000017.html +18 -0
- data/doc/classes/Bio/Feature/Qualifier.src/M000041.html +18 -0
- data/doc/classes/Bio/Feature/Qualifier.src/M000049.html +18 -0
- data/doc/classes/Bio/Feature/Qualifier.src/M000051.html +18 -0
- data/doc/classes/Bio/Feature/Qualifier.src/M000081.html +18 -0
- data/doc/classes/Bio/Features.html +329 -0
- data/doc/classes/Bio/Features.src/M000004.html +18 -0
- data/doc/classes/Bio/Features.src/M000005.html +19 -0
- data/doc/classes/Bio/Features.src/M000006.html +21 -0
- data/doc/classes/Bio/Features.src/M000007.html +18 -0
- data/doc/classes/Bio/Features.src/M000008.html +18 -0
- data/doc/classes/Bio/Features.src/M000009.html +18 -0
- data/doc/classes/Bio/Features.src/M000028.html +18 -0
- data/doc/classes/Bio/Features.src/M000029.html +19 -0
- data/doc/classes/Bio/Features.src/M000030.html +21 -0
- data/doc/classes/Bio/Features.src/M000031.html +18 -0
- data/doc/classes/Bio/Features.src/M000032.html +18 -0
- data/doc/classes/Bio/Features.src/M000033.html +18 -0
- data/doc/classes/Bio/Features.src/M000036.html +18 -0
- data/doc/classes/Bio/Features.src/M000037.html +19 -0
- data/doc/classes/Bio/Features.src/M000038.html +18 -0
- data/doc/classes/Bio/Features.src/M000039.html +19 -0
- data/doc/classes/Bio/Features.src/M000040.html +21 -0
- data/doc/classes/Bio/Features.src/M000041.html +18 -0
- data/doc/classes/Bio/Features.src/M000042.html +18 -0
- data/doc/classes/Bio/Features.src/M000043.html +18 -0
- data/doc/classes/Bio/Features.src/M000068.html +18 -0
- data/doc/classes/Bio/Features.src/M000069.html +19 -0
- data/doc/classes/Bio/Features.src/M000070.html +21 -0
- data/doc/classes/Bio/Features.src/M000071.html +18 -0
- data/doc/classes/Bio/Features.src/M000072.html +18 -0
- data/doc/classes/Bio/Features.src/M000073.html +18 -0
- data/doc/classes/Bio/Graphics.html +28 -42
- data/doc/classes/Bio/Graphics/{Panel/Track/Feature.html → Feature.html} +98 -125
- data/doc/classes/Bio/Graphics/Feature.src/M000020.html +51 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000021.html +65 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000022.html +55 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000023.html +66 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000024.html +51 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000025.html +65 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000026.html +55 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000054.html +51 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000055.html +65 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000056.html +55 -0
- data/doc/classes/Bio/Graphics/Feature/SubFeature.html +348 -0
- data/doc/classes/Bio/Graphics/Feature/SubFeature.src/M000025.html +68 -0
- data/doc/classes/Bio/Graphics/Feature/SubFeature.src/M000026.html +67 -0
- data/doc/classes/Bio/Graphics/Glyph.html +178 -0
- data/doc/classes/Bio/Graphics/Glyph/Box.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/Box.src/M000004.html +24 -0
- data/doc/classes/Bio/Graphics/Glyph/Box.src/M000032.html +24 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.html +187 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.src/M000004.html +18 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.src/M000005.html +18 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.src/M000006.html +24 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.src/M000007.html +24 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.src/M000033.html +18 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.src/M000034.html +24 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.src/M000035.html +24 -0
- data/doc/classes/Bio/Graphics/Glyph/CustomTestGlyph.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/CustomTestGlyph.src/M000037.html +22 -0
- data/doc/classes/Bio/Graphics/Glyph/CustomTestGlyphInFile.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/CustomTestGlyphInFile.src/M000038.html +22 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedBox.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedBox.src/M000009.html +31 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedBox.src/M000039.html +31 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedGeneric.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedGeneric.src/M000011.html +26 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedGeneric.src/M000013.html +26 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedGeneric.src/M000043.html +26 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedSpliced.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedSpliced.src/M000008.html +40 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedSpliced.src/M000010.html +40 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedSpliced.src/M000040.html +40 -0
- data/doc/classes/Bio/Graphics/{Panel/Track/Feature/PixelRange.html → Glyph/Dot.html} +16 -19
- data/doc/classes/Bio/Graphics/Glyph/Dot.src/M000013.html +22 -0
- data/doc/classes/Bio/Graphics/Glyph/Dot.src/M000015.html +22 -0
- data/doc/classes/Bio/Graphics/Glyph/Dot.src/M000045.html +22 -0
- data/doc/classes/Bio/Graphics/Glyph/Generic.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/Generic.src/M000009.html +18 -0
- data/doc/classes/Bio/Graphics/Glyph/Generic.src/M000011.html +18 -0
- data/doc/classes/Bio/Graphics/Glyph/Generic.src/M000041.html +18 -0
- data/doc/classes/Bio/Graphics/Glyph/Line.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/Line.src/M000012.html +20 -0
- data/doc/classes/Bio/Graphics/Glyph/Line.src/M000014.html +20 -0
- data/doc/classes/Bio/Graphics/Glyph/Line.src/M000044.html +20 -0
- data/doc/classes/Bio/Graphics/Glyph/LineWithHandles.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/LineWithHandles.src/M000014.html +28 -0
- data/doc/classes/Bio/Graphics/Glyph/LineWithHandles.src/M000016.html +28 -0
- data/doc/classes/Bio/Graphics/Glyph/LineWithHandles.src/M000046.html +28 -0
- data/doc/classes/Bio/Graphics/Glyph/Spliced.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/Spliced.src/M000010.html +19 -0
- data/doc/classes/Bio/Graphics/Glyph/Spliced.src/M000012.html +19 -0
- data/doc/classes/Bio/Graphics/Glyph/Spliced.src/M000042.html +19 -0
- data/doc/classes/Bio/Graphics/Glyph/Transcript.html +113 -0
- data/doc/classes/Bio/Graphics/Glyph/Triangle.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/Triangle.src/M000007.html +21 -0
- data/doc/classes/Bio/Graphics/Glyph/Triangle.src/M000008.html +21 -0
- data/doc/classes/Bio/Graphics/Glyph/Triangle.src/M000036.html +21 -0
- data/doc/classes/{ImageMap.html → Bio/Graphics/ImageMap.html} +50 -16
- data/doc/classes/{ImageMap.src/M000001.html → Bio/Graphics/ImageMap.src/M000030.html} +3 -3
- data/doc/classes/Bio/Graphics/ImageMap.src/M000031.html +18 -0
- data/doc/classes/Bio/Graphics/ImageMap.src/M000032.html +18 -0
- data/doc/classes/Bio/Graphics/ImageMap.src/M000033.html +18 -0
- data/doc/classes/{ImageMap.src/M000002.html → Bio/Graphics/ImageMap.src/M000034.html} +7 -4
- data/doc/classes/Bio/Graphics/ImageMap.src/M000035.html +24 -0
- data/doc/classes/Bio/Graphics/ImageMap.src/M000062.html +18 -0
- data/doc/classes/Bio/Graphics/ImageMap.src/M000063.html +18 -0
- data/doc/classes/Bio/Graphics/ImageMap.src/M000064.html +27 -0
- data/doc/classes/Bio/Graphics/ImageMap.src/M000065.html +24 -0
- data/doc/classes/{ImageMap/ImageMapElement.html → Bio/Graphics/ImageMap/Element.html} +14 -14
- data/doc/classes/{ImageMap/ImageMapElement.src/M000003.html → Bio/Graphics/ImageMap/Element.src/M000034.html} +3 -3
- data/doc/classes/{ImageMap/ImageMapElement.src/M000004.html → Bio/Graphics/ImageMap/Element.src/M000035.html} +6 -4
- data/doc/classes/Bio/Graphics/ImageMap/Element.src/M000036.html +19 -0
- data/doc/classes/Bio/Graphics/ImageMap/Element.src/M000037.html +22 -0
- data/doc/classes/Bio/Graphics/ImageMap/Element.src/M000066.html +19 -0
- data/doc/classes/Bio/Graphics/ImageMap/Element.src/M000067.html +22 -0
- data/doc/classes/Bio/Graphics/Panel.html +70 -69
- data/doc/classes/Bio/Graphics/Panel.src/M000025.html +52 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000026.html +20 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000027.html +98 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000028.html +20 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000029.html +52 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000030.html +20 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000031.html +98 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000059.html +52 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000060.html +20 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000061.html +98 -0
- data/doc/classes/Bio/Graphics/{Panel/Ruler.html → Ruler.html} +50 -21
- data/doc/classes/Bio/Graphics/Ruler.src/M000015.html +30 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000016.html +20 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000017.html +30 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000018.html +20 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000019.html +26 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000020.html +45 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000047.html +30 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000048.html +20 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000049.html +26 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000050.html +45 -0
- data/doc/classes/Bio/Graphics/SubFeature.html +348 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000001.html +73 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000002.html +69 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000023.html +73 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000024.html +69 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000027.html +73 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000028.html +69 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000057.html +73 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000058.html +69 -0
- data/doc/classes/Bio/Graphics/{Panel/Track.html → Track.html} +67 -69
- data/doc/classes/Bio/Graphics/Track.src/M000017.html +39 -0
- data/doc/classes/Bio/Graphics/Track.src/M000018.html +37 -0
- data/doc/classes/Bio/Graphics/Track.src/M000019.html +45 -0
- data/doc/classes/Bio/Graphics/Track.src/M000020.html +41 -0
- data/doc/classes/Bio/Graphics/Track.src/M000021.html +39 -0
- data/doc/classes/Bio/Graphics/Track.src/M000022.html +37 -0
- data/doc/classes/Bio/Graphics/Track.src/M000023.html +45 -0
- data/doc/classes/Bio/Graphics/Track.src/M000051.html +39 -0
- data/doc/classes/Bio/Graphics/Track.src/M000052.html +37 -0
- data/doc/classes/Bio/Graphics/Track.src/M000053.html +45 -0
- data/doc/classes/Range.html +129 -0
- data/doc/classes/String.html +167 -0
- data/doc/classes/String.src/M000001.html +18 -0
- data/doc/classes/String.src/M000002.html +18 -0
- data/doc/classes/String.src/M000003.html +23 -0
- data/doc/classes/String.src/M000029.html +18 -0
- data/doc/classes/String.src/M000030.html +18 -0
- data/doc/classes/String.src/M000031.html +23 -0
- data/doc/classes/TestCustomGlyph.html +137 -0
- data/doc/classes/TestCustomGlyph.src/M000025.html +25 -0
- data/doc/classes/TestCustomGlyphInFile.html +167 -0
- data/doc/classes/TestCustomGlyphInFile.src/M000026.html +19 -0
- data/doc/classes/TestCustomGlyphInFile.src/M000027.html +25 -0
- data/doc/classes/TestCustomGlyphInFile.src/M000028.html +18 -0
- data/doc/classes/TestExtensions.html +152 -0
- data/doc/classes/TestExtensions.src/M000015.html +22 -0
- data/doc/classes/TestExtensions.src/M000016.html +25 -0
- data/doc/classes/TestFeature.html +152 -0
- data/doc/classes/TestFeature.src/M000017.html +19 -0
- data/doc/classes/TestFeature.src/M000018.html +21 -0
- data/doc/classes/TestImageMap.html +182 -0
- data/doc/classes/TestImageMap.src/M000019.html +22 -0
- data/doc/classes/TestImageMap.src/M000020.html +56 -0
- data/doc/classes/TestImageMap.src/M000021.html +56 -0
- data/doc/classes/TestImageMap.src/M000022.html +20 -0
- data/doc/classes/TestPanel.html +276 -0
- data/doc/classes/TestPanel.src/M000001.html +18 -0
- data/doc/classes/TestPanel.src/M000002.html +61 -0
- data/doc/classes/TestPanel.src/M000003.html +35 -0
- data/doc/classes/TestPanel.src/M000004.html +54 -0
- data/doc/classes/TestPanel.src/M000005.html +54 -0
- data/doc/classes/TestPanel.src/M000006.html +41 -0
- data/doc/classes/TestPanel.src/M000007.html +36 -0
- data/doc/classes/TestPanel.src/M000008.html +20 -0
- data/doc/classes/TestPanel.src/M000009.html +26 -0
- data/doc/classes/TestPanel.src/M000010.html +21 -0
- data/doc/classes/TestRuler.html +152 -0
- data/doc/classes/TestRuler.src/M000013.html +22 -0
- data/doc/classes/TestRuler.src/M000014.html +31 -0
- data/doc/classes/TestSubFeature.html +152 -0
- data/doc/classes/TestSubFeature.src/M000023.html +21 -0
- data/doc/classes/TestSubFeature.src/M000024.html +18 -0
- data/doc/classes/TestTrack.html +152 -0
- data/doc/classes/TestTrack.src/M000011.html +19 -0
- data/doc/classes/TestTrack.src/M000012.html +23 -0
- data/doc/created.rid +1 -1
- data/doc/files/README_DEV.html +399 -70
- data/doc/files/TUTORIAL.html +188 -67
- data/doc/files/lib/bio-graphics_rb.html +3 -2
- data/doc/files/lib/bio/graphics/feature_rb.html +12 -6
- data/doc/files/lib/bio/graphics/glyphs/box_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/common_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/directed_box_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/directed_generic_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/directed_spliced_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/dot_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/generic_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/line_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/line_with_handles_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/spliced_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/transcript_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/triangle_rb.html +113 -0
- data/doc/files/lib/bio/graphics/image_map_rb.html +3 -2
- data/doc/files/lib/bio/graphics/panel_rb.html +10 -2
- data/doc/files/lib/bio/graphics/ruler_rb.html +3 -2
- data/doc/files/lib/bio/graphics/subfeature_rb.html +114 -0
- data/doc/files/lib/bio/graphics/track_rb.html +3 -2
- data/doc/files/lib/feature_rb.html +101 -0
- data/doc/files/samples/arkdb_features_rb.html +101 -0
- data/doc/files/samples/glyph_showcase_rb.html +108 -0
- data/doc/files/samples/protein_domains_rb.html +115 -0
- data/doc/files/samples/subfeatures_rb.html +108 -0
- data/doc/files/scripts/gff2png_rb.html +154 -0
- data/doc/files/test/unit/custom_glyph_in_file_rb.html +101 -0
- data/doc/files/test/unit/test_class_extensions_rb.html +108 -0
- data/doc/files/test/unit/test_creation_rb.html +108 -0
- data/doc/files/test/unit/test_custom_glyph_rb.html +108 -0
- data/doc/files/test/unit/test_draw_rb.html +108 -0
- data/doc/files/test/unit/test_imagemap_rb.html +108 -0
- data/doc/files/test/unit/test_subfeatures_rb.html +108 -0
- data/doc/fr_class_index.html +24 -6
- data/doc/fr_file_index.html +14 -0
- data/doc/fr_method_index.html +51 -19
- data/doc/images/glyph_showcase.png +0 -0
- data/doc/images/terms.svg +146 -132
- data/images/glyph_showcase.png +0 -0
- data/lib/bio-graphics.rb +38 -6
- data/lib/bio/graphics/feature.rb +212 -440
- data/lib/bio/graphics/glyphs/box.rb +21 -0
- data/lib/bio/graphics/glyphs/common.rb +149 -0
- data/lib/bio/graphics/glyphs/directed_box.rb +28 -0
- data/lib/bio/graphics/glyphs/directed_generic.rb +23 -0
- data/lib/bio/graphics/glyphs/directed_spliced.rb +39 -0
- data/lib/bio/graphics/glyphs/dot.rb +21 -0
- data/lib/bio/graphics/glyphs/generic.rb +15 -0
- data/lib/bio/graphics/glyphs/line.rb +17 -0
- data/lib/bio/graphics/glyphs/line_with_handles.rb +25 -0
- data/lib/bio/graphics/glyphs/spliced.rb +16 -0
- data/lib/bio/graphics/glyphs/transcript.rb +12 -0
- data/lib/bio/graphics/glyphs/triangle.rb +18 -0
- data/lib/bio/graphics/image_map.rb +25 -4
- data/lib/bio/graphics/panel.rb +266 -209
- data/lib/bio/graphics/ruler.rb +95 -96
- data/lib/bio/graphics/subfeature.rb +187 -0
- data/lib/bio/graphics/track.rb +155 -156
- data/lib/feature.rb +204 -0
- data/samples/arkdb_features.rb +10 -8
- data/samples/glyph_showcase.rb +58 -22
- data/samples/protein_domains.rb +19 -0
- data/samples/subfeatures.rb +31 -0
- data/test/unit/custom_glyph_in_file.rb +12 -0
- data/test/unit/data.txt +32 -0
- data/test/unit/test_class_extensions.rb +23 -0
- data/test/unit/test_creation.rb +43 -13
- data/test/unit/test_custom_glyph.rb +50 -0
- data/test/unit/test_draw.rb +211 -0
- data/test/unit/test_imagemap.rb +134 -0
- data/test/unit/test_subfeatures.rb +17 -0
- metadata +396 -119
- data/doc/classes/Bio/Graphics/Panel.src/M000005.html +0 -29
- data/doc/classes/Bio/Graphics/Panel.src/M000006.html +0 -19
- data/doc/classes/Bio/Graphics/Panel.src/M000007.html +0 -68
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000008.html +0 -20
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000009.html +0 -28
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000010.html +0 -54
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000013.html +0 -20
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000014.html +0 -20
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000015.html +0 -28
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000016.html +0 -59
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000017.html +0 -20
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000018.html +0 -28
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000019.html +0 -59
- data/doc/classes/Bio/Graphics/Panel/Track.src/M000008.html +0 -26
- data/doc/classes/Bio/Graphics/Panel/Track.src/M000009.html +0 -42
- data/doc/classes/Bio/Graphics/Panel/Track.src/M000010.html +0 -52
- data/doc/classes/Bio/Graphics/Panel/Track.src/M000011.html +0 -23
- data/doc/classes/Bio/Graphics/Panel/Track.src/M000012.html +0 -43
- data/doc/classes/Bio/Graphics/Panel/Track.src/M000013.html +0 -259
- data/doc/classes/Bio/Graphics/Panel/Track/Feature.src/M000011.html +0 -65
- data/doc/classes/Bio/Graphics/Panel/Track/Feature.src/M000012.html +0 -39
- data/doc/classes/Bio/Graphics/Panel/Track/Feature.src/M000013.html +0 -27
- data/doc/classes/Bio/Graphics/Panel/Track/Feature.src/M000014.html +0 -225
- data/doc/classes/Bio/Graphics/Panel/Track/Feature.src/M000015.html +0 -48
- data/doc/classes/Bio/Graphics/Panel/Track/Feature/PixelRange.src/M000012.html +0 -18
- data/doc/classes/Bio/Graphics/Panel/Track/Feature/PixelRange.src/M000013.html +0 -18
- data/doc/classes/Bio/Graphics/Panel/Track/Feature/PixelRange.src/M000015.html +0 -18
- data/doc/classes/Bio/Graphics/Panel/Track/Feature/PixelRange.src/M000016.html +0 -18
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>setup (TestFeature)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File test/unit/test_creation.rb, line 70</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span>
|
15
|
+
<span class="ruby-ivar">@panel</span> = <span class="ruby-constant">Bio</span><span class="ruby-operator">::</span><span class="ruby-constant">Graphics</span><span class="ruby-operator">::</span><span class="ruby-constant">Panel</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">1000</span>, <span class="ruby-identifier">:width</span> =<span class="ruby-operator">></span> <span class="ruby-value">500</span>)
|
16
|
+
<span class="ruby-ivar">@track</span> = <span class="ruby-ivar">@panel</span>.<span class="ruby-identifier">add_track</span>(<span class="ruby-value str">'test_track'</span>, <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">false</span>, <span class="ruby-identifier">:glyph</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">:generic</span>, <span class="ruby-identifier">:colour</span> =<span class="ruby-operator">></span> [<span class="ruby-value">1</span>,<span class="ruby-value">0</span>,<span class="ruby-value">0</span>])
|
17
|
+
<span class="ruby-keyword kw">end</span></pre>
|
18
|
+
</body>
|
19
|
+
</html>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>test_feature_creation (TestFeature)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File test/unit/test_creation.rb, line 75</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_feature_creation</span>
|
15
|
+
<span class="ruby-identifier">feature</span> = <span class="ruby-ivar">@track</span>.<span class="ruby-identifier">add_feature</span>(<span class="ruby-constant">Bio</span><span class="ruby-operator">::</span><span class="ruby-constant">Feature</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'type'</span>, <span class="ruby-value str">'123..456'</span>), <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'test_feature'</span>)
|
16
|
+
<span class="ruby-identifier">assert_equal</span>(<span class="ruby-value str">'test_feature'</span>, <span class="ruby-identifier">feature</span>.<span class="ruby-identifier">name</span>)
|
17
|
+
<span class="ruby-identifier">assert_equal</span>(<span class="ruby-value">123</span>, <span class="ruby-identifier">feature</span>.<span class="ruby-identifier">locations</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">from</span>)
|
18
|
+
<span class="ruby-identifier">assert_equal</span>(<span class="ruby-value">456</span>, <span class="ruby-identifier">feature</span>.<span class="ruby-identifier">locations</span>[<span class="ruby-value">-1</span>].<span class="ruby-identifier">to</span>)
|
19
|
+
<span class="ruby-keyword kw">end</span></pre>
|
20
|
+
</body>
|
21
|
+
</html>
|
@@ -0,0 +1,182 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: TestImageMap</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">TestImageMap</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/test/unit/test_imagemap_rb.html">
|
59
|
+
test/unit/test_imagemap.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
Test::Unit::TestCase
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div id="method-list">
|
86
|
+
<h3 class="section-bar">Methods</h3>
|
87
|
+
|
88
|
+
<div class="name-list">
|
89
|
+
<a href="#M000019">setup</a>
|
90
|
+
<a href="#M000022">teardown</a>
|
91
|
+
<a href="#M000020">test_horizontal_imagemap</a>
|
92
|
+
<a href="#M000021">test_vertical_imagemap</a>
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
|
96
|
+
</div>
|
97
|
+
|
98
|
+
|
99
|
+
<!-- if includes -->
|
100
|
+
|
101
|
+
<div id="section">
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
<!-- if method_list -->
|
111
|
+
<div id="methods">
|
112
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
113
|
+
|
114
|
+
<div id="method-M000019" class="method-detail">
|
115
|
+
<a name="M000019"></a>
|
116
|
+
|
117
|
+
<div class="method-heading">
|
118
|
+
<a href="TestImageMap.src/M000019.html" target="Code" class="method-signature"
|
119
|
+
onclick="popupCode('TestImageMap.src/M000019.html');return false;">
|
120
|
+
<span class="method-name">setup</span><span class="method-args">()</span>
|
121
|
+
</a>
|
122
|
+
</div>
|
123
|
+
|
124
|
+
<div class="method-description">
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
|
128
|
+
<div id="method-M000022" class="method-detail">
|
129
|
+
<a name="M000022"></a>
|
130
|
+
|
131
|
+
<div class="method-heading">
|
132
|
+
<a href="TestImageMap.src/M000022.html" target="Code" class="method-signature"
|
133
|
+
onclick="popupCode('TestImageMap.src/M000022.html');return false;">
|
134
|
+
<span class="method-name">teardown</span><span class="method-args">()</span>
|
135
|
+
</a>
|
136
|
+
</div>
|
137
|
+
|
138
|
+
<div class="method-description">
|
139
|
+
</div>
|
140
|
+
</div>
|
141
|
+
|
142
|
+
<div id="method-M000020" class="method-detail">
|
143
|
+
<a name="M000020"></a>
|
144
|
+
|
145
|
+
<div class="method-heading">
|
146
|
+
<a href="TestImageMap.src/M000020.html" target="Code" class="method-signature"
|
147
|
+
onclick="popupCode('TestImageMap.src/M000020.html');return false;">
|
148
|
+
<span class="method-name">test_horizontal_imagemap</span><span class="method-args">()</span>
|
149
|
+
</a>
|
150
|
+
</div>
|
151
|
+
|
152
|
+
<div class="method-description">
|
153
|
+
</div>
|
154
|
+
</div>
|
155
|
+
|
156
|
+
<div id="method-M000021" class="method-detail">
|
157
|
+
<a name="M000021"></a>
|
158
|
+
|
159
|
+
<div class="method-heading">
|
160
|
+
<a href="TestImageMap.src/M000021.html" target="Code" class="method-signature"
|
161
|
+
onclick="popupCode('TestImageMap.src/M000021.html');return false;">
|
162
|
+
<span class="method-name">test_vertical_imagemap</span><span class="method-args">()</span>
|
163
|
+
</a>
|
164
|
+
</div>
|
165
|
+
|
166
|
+
<div class="method-description">
|
167
|
+
</div>
|
168
|
+
</div>
|
169
|
+
|
170
|
+
|
171
|
+
</div>
|
172
|
+
|
173
|
+
|
174
|
+
</div>
|
175
|
+
|
176
|
+
|
177
|
+
<div id="validator-badges">
|
178
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
179
|
+
</div>
|
180
|
+
|
181
|
+
</body>
|
182
|
+
</html>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>setup (TestImageMap)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File test/unit/test_imagemap.rb, line 5</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span>
|
15
|
+
<span class="ruby-ivar">@generated_files</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>
|
16
|
+
|
17
|
+
<span class="ruby-ivar">@horizontal_imagemap</span> = <span class="ruby-value str">"<html>\n<body>\n<map name=\"image_map\" border=\"1\">\n<area shape=\"rect\" coords=\"209.075452640357 82 252.5194373852 92\" href=\"http://www.google.com\"/>\n<area shape=\"rect\" coords=\"253.957390519804 82 451.51613401821 92\" href=\"http://www.google.com\"/>\n<area shape=\"rect\" coords=\"132.966578121574 137 142.966578121574 147\" href=\"http://www.thearkdb.org/arkdb/do/getMarkerDetail?accession=ARKMKR00049788\"/>\n<area shape=\"rect\" coords=\"135.392018720278 167 145.392018720278 177\" href=\"http://www.thearkdb.org/arkdb/do/getMarkerDetail?accession=ARKMKR00033347\"/>\n<area shape=\"rect\" coords=\"181.068633829497 197 191.068633829497 207\" href=\"http://www.thearkdb.org/arkdb/do/getMarkerDetail?accession=ARKMKR00049753\"/>\n<area shape=\"rect\" coords=\"205.969047559139 227 215.969047559139 237\" href=\"http://www.thearkdb.org/arkdb/do/getMarkerDetail?accession=ARKMKR00049743\"/>\n<area shape=\"rect\" coords=\"217.47799253058 257 227.47799253058 267\" href=\"http://www.thearkdb.org/arkdb/do/getMarkerDetail?accession=ARKMKR00050962\"/>\n<area shape=\"rect\" coords=\"430.77140269086 137 440.77140269086 147\" href=\"http://www.thearkdb.org/arkdb/do/getMarkerDetail?accession=ARKMKR00049746\"/>\n</map>\n<img border='1' src='./test_horizontal_imagemap.png' usemap='#image_map' />\n</body>\n</html>\n"</span>
|
18
|
+
|
19
|
+
<span class="ruby-ivar">@vertical_imagemap</span> = <span class="ruby-value str">"<html>\n<body>\n<map name=\"image_map\" border=\"1\">\n<area shape=\"rect\" coords=\"82 347.4805626148 92 390.924547359643\" href=\"http://www.google.com\"/>\n<area shape=\"rect\" coords=\"82 148.48386598179 92 346.042609480196\" href=\"http://www.google.com\"/>\n<area shape=\"rect\" coords=\"137 457.033421878426 147 467.033421878426\" href=\"http://www.thearkdb.org/arkdb/do/getMarkerDetail?accession=ARKMKR00049788\"/>\n<area shape=\"rect\" coords=\"167 454.607981279722 177 464.607981279722\" href=\"http://www.thearkdb.org/arkdb/do/getMarkerDetail?accession=ARKMKR00033347\"/>\n<area shape=\"rect\" coords=\"197 408.931366170503 207 418.931366170503\" href=\"http://www.thearkdb.org/arkdb/do/getMarkerDetail?accession=ARKMKR00049753\"/>\n<area shape=\"rect\" coords=\"227 384.030952440861 237 394.030952440861\" href=\"http://www.thearkdb.org/arkdb/do/getMarkerDetail?accession=ARKMKR00049743\"/>\n<area shape=\"rect\" coords=\"257 372.52200746942 267 382.52200746942\" href=\"http://www.thearkdb.org/arkdb/do/getMarkerDetail?accession=ARKMKR00050962\"/>\n<area shape=\"rect\" coords=\"137 159.22859730914 147 169.22859730914\" href=\"http://www.thearkdb.org/arkdb/do/getMarkerDetail?accession=ARKMKR00049746\"/>\n</map>\n<img border='1' src='./test_vertical_imagemap.png' usemap='#image_map' />\n</body>\n</html>\n"</span>
|
20
|
+
<span class="ruby-keyword kw">end</span></pre>
|
21
|
+
</body>
|
22
|
+
</html>
|
@@ -0,0 +1,56 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>test_horizontal_imagemap (TestImageMap)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File test/unit/test_imagemap.rb, line 47</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_horizontal_imagemap</span>
|
15
|
+
<span class="ruby-identifier">my_panel</span> = <span class="ruby-constant">Bio</span><span class="ruby-operator">::</span><span class="ruby-constant">Graphics</span><span class="ruby-operator">::</span><span class="ruby-constant">Panel</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">4173015</span>, <span class="ruby-identifier">:width</span> =<span class="ruby-operator">></span> <span class="ruby-value">600</span>, <span class="ruby-identifier">:clickable</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">true</span>)
|
16
|
+
|
17
|
+
<span class="ruby-comment cmt">#Create and configure tracks</span>
|
18
|
+
<span class="ruby-identifier">scaffold_track</span> = <span class="ruby-identifier">my_panel</span>.<span class="ruby-identifier">add_track</span>(<span class="ruby-value str">'scaffold'</span>, <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">false</span>)
|
19
|
+
<span class="ruby-identifier">marker_track</span> = <span class="ruby-identifier">my_panel</span>.<span class="ruby-identifier">add_track</span>(<span class="ruby-value str">'marker'</span>, <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">true</span>)
|
20
|
+
<span class="ruby-identifier">clone_track</span> = <span class="ruby-identifier">my_panel</span>.<span class="ruby-identifier">add_track</span>(<span class="ruby-value str">'clone'</span>, <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">false</span>)
|
21
|
+
|
22
|
+
<span class="ruby-identifier">scaffold_track</span>.<span class="ruby-identifier">colour</span> = [<span class="ruby-value">1</span>,<span class="ruby-value">0</span>,<span class="ruby-value">0</span>]
|
23
|
+
<span class="ruby-identifier">marker_track</span>.<span class="ruby-identifier">colour</span> = [<span class="ruby-value">0</span>,<span class="ruby-value">1</span>,<span class="ruby-value">0</span>]
|
24
|
+
<span class="ruby-identifier">marker_track</span>.<span class="ruby-identifier">glyph</span> = <span class="ruby-identifier">:triangle</span>
|
25
|
+
<span class="ruby-identifier">clone_track</span>.<span class="ruby-identifier">colour</span> = [<span class="ruby-value">0</span>,<span class="ruby-value">0</span>,<span class="ruby-value">1</span>]
|
26
|
+
|
27
|
+
<span class="ruby-comment cmt"># Add data to tracks</span>
|
28
|
+
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-keyword kw">__FILE__</span>) <span class="ruby-operator">+</span> <span class="ruby-value str">'/data.txt'</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
|
29
|
+
<span class="ruby-identifier">line</span>.<span class="ruby-identifier">chomp!</span>
|
30
|
+
<span class="ruby-identifier">accession</span>, <span class="ruby-identifier">type</span>, <span class="ruby-identifier">start</span>, <span class="ruby-identifier">stop</span> = <span class="ruby-identifier">line</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/\t/</span>)
|
31
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'scaffold'</span>
|
32
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">start</span>.<span class="ruby-identifier">nil?</span>
|
33
|
+
<span class="ruby-identifier">scaffold_track</span>.<span class="ruby-identifier">add_feature</span>(<span class="ruby-constant">Bio</span><span class="ruby-operator">::</span><span class="ruby-constant">Feature</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'scaffold'</span>, <span class="ruby-value str">'1..4173015'</span>), <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">accession</span>)
|
34
|
+
<span class="ruby-keyword kw">else</span>
|
35
|
+
<span class="ruby-identifier">scaffold_track</span>.<span class="ruby-identifier">add_feature</span>(<span class="ruby-constant">Bio</span><span class="ruby-operator">::</span><span class="ruby-constant">Feature</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'scaffold'</span>, <span class="ruby-identifier">start</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'..'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">stop</span>), <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">accession</span>, <span class="ruby-identifier">:link</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'http://www.google.com'</span>)
|
36
|
+
<span class="ruby-keyword kw">end</span>
|
37
|
+
|
38
|
+
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'marker'</span>
|
39
|
+
<span class="ruby-identifier">marker_track</span>.<span class="ruby-identifier">add_feature</span>(<span class="ruby-constant">Bio</span><span class="ruby-operator">::</span><span class="ruby-constant">Feature</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'marker'</span>, ((<span class="ruby-identifier">start</span>.<span class="ruby-identifier">to_i</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">stop</span>.<span class="ruby-identifier">to_i</span>)<span class="ruby-operator">/</span><span class="ruby-value">2</span>).<span class="ruby-identifier">to_s</span>), <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">accession</span>, <span class="ruby-identifier">:link</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'http://www.thearkdb.org/arkdb/do/getMarkerDetail?accession='</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">accession</span>)
|
40
|
+
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'clone'</span>
|
41
|
+
<span class="ruby-identifier">clone_track</span>.<span class="ruby-identifier">add_feature</span>(<span class="ruby-constant">Bio</span><span class="ruby-operator">::</span><span class="ruby-constant">Feature</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'clone'</span>, <span class="ruby-identifier">start</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'..'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">stop</span>), <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">accession</span>)
|
42
|
+
<span class="ruby-keyword kw">end</span>
|
43
|
+
<span class="ruby-keyword kw">end</span>
|
44
|
+
|
45
|
+
<span class="ruby-comment cmt"># And draw</span>
|
46
|
+
<span class="ruby-identifier">output_file</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-keyword kw">__FILE__</span>) <span class="ruby-operator">+</span> <span class="ruby-value str">'/'</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@method_name</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'.png'</span>
|
47
|
+
<span class="ruby-identifier">html_file</span> = <span class="ruby-identifier">output_file</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp re">/\.png$/</span>, <span class="ruby-value str">'.html'</span>)
|
48
|
+
<span class="ruby-ivar">@generated_files</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">output_file</span>)
|
49
|
+
<span class="ruby-ivar">@generated_files</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">html_file</span>)
|
50
|
+
|
51
|
+
<span class="ruby-identifier">my_panel</span>.<span class="ruby-identifier">draw</span>(<span class="ruby-identifier">output_file</span>)
|
52
|
+
|
53
|
+
<span class="ruby-identifier">assert_equal</span>(<span class="ruby-ivar">@horizontal_imagemap</span>, <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">html_file</span>))
|
54
|
+
<span class="ruby-keyword kw">end</span></pre>
|
55
|
+
</body>
|
56
|
+
</html>
|
@@ -0,0 +1,56 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>test_vertical_imagemap (TestImageMap)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File test/unit/test_imagemap.rb, line 89</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_vertical_imagemap</span>
|
15
|
+
<span class="ruby-identifier">my_panel</span> = <span class="ruby-constant">Bio</span><span class="ruby-operator">::</span><span class="ruby-constant">Graphics</span><span class="ruby-operator">::</span><span class="ruby-constant">Panel</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">4173015</span>, <span class="ruby-identifier">:width</span> =<span class="ruby-operator">></span> <span class="ruby-value">600</span>, <span class="ruby-identifier">:clickable</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">true</span>, <span class="ruby-identifier">:vertical</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">true</span>)
|
16
|
+
|
17
|
+
<span class="ruby-comment cmt">#Create and configure tracks</span>
|
18
|
+
<span class="ruby-identifier">scaffold_track</span> = <span class="ruby-identifier">my_panel</span>.<span class="ruby-identifier">add_track</span>(<span class="ruby-value str">'scaffold'</span>, <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">false</span>)
|
19
|
+
<span class="ruby-identifier">marker_track</span> = <span class="ruby-identifier">my_panel</span>.<span class="ruby-identifier">add_track</span>(<span class="ruby-value str">'marker'</span>, <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">true</span>)
|
20
|
+
<span class="ruby-identifier">clone_track</span> = <span class="ruby-identifier">my_panel</span>.<span class="ruby-identifier">add_track</span>(<span class="ruby-value str">'clone'</span>, <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">false</span>)
|
21
|
+
|
22
|
+
<span class="ruby-identifier">scaffold_track</span>.<span class="ruby-identifier">colour</span> = [<span class="ruby-value">1</span>,<span class="ruby-value">0</span>,<span class="ruby-value">0</span>]
|
23
|
+
<span class="ruby-identifier">marker_track</span>.<span class="ruby-identifier">colour</span> = [<span class="ruby-value">0</span>,<span class="ruby-value">1</span>,<span class="ruby-value">0</span>]
|
24
|
+
<span class="ruby-identifier">marker_track</span>.<span class="ruby-identifier">glyph</span> = <span class="ruby-identifier">:triangle</span>
|
25
|
+
<span class="ruby-identifier">clone_track</span>.<span class="ruby-identifier">colour</span> = [<span class="ruby-value">0</span>,<span class="ruby-value">0</span>,<span class="ruby-value">1</span>]
|
26
|
+
|
27
|
+
<span class="ruby-comment cmt"># Add data to tracks</span>
|
28
|
+
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-keyword kw">__FILE__</span>) <span class="ruby-operator">+</span> <span class="ruby-value str">'/data.txt'</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
|
29
|
+
<span class="ruby-identifier">line</span>.<span class="ruby-identifier">chomp!</span>
|
30
|
+
<span class="ruby-identifier">accession</span>, <span class="ruby-identifier">type</span>, <span class="ruby-identifier">start</span>, <span class="ruby-identifier">stop</span> = <span class="ruby-identifier">line</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/\t/</span>)
|
31
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'scaffold'</span>
|
32
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">start</span>.<span class="ruby-identifier">nil?</span>
|
33
|
+
<span class="ruby-identifier">scaffold_track</span>.<span class="ruby-identifier">add_feature</span>(<span class="ruby-constant">Bio</span><span class="ruby-operator">::</span><span class="ruby-constant">Feature</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'scaffold'</span>, <span class="ruby-value str">'1..4173015'</span>), <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">accession</span>)
|
34
|
+
<span class="ruby-keyword kw">else</span>
|
35
|
+
<span class="ruby-identifier">scaffold_track</span>.<span class="ruby-identifier">add_feature</span>(<span class="ruby-constant">Bio</span><span class="ruby-operator">::</span><span class="ruby-constant">Feature</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'scaffold'</span>, <span class="ruby-identifier">start</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'..'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">stop</span>), <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">accession</span>, <span class="ruby-identifier">:link</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'http://www.google.com'</span>)
|
36
|
+
<span class="ruby-keyword kw">end</span>
|
37
|
+
|
38
|
+
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'marker'</span>
|
39
|
+
<span class="ruby-identifier">marker_track</span>.<span class="ruby-identifier">add_feature</span>(<span class="ruby-constant">Bio</span><span class="ruby-operator">::</span><span class="ruby-constant">Feature</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'marker'</span>, ((<span class="ruby-identifier">start</span>.<span class="ruby-identifier">to_i</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">stop</span>.<span class="ruby-identifier">to_i</span>)<span class="ruby-operator">/</span><span class="ruby-value">2</span>).<span class="ruby-identifier">to_s</span>), <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">accession</span>, <span class="ruby-identifier">:link</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'http://www.thearkdb.org/arkdb/do/getMarkerDetail?accession='</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">accession</span>)
|
40
|
+
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'clone'</span>
|
41
|
+
<span class="ruby-identifier">clone_track</span>.<span class="ruby-identifier">add_feature</span>(<span class="ruby-constant">Bio</span><span class="ruby-operator">::</span><span class="ruby-constant">Feature</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'clone'</span>, <span class="ruby-identifier">start</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'..'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">stop</span>), <span class="ruby-identifier">:label</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">accession</span>)
|
42
|
+
<span class="ruby-keyword kw">end</span>
|
43
|
+
<span class="ruby-keyword kw">end</span>
|
44
|
+
|
45
|
+
<span class="ruby-comment cmt"># And draw</span>
|
46
|
+
<span class="ruby-identifier">output_file</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-keyword kw">__FILE__</span>) <span class="ruby-operator">+</span> <span class="ruby-value str">'/'</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@method_name</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'.png'</span>
|
47
|
+
<span class="ruby-identifier">html_file</span> = <span class="ruby-identifier">output_file</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp re">/\.png$/</span>, <span class="ruby-value str">'.html'</span>)
|
48
|
+
<span class="ruby-ivar">@generated_files</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">output_file</span>)
|
49
|
+
<span class="ruby-ivar">@generated_files</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">html_file</span>)
|
50
|
+
|
51
|
+
<span class="ruby-identifier">my_panel</span>.<span class="ruby-identifier">draw</span>(<span class="ruby-identifier">output_file</span>)
|
52
|
+
|
53
|
+
<span class="ruby-identifier">assert_equal</span>(<span class="ruby-ivar">@vertical_imagemap</span>, <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">html_file</span>))
|
54
|
+
<span class="ruby-keyword kw">end</span></pre>
|
55
|
+
</body>
|
56
|
+
</html>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>teardown (TestImageMap)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File test/unit/test_imagemap.rb, line 131</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">teardown</span>
|
15
|
+
<span class="ruby-ivar">@generated_files</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">p</span><span class="ruby-operator">|</span>
|
16
|
+
<span class="ruby-constant">File</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">p</span>)
|
17
|
+
<span class="ruby-keyword kw">end</span>
|
18
|
+
<span class="ruby-keyword kw">end</span></pre>
|
19
|
+
</body>
|
20
|
+
</html>
|
@@ -0,0 +1,276 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: TestPanel</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">TestPanel</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/test/unit/test_draw_rb.html">
|
59
|
+
test/unit/test_draw.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
<a href="../files/test/unit/test_creation_rb.html">
|
63
|
+
test/unit/test_creation.rb
|
64
|
+
</a>
|
65
|
+
<br />
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
|
69
|
+
<tr class="top-aligned-row">
|
70
|
+
<td><strong>Parent:</strong></td>
|
71
|
+
<td>
|
72
|
+
Test::Unit::TestCase
|
73
|
+
</td>
|
74
|
+
</tr>
|
75
|
+
</table>
|
76
|
+
</div>
|
77
|
+
<!-- banner header -->
|
78
|
+
|
79
|
+
<div id="bodyContent">
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
<div id="contextContent">
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
</div>
|
88
|
+
|
89
|
+
<div id="method-list">
|
90
|
+
<h3 class="section-bar">Methods</h3>
|
91
|
+
|
92
|
+
<div class="name-list">
|
93
|
+
<a href="#M000001">setup</a>
|
94
|
+
<a href="#M000008">teardown</a>
|
95
|
+
<a href="#M000004">test_arkdb_features</a>
|
96
|
+
<a href="#M000002">test_draw_showcase</a>
|
97
|
+
<a href="#M000007">test_feature_specific_colouring</a>
|
98
|
+
<a href="#M000003">test_outside_border</a>
|
99
|
+
<a href="#M000009">test_panel_creation</a>
|
100
|
+
<a href="#M000010">test_panel_creation_out_of_boundaries</a>
|
101
|
+
<a href="#M000006">test_subfeatures</a>
|
102
|
+
<a href="#M000005">test_subregion</a>
|
103
|
+
</div>
|
104
|
+
</div>
|
105
|
+
|
106
|
+
</div>
|
107
|
+
|
108
|
+
|
109
|
+
<!-- if includes -->
|
110
|
+
|
111
|
+
<div id="section">
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
<!-- if method_list -->
|
121
|
+
<div id="methods">
|
122
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
123
|
+
|
124
|
+
<div id="method-M000001" class="method-detail">
|
125
|
+
<a name="M000001"></a>
|
126
|
+
|
127
|
+
<div class="method-heading">
|
128
|
+
<a href="TestPanel.src/M000001.html" target="Code" class="method-signature"
|
129
|
+
onclick="popupCode('TestPanel.src/M000001.html');return false;">
|
130
|
+
<span class="method-name">setup</span><span class="method-args">()</span>
|
131
|
+
</a>
|
132
|
+
</div>
|
133
|
+
|
134
|
+
<div class="method-description">
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
|
138
|
+
<div id="method-M000008" class="method-detail">
|
139
|
+
<a name="M000008"></a>
|
140
|
+
|
141
|
+
<div class="method-heading">
|
142
|
+
<a href="TestPanel.src/M000008.html" target="Code" class="method-signature"
|
143
|
+
onclick="popupCode('TestPanel.src/M000008.html');return false;">
|
144
|
+
<span class="method-name">teardown</span><span class="method-args">()</span>
|
145
|
+
</a>
|
146
|
+
</div>
|
147
|
+
|
148
|
+
<div class="method-description">
|
149
|
+
</div>
|
150
|
+
</div>
|
151
|
+
|
152
|
+
<div id="method-M000004" class="method-detail">
|
153
|
+
<a name="M000004"></a>
|
154
|
+
|
155
|
+
<div class="method-heading">
|
156
|
+
<a href="TestPanel.src/M000004.html" target="Code" class="method-signature"
|
157
|
+
onclick="popupCode('TestPanel.src/M000004.html');return false;">
|
158
|
+
<span class="method-name">test_arkdb_features</span><span class="method-args">()</span>
|
159
|
+
</a>
|
160
|
+
</div>
|
161
|
+
|
162
|
+
<div class="method-description">
|
163
|
+
</div>
|
164
|
+
</div>
|
165
|
+
|
166
|
+
<div id="method-M000002" class="method-detail">
|
167
|
+
<a name="M000002"></a>
|
168
|
+
|
169
|
+
<div class="method-heading">
|
170
|
+
<a href="TestPanel.src/M000002.html" target="Code" class="method-signature"
|
171
|
+
onclick="popupCode('TestPanel.src/M000002.html');return false;">
|
172
|
+
<span class="method-name">test_draw_showcase</span><span class="method-args">()</span>
|
173
|
+
</a>
|
174
|
+
</div>
|
175
|
+
|
176
|
+
<div class="method-description">
|
177
|
+
</div>
|
178
|
+
</div>
|
179
|
+
|
180
|
+
<div id="method-M000007" class="method-detail">
|
181
|
+
<a name="M000007"></a>
|
182
|
+
|
183
|
+
<div class="method-heading">
|
184
|
+
<a href="TestPanel.src/M000007.html" target="Code" class="method-signature"
|
185
|
+
onclick="popupCode('TestPanel.src/M000007.html');return false;">
|
186
|
+
<span class="method-name">test_feature_specific_colouring</span><span class="method-args">()</span>
|
187
|
+
</a>
|
188
|
+
</div>
|
189
|
+
|
190
|
+
<div class="method-description">
|
191
|
+
</div>
|
192
|
+
</div>
|
193
|
+
|
194
|
+
<div id="method-M000003" class="method-detail">
|
195
|
+
<a name="M000003"></a>
|
196
|
+
|
197
|
+
<div class="method-heading">
|
198
|
+
<a href="TestPanel.src/M000003.html" target="Code" class="method-signature"
|
199
|
+
onclick="popupCode('TestPanel.src/M000003.html');return false;">
|
200
|
+
<span class="method-name">test_outside_border</span><span class="method-args">()</span>
|
201
|
+
</a>
|
202
|
+
</div>
|
203
|
+
|
204
|
+
<div class="method-description">
|
205
|
+
</div>
|
206
|
+
</div>
|
207
|
+
|
208
|
+
<div id="method-M000009" class="method-detail">
|
209
|
+
<a name="M000009"></a>
|
210
|
+
|
211
|
+
<div class="method-heading">
|
212
|
+
<a href="TestPanel.src/M000009.html" target="Code" class="method-signature"
|
213
|
+
onclick="popupCode('TestPanel.src/M000009.html');return false;">
|
214
|
+
<span class="method-name">test_panel_creation</span><span class="method-args">()</span>
|
215
|
+
</a>
|
216
|
+
</div>
|
217
|
+
|
218
|
+
<div class="method-description">
|
219
|
+
</div>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
<div id="method-M000010" class="method-detail">
|
223
|
+
<a name="M000010"></a>
|
224
|
+
|
225
|
+
<div class="method-heading">
|
226
|
+
<a href="TestPanel.src/M000010.html" target="Code" class="method-signature"
|
227
|
+
onclick="popupCode('TestPanel.src/M000010.html');return false;">
|
228
|
+
<span class="method-name">test_panel_creation_out_of_boundaries</span><span class="method-args">()</span>
|
229
|
+
</a>
|
230
|
+
</div>
|
231
|
+
|
232
|
+
<div class="method-description">
|
233
|
+
</div>
|
234
|
+
</div>
|
235
|
+
|
236
|
+
<div id="method-M000006" class="method-detail">
|
237
|
+
<a name="M000006"></a>
|
238
|
+
|
239
|
+
<div class="method-heading">
|
240
|
+
<a href="TestPanel.src/M000006.html" target="Code" class="method-signature"
|
241
|
+
onclick="popupCode('TestPanel.src/M000006.html');return false;">
|
242
|
+
<span class="method-name">test_subfeatures</span><span class="method-args">()</span>
|
243
|
+
</a>
|
244
|
+
</div>
|
245
|
+
|
246
|
+
<div class="method-description">
|
247
|
+
</div>
|
248
|
+
</div>
|
249
|
+
|
250
|
+
<div id="method-M000005" class="method-detail">
|
251
|
+
<a name="M000005"></a>
|
252
|
+
|
253
|
+
<div class="method-heading">
|
254
|
+
<a href="TestPanel.src/M000005.html" target="Code" class="method-signature"
|
255
|
+
onclick="popupCode('TestPanel.src/M000005.html');return false;">
|
256
|
+
<span class="method-name">test_subregion</span><span class="method-args">()</span>
|
257
|
+
</a>
|
258
|
+
</div>
|
259
|
+
|
260
|
+
<div class="method-description">
|
261
|
+
</div>
|
262
|
+
</div>
|
263
|
+
|
264
|
+
|
265
|
+
</div>
|
266
|
+
|
267
|
+
|
268
|
+
</div>
|
269
|
+
|
270
|
+
|
271
|
+
<div id="validator-badges">
|
272
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
273
|
+
</div>
|
274
|
+
|
275
|
+
</body>
|
276
|
+
</html>
|