Inheritance diagram for DefaultSegmentationVisualization::
Public Methods | |
DefaultSegmentationVisualization (String segName) | |
boolean | getShowTable () |
Indicates if the segment has to be shown in the table of segments. More... | |
void | setShowTable (boolean showTable) |
String | getTableTitle () |
Indicates the title of the table for the segment. More... | |
void | setTableTitle (String tableTitle) |
String | getTableFeature () |
Indicates the feature to be shown in the table ( "" if none ). More... | |
void | setTableFeature (String tableFeature) |
String | getTableToolTipText () |
Indicates the toolTip of the table for the segment. More... | |
void | setTableToolTipText (String tableToolTipText) |
boolean | getShowDescription () |
Indicates if the segment has to be shown in the description panel. More... | |
void | setShowDescription (boolean showDescription) |
String | getDescriptionLabel () |
Indicates the label to be shown in the description panel. More... | |
void | setDescriptionLabel (String descriptionLabel) |
String | getTypeFeature () |
Indicates the name of the feature that will be shown in the "type" part of the Description panel. More... | |
void | setTypeFeature (String typeFeature) |
String | getDescriptionFeature () |
Indicates the name of the feature that will be shown in the "description" part of the Description panel. More... | |
void | setDescriptionFeature (String descriptionFeature) |
boolean | getShowGraphic () |
Indicates if the segment has to be shown in the graphic panel. More... | |
void | setShowGraphic (boolean showGraphic) |
Color | getGraphicColor () |
Indicates the color to be used in the graphic panel. More... | |
void | setGraphicColor (Color graphicColor) |
PlayingObserver | getPlayingObserver (SegmentationVisualizationContext ctx) |
returns the PlayingObserver that will take care of update the different visualizations while the video is playing. More... | |
void | clear () |
Perform clean up. More... |
|
00019 { 00020 _showTable = false; 00021 _tableTitle = _tableToolTipText = segName; 00022 _tableFeature = ""; 00023 _showDescription = false; 00024 _descriptionLabel = segName+" :"; 00025 _typeFeature = "type"; 00026 _descriptionFeature = "description"; 00027 _showGraphic = false; 00028 _graphicColor = Color.black; 00029 } |
|
Indicates if the segment has to be shown in the table of segments.
Reimplemented from SegmentationVisualization.
00032 { 00033 return _showTable; 00034 } |
|
00037 { 00038 _showTable = showTable; 00039 } |
|
Indicates the title of the table for the segment.
Reimplemented from SegmentationVisualization.
00042 { 00043 return _tableTitle; 00044 } |
|
00047 { 00048 _tableTitle = tableTitle; 00049 } |
|
Indicates the feature to be shown in the table ( "" if none ).
Reimplemented from SegmentationVisualization.
00052 { 00053 return _tableFeature; 00054 } |
|
00057 { 00058 _tableFeature = tableFeature; 00059 } |
|
Indicates the toolTip of the table for the segment.
Reimplemented from SegmentationVisualization.
00062 { 00063 return _tableToolTipText; 00064 } |
|
00067 { 00068 _tableToolTipText = tableToolTipText; 00069 } |
|
Indicates if the segment has to be shown in the description panel.
Reimplemented from SegmentationVisualization.
00072 { 00073 return _showDescription; 00074 } |
|
00077 { 00078 _showDescription = showDescription; 00079 } |
|
Indicates the label to be shown in the description panel.
Reimplemented from SegmentationVisualization.
00082 { 00083 return _descriptionLabel; 00084 } |
|
00087 { 00088 _descriptionLabel = descriptionLabel; 00089 } |
|
Indicates the name of the feature that will be shown in the "type" part of the Description panel.
00095 { 00096 return _typeFeature; 00097 } |
|
00100 { 00101 _typeFeature = typeFeature; 00102 } |
|
Indicates the name of the feature that will be shown in the "description" part of the Description panel.
00108 { 00109 return _descriptionFeature; 00110 } |
|
00113 { 00114 _descriptionFeature = descriptionFeature; 00115 } |
|
Indicates if the segment has to be shown in the graphic panel.
Reimplemented from SegmentationVisualization.
00118 { 00119 return _showGraphic; 00120 } |
|
00123 { 00124 _showGraphic = showGraphic; 00125 } |
|
Indicates the color to be used in the graphic panel.
Reimplemented from SegmentationVisualization.
00128 { 00129 return _graphicColor; 00130 } |
|
00133 { 00134 _graphicColor = graphicColor; 00135 } |
|
returns the PlayingObserver that will take care of update the different visualizations while the video is playing.
Reimplemented from SegmentationVisualization.
00139 { 00140 if(ctx.descripionItem == null) return null; 00141 00142 SegmentDescriptionDisplayer disp = new SegmentDescriptionDisplayer( 00143 ctx.descripionItem, ctx.segmentation); 00144 00145 disp.setTypeFeature(_typeFeature); 00146 disp.setDescriptionFeature(_descriptionFeature); 00147 00148 return disp; 00149 } |
|
Perform clean up.
Reimplemented from SegmentationVisualization.
00152 { 00153 } |