FileDocCategorySizeDatePackage
MediaPlayerVolumePropertyEditor.javaAPI DocJMF 2.1.1e1355Mon May 12 12:20:42 BST 2003javax.media.bean.playerbean

MediaPlayerVolumePropertyEditor

public class MediaPlayerVolumePropertyEditor extends PropertyEditorSupport
Special case property editor for the MediaPlayer bean Volume property. Invoked by Java BeansTM application builders.
version
1.0

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetJavaInitializationString()
Generates a code fragment that can be used to initialize a variable with the current Volume property value.

return
The initialization String.

    return "new java.lang.String(\""+getAsText()+"\")";
	
public java.lang.String[]getTags()
Gets an array of tags for the Volume property.

return
A String array that contains the tags for the Volume property.

		String result[] = {
		  MediaPlayerResource.getString("ZERO"),
		  MediaPlayerResource.getString("ONE"),
		  MediaPlayerResource.getString("TWO"),
		  MediaPlayerResource.getString("THREE"),
		  MediaPlayerResource.getString("FOUR"),
		  MediaPlayerResource.getString("FIVE"),
		};
		return result;