Package org.luwrain.core.properties
Class Player
java.lang.Object
org.luwrain.core.properties.Player
- All Implemented Interfaces:
ExtensionObject
,PropertiesProvider
,Listener
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.luwrain.core.PropertiesProvider
PropertiesProvider.Flags, PropertiesProvider.Listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
getProperty
(String propName) getPropertyFlags
(String propName) void
onNewPlaylist
(Playlist playlist) void
onNewState
(Playlist playlist, Player.State state) void
onNewTrack
(Playlist playlist, int trackNum) void
onPlayingError
(Playlist playlist, Exception e) void
onTrackTime
(Playlist playlist, int trackNum, long msec) void
setListener
(PropertiesProvider.Listener listener) boolean
setProperty
(String propName, String value)
-
Constructor Details
-
Player
public Player()
-
-
Method Details
-
getExtObjName
- Specified by:
getExtObjName
in interfaceExtensionObject
-
getPropertiesRegex
- Specified by:
getPropertiesRegex
in interfacePropertiesProvider
-
getPropertyFlags
- Specified by:
getPropertyFlags
in interfacePropertiesProvider
-
getProperty
- Specified by:
getProperty
in interfacePropertiesProvider
-
setProperty
- Specified by:
setProperty
in interfacePropertiesProvider
-
setListener
- Specified by:
setListener
in interfacePropertiesProvider
-
onNewPlaylist
- Specified by:
onNewPlaylist
in interfaceListener
-
onNewTrack
- Specified by:
onNewTrack
in interfaceListener
-
onTrackTime
- Specified by:
onTrackTime
in interfaceListener
-
onNewState
- Specified by:
onNewState
in interfaceListener
-
onPlayingError
- Specified by:
onPlayingError
in interfaceListener
-