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

VideoSampleApp::PlayMode Class Reference

List of all members.

Public Methods

String toString ()

Static Public Methods

PlayMode getMode (String mode)
String[] getNames ()

Static Public Attributes

final PlayMode NORMAL = new PlayMode()
final PlayMode THREADED = new PlayMode()
final PlayMode REAL_TIME = new PlayMode()
final PlayMode REAL_TIME_AUDIO = new PlayMode()
final PlayMode EXTERNAL = new PlayMode()

Member Function Documentation

PlayMode VideoSampleApp::PlayMode::getMode String    mode [inline, static]
 

00030     {
00031         PlayMode[] modes = { NORMAL, THREADED, REAL_TIME, REAL_TIME_AUDIO, EXTERNAL };
00032         for(int i=0; i<modes.length; i++)
00033             if(mode.equalsIgnoreCase(modes[i].toString())) return modes[i];
00034         return null;
00035     }

String VideoSampleApp::PlayMode::toString   [inline]
 

00038     {
00039         if(this == NORMAL) return "Normal";
00040         if(this == THREADED) return "Threaded";
00041         if(this == REAL_TIME) return "Real Time";
00042         if(this == REAL_TIME_AUDIO) return "Real Time with Audio";
00043         if(this == EXTERNAL) return "External";
00044         return "";
00045     }

String [] VideoSampleApp::PlayMode::getNames   [inline, static]
 

00048     {
00049         String[] names = { NORMAL.toString(), THREADED.toString(), REAL_TIME.toString(),
00050             REAL_TIME_AUDIO.toString(), EXTERNAL.toString() };
00051         return names;
00052     }


Member Data Documentation

final PlayMode VideoSampleApp::PlayMode::NORMAL = new PlayMode() [static]
 

final PlayMode VideoSampleApp::PlayMode::THREADED = new PlayMode() [static]
 

final PlayMode VideoSampleApp::PlayMode::REAL_TIME = new PlayMode() [static]
 

final PlayMode VideoSampleApp::PlayMode::REAL_TIME_AUDIO = new PlayMode() [static]
 

final PlayMode VideoSampleApp::PlayMode::EXTERNAL = new PlayMode() [static]
 


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