public final class Track
extends com.google.gwt.core.client.JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
Track()
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getAlbum()
Returns the name of the album to which this track belongs
|
String |
getAnnotation()
Returns the comment attached to this track
|
String |
getCreator()
Returns the creator (author) of this track
|
double |
getDuration()
Returns the time (in milliseconds) to render this track
|
com.google.gwt.core.client.JsArrayString |
getIdentifier()
Returns canonical IDs for this track.
|
String |
getImage()
Returns the URI of the image to display for the duration of the track
|
String |
getInfo()
Returns the URI of the location where more information about this track can be
retrieved.
|
com.google.gwt.core.client.JsArrayString |
getLocation()
Returns the URI(s) of the media to be rendered.
|
String |
getTitle()
Returns the title of this track
|
double |
getTrackNumber()
Returns the ordinal position of this track on its album.
|
void |
setAlbum(String album)
Sets the name of the album to which this track belongs
|
void |
setAnnotation(String annotation)
Sets a comment on this track
|
void |
setCreator(String creator)
Sets the creator (author) of this track
|
void |
setDuration(double duration)
Sets the time (in milliseconds) to render this track
|
void |
setIdentifier(com.google.gwt.core.client.JsArrayString identifier)
Sets the canonical IDs for this track.
|
void |
setImage(String image)
Sets the URI of the image to display for the duration of the track
|
void |
setInfo(String info)
Sets the URI of the location where more information about this track can be
retrieved.
|
void |
setLocation(com.google.gwt.core.client.JsArrayString location)
Sets the URI(s) of the media to be rendered.
|
void |
setTitle(String title)
Sets the title of this track
|
void |
setTrackNumber(double trackNum)
Sets the ordinal position of this track on its album
|
public String getAlbum()
public void setAlbum(String album)
album
- the name of the albumpublic String getAnnotation()
public void setAnnotation(String annotation)
annotation
- the comment to set on this trackpublic String getCreator()
public void setCreator(String creator)
creator
- the creator of this trackpublic double getDuration()
public void setDuration(double duration)
duration
- the rendering timepublic com.google.gwt.core.client.JsArrayString getIdentifier()
public void setIdentifier(com.google.gwt.core.client.JsArrayString identifier)
identifier
- canonical IDs for this trackpublic String getImage()
public void setImage(String image)
image
- the URI of the image to displaypublic String getInfo()
public void setInfo(String info)
info
- the URI of the location with more informationpublic com.google.gwt.core.client.JsArrayString getLocation()
The track may be located with multiple URIs probably in different formats
public void setLocation(com.google.gwt.core.client.JsArrayString location)
location
- the URI(s) of the mediapublic String getTitle()
public void setTitle(String title)
title
- the title of this trackpublic double getTrackNumber()
public void setTrackNumber(double trackNum)
trackNum
- the ordinal position of this track on its albumCopyright © 2009-2013. All Rights Reserved.