Class Music
Can be drawn onto the Screen. This is mainly used by ManiaLive.
-
ManiaLib\Gui\Component
-
ManiaLib\Gui\Element
implements
ManiaLib\Gui\Drawable
-
ManiaLib\Gui\Elements\Music
Methods summary
public
|
#
__construct( )
Manialink element default constructor. It's common to specify the size of the
element in the constructor.
Manialink element default constructor. It's common to specify the size of the
element in the constructor.
Overrides
|
public
|
#
setData( string $filename, boolean $absoluteUrl = false )
Sets the data to play
Parameters
- $filename
string The data filename (or URL)
- $absoluteUrl
boolean Whether to prefix the filename with the default media dir URL
|
public
|
#
setDataId( string $dataId )
Sets the data id to play
Parameters
- $dataId
string The data id
|
public
string
|
#
getData( )
Returns the data URL
Returns
string
|
public
string
|
|
Methods inherited from ManiaLib\Gui\Element
addLink(),
buildXML(),
getAction(),
getActionKey(),
getAddPlayerId(),
getBgcolor(),
getBgcolorFocus(),
getImage(),
getImageFocus(),
getImageFocusid(),
getImageid(),
getManialink(),
getManialinkId(),
getScriptEvents(),
getStyle(),
getSubStyle(),
getUrl(),
getUrlId(),
handleCardElements(),
hasLink(),
save(),
setAction(),
setActionKey(),
setBgcolor(),
setBgcolorFocus(),
setCardElementPosition(),
setImage(),
setImageFocus(),
setImageFocusid(),
setImageid(),
setManialink(),
setManialinkId(),
setScriptEvents(),
setStyle(),
setSubStyle(),
setUrl(),
setUrlId()
|
Methods inherited from ManiaLib\Gui\Component
getBorderBottom(),
getBorderLeft(),
getBorderRight(),
getBorderTop(),
getHalign(),
getId(),
getParentFrame(),
getParentLayout(),
getParentNode(),
getPosX(),
getPosY(),
getPosZ(),
getRealSizeX(),
getRealSizeY(),
getRelativeHalign(),
getRelativeValign(),
getScale(),
getSizeX(),
getSizeY(),
getValign(),
incPosX(),
incPosY(),
incPosZ(),
isVisible(),
onAlign(),
onMove(),
onResize(),
onScale(),
setAlign(),
setHalign(),
setId(),
setParentFrame(),
setParentLayout(),
setParentNode(),
setPosX(),
setPosY(),
setPosZ(),
setPosition(),
setPositionX(),
setPositionY(),
setPositionZ(),
setRelativeAlign(),
setRelativeHalign(),
setRelativeValign(),
setScale(),
setSize(),
setSizeX(),
setSizeY(),
setValign(),
setVisibility()
|
Properties inherited from ManiaLib\Gui\Element
$action,
$actionKey,
$bgcolor,
$bgcolorfocus,
$cardElements,
$cardElementsHalign,
$cardElementsLayout,
$cardElementsPosX,
$cardElementsPosY,
$cardElementsPosZ,
$cardElementsValign,
$goto,
$image,
$imageFocus,
$imageFocusid,
$imageid,
$manialink,
$manialinkId,
$scriptevents,
$style,
$subStyle,
$url,
$urlId,
$xml
|
Properties inherited from ManiaLib\Gui\Component
$id,
$parentFrame,
$parentLayout,
$parentNode,
$relativeHalign,
$relativeValign,
$scale,
$scriptEvents,
$sizeX,
$sizeY,
$visible
|