Horus Doc || Java GUI Reference || Doxygen's quick Index  

DefaultSegmentationVisualization Class Reference

Inheritance diagram for DefaultSegmentationVisualization::

SegmentationVisualization List of all members.

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...


Constructor & Destructor Documentation

DefaultSegmentationVisualization::DefaultSegmentationVisualization String    segName [inline]
 

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 }


Member Function Documentation

boolean DefaultSegmentationVisualization::getShowTable   [inline]
 

Indicates if the segment has to be shown in the table of segments.

Reimplemented from SegmentationVisualization.

00032 {
00033     return _showTable;
00034 }

void DefaultSegmentationVisualization::setShowTable boolean    showTable [inline]
 

00037 {
00038     _showTable = showTable;
00039 }

String DefaultSegmentationVisualization::getTableTitle   [inline]
 

Indicates the title of the table for the segment.

Reimplemented from SegmentationVisualization.

00042 {
00043     return _tableTitle;
00044 }

void DefaultSegmentationVisualization::setTableTitle String    tableTitle [inline]
 

00047 {
00048     _tableTitle = tableTitle;
00049 }

String DefaultSegmentationVisualization::getTableFeature   [inline]
 

Indicates the feature to be shown in the table ( "" if none ).

Reimplemented from SegmentationVisualization.

00052 {
00053     return _tableFeature;
00054 }

void DefaultSegmentationVisualization::setTableFeature String    tableFeature [inline]
 

00057 {
00058     _tableFeature = tableFeature;
00059 }

String DefaultSegmentationVisualization::getTableToolTipText   [inline]
 

Indicates the toolTip of the table for the segment.

Reimplemented from SegmentationVisualization.

00062 {
00063     return _tableToolTipText;
00064 }

void DefaultSegmentationVisualization::setTableToolTipText String    tableToolTipText [inline]
 

00067 {
00068     _tableToolTipText = tableToolTipText;
00069 }

boolean DefaultSegmentationVisualization::getShowDescription   [inline]
 

Indicates if the segment has to be shown in the description panel.

Reimplemented from SegmentationVisualization.

00072 {
00073     return _showDescription;
00074 }

void DefaultSegmentationVisualization::setShowDescription boolean    showDescription [inline]
 

00077 {
00078     _showDescription = showDescription;
00079 }

String DefaultSegmentationVisualization::getDescriptionLabel   [inline]
 

Indicates the label to be shown in the description panel.

Reimplemented from SegmentationVisualization.

00082 {
00083     return _descriptionLabel;
00084 }

void DefaultSegmentationVisualization::setDescriptionLabel String    descriptionLabel [inline]
 

00087 {
00088     _descriptionLabel = descriptionLabel;
00089 }

String DefaultSegmentationVisualization::getTypeFeature   [inline]
 

Indicates the name of the feature that will be shown in the "type" part of the Description panel.

00095 {
00096     return _typeFeature;
00097 }

void DefaultSegmentationVisualization::setTypeFeature String    typeFeature [inline]
 

00100 {
00101     _typeFeature = typeFeature;
00102 }

String DefaultSegmentationVisualization::getDescriptionFeature   [inline]
 

Indicates the name of the feature that will be shown in the "description" part of the Description panel.

00108 {
00109     return _descriptionFeature;
00110 }

void DefaultSegmentationVisualization::setDescriptionFeature String    descriptionFeature [inline]
 

00113 {
00114     _descriptionFeature = descriptionFeature;
00115 }

boolean DefaultSegmentationVisualization::getShowGraphic   [inline]
 

Indicates if the segment has to be shown in the graphic panel.

Reimplemented from SegmentationVisualization.

00118 {
00119     return _showGraphic;
00120 }

void DefaultSegmentationVisualization::setShowGraphic boolean    showGraphic [inline]
 

00123 {
00124     _showGraphic = showGraphic;
00125 }

Color DefaultSegmentationVisualization::getGraphicColor   [inline]
 

Indicates the color to be used in the graphic panel.

Reimplemented from SegmentationVisualization.

00128 {
00129     return _graphicColor;
00130 }

void DefaultSegmentationVisualization::setGraphicColor Color    graphicColor [inline]
 

00133 {
00134     _graphicColor = graphicColor;
00135 }

PlayingObserver DefaultSegmentationVisualization::getPlayingObserver SegmentationVisualizationContext    ctx [inline]
 

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 }

void DefaultSegmentationVisualization::clear   [inline]
 

Perform clean up.

Reimplemented from SegmentationVisualization.

00152 {
00153 }


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 15:11:19 2003 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001