Adds AliasModel and AliasEvent and support for conversion from legacy

playlist format.

Renames PlaylistEditor to ChannelController
This commit is contained in:
denny
2016-01-24 13:45:29 -05:00
parent da924e8b3a
commit 15edcdebe6
14 changed files with 526 additions and 93 deletions

View File

@@ -29,6 +29,8 @@ import audio.inverted.AudioType;
public class Alias
{
private String mList;
private String mGroup;
private String mName;
private int mColor;
private String mIconName;
@@ -44,7 +46,7 @@ public class Alias
return getName();
}
@XmlAttribute
@XmlAttribute( name="name" )
public String getName()
{
return mName;
@@ -55,6 +57,38 @@ public class Alias
mName = name;
}
@XmlAttribute( name="list" )
public String getList()
{
return mList;
}
public void setList( String list )
{
mList = list;
}
public boolean hasList()
{
return mList != null;
}
@XmlAttribute( name="group" )
public String getGroup()
{
return mGroup;
}
public void setGroup( String group )
{
mGroup = group;
}
public boolean hasGroup()
{
return mGroup != null;
}
@XmlAttribute
public int getColor()
{