Enum AnalysisQueueColumn
- java.lang.Object
-
- java.lang.Enum<AnalysisQueueColumn>
-
- com.tagtraum.beatunes.analysisqueue.AnalysisQueueColumn
-
- All Implemented Interfaces:
SortableTableColumn.ColumnDescriptor
,Serializable
,Comparable<AnalysisQueueColumn>
public enum AnalysisQueueColumn extends Enum<AnalysisQueueColumn> implements SortableTableColumn.ColumnDescriptor
Columns to be used inAnalysisQueueColumnModel
.- Author:
- Hendrik Schreiber
-
-
Enum Constant Summary
-
Field Summary
-
Fields inherited from interface com.tagtraum.beatunes.filter.SortableTableColumn.ColumnDescriptor
LOG
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BeaTunesTableCellRenderer
getDefaultTableCellRenderer()
DefaultBeaTunesTableCellRenderer
for this column.Object
getHeaderValue()
String
getId()
int
getIndex()
int
getPreferredIndex()
Property<?>
getProperty()
Gets the associatedProperty
.String
getPropertyName()
Name of the property described in this column.String
getSortId(int index)
String[]
getSortIds()
boolean
isMovable()
boolean
isSortable()
void
nextSortConfig()
void
setDefaultTableCellRenderer(BeaTunesTableCellRenderer defaultTableCellRenderer)
Sets the default renderer for this column.int
sortConfigs()
static AnalysisQueueColumn
valueOf(String name)
Returns the enum constant of this type with the specified name.static AnalysisQueueColumn[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.tagtraum.beatunes.filter.SortableTableColumn.ColumnDescriptor
createDefaultTableCellRenderer, createDefaultTableCellRenderer
-
-
-
-
Enum Constant Detail
-
NUMBER
public static final AnalysisQueueColumn NUMBER
-
PROGRESS
public static final AnalysisQueueColumn PROGRESS
-
PROTEKTED
public static final AnalysisQueueColumn PROTEKTED
-
NAME
public static final AnalysisQueueColumn NAME
-
ARTIST
public static final AnalysisQueueColumn ARTIST
-
ALBUM
public static final AnalysisQueueColumn ALBUM
-
ALBUM_ARTIST
public static final AnalysisQueueColumn ALBUM_ARTIST
-
TEMPO
public static final AnalysisQueueColumn TEMPO
-
TIMBRE_COLOR
public static final AnalysisQueueColumn TIMBRE_COLOR
-
KEY
public static final AnalysisQueueColumn KEY
-
TIME
public static final AnalysisQueueColumn TIME
-
GENRE
public static final AnalysisQueueColumn GENRE
-
TAGS
public static final AnalysisQueueColumn TAGS
-
YEAR
public static final AnalysisQueueColumn YEAR
-
LANGUAGE
public static final AnalysisQueueColumn LANGUAGE
-
GROUPING
public static final AnalysisQueueColumn GROUPING
-
PLAY_COUNT
public static final AnalysisQueueColumn PLAY_COUNT
-
PLAY_FREQUENCY
public static final AnalysisQueueColumn PLAY_FREQUENCY
-
PLAY_SKIP_RATIO
public static final AnalysisQueueColumn PLAY_SKIP_RATIO
-
SKIP_COUNT
public static final AnalysisQueueColumn SKIP_COUNT
-
BIT_RATE
public static final AnalysisQueueColumn BIT_RATE
-
COMMENT
public static final AnalysisQueueColumn COMMENT
-
COMPOSER
public static final AnalysisQueueColumn COMPOSER
-
DATE_ADDED
public static final AnalysisQueueColumn DATE_ADDED
-
DATE_MODIFIED
public static final AnalysisQueueColumn DATE_MODIFIED
-
DISC
public static final AnalysisQueueColumn DISC
-
KIND
public static final AnalysisQueueColumn KIND
-
LAST_PLAYED
public static final AnalysisQueueColumn LAST_PLAYED
-
MY_RATING
public static final AnalysisQueueColumn MY_RATING
-
ALBUM_RATING
public static final AnalysisQueueColumn ALBUM_RATING
-
SAMPLE_RATE
public static final AnalysisQueueColumn SAMPLE_RATE
-
SEASON
public static final AnalysisQueueColumn SEASON
-
SIZE
public static final AnalysisQueueColumn SIZE
-
TRACK
public static final AnalysisQueueColumn TRACK
-
EPISODE
public static final AnalysisQueueColumn EPISODE
-
SHOW
public static final AnalysisQueueColumn SHOW
-
LOCATION
public static final AnalysisQueueColumn LOCATION
-
SORT_NAME
public static final AnalysisQueueColumn SORT_NAME
-
SORT_ARTIST
public static final AnalysisQueueColumn SORT_ARTIST
-
SORT_ALBUM_ARTIST
public static final AnalysisQueueColumn SORT_ALBUM_ARTIST
-
SORT_ALBUM
public static final AnalysisQueueColumn SORT_ALBUM
-
SORT_COMPOSER
public static final AnalysisQueueColumn SORT_COMPOSER
-
SORT_SHOW
public static final AnalysisQueueColumn SORT_SHOW
-
DISABLED
public static final AnalysisQueueColumn DISABLED
-
ISSUE
public static final AnalysisQueueColumn ISSUE
-
MPM
public static final AnalysisQueueColumn MPM
-
TIME_SIGNATURE
public static final AnalysisQueueColumn TIME_SIGNATURE
-
MOOD
public static final AnalysisQueueColumn MOOD
-
TUNING
public static final AnalysisQueueColumn TUNING
-
TRACK_REPLAY_GAIN
public static final AnalysisQueueColumn TRACK_REPLAY_GAIN
-
ALBUM_REPLAY_GAIN
public static final AnalysisQueueColumn ALBUM_REPLAY_GAIN
-
COMPILATION
public static final AnalysisQueueColumn COMPILATION
-
MEDIA_KIND
public static final AnalysisQueueColumn MEDIA_KIND
-
LIKING
public static final AnalysisQueueColumn LIKING
-
INSTRUMENTATION
public static final AnalysisQueueColumn INSTRUMENTATION
-
DANCEABILITY
public static final AnalysisQueueColumn DANCEABILITY
-
CUSTOM1
public static final AnalysisQueueColumn CUSTOM1
-
CUSTOM2
public static final AnalysisQueueColumn CUSTOM2
-
CUSTOM3
public static final AnalysisQueueColumn CUSTOM3
-
CUSTOM4
public static final AnalysisQueueColumn CUSTOM4
-
CUSTOM5
public static final AnalysisQueueColumn CUSTOM5
-
WORK
public static final AnalysisQueueColumn WORK
-
MOVEMENT
public static final AnalysisQueueColumn MOVEMENT
-
MOVEMENT_NUMBER
public static final AnalysisQueueColumn MOVEMENT_NUMBER
-
TEMPO_TIMBRE_COLOR
public static final AnalysisQueueColumn TEMPO_TIMBRE_COLOR
-
DATE_ANALYZED
public static final AnalysisQueueColumn DATE_ANALYZED
-
DESCRIPTION
public static final AnalysisQueueColumn DESCRIPTION
-
-
Method Detail
-
values
public static AnalysisQueueColumn[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AnalysisQueueColumn c : AnalysisQueueColumn.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnalysisQueueColumn valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
public String getId()
- Specified by:
getId
in interfaceSortableTableColumn.ColumnDescriptor
-
getPropertyName
public String getPropertyName()
Description copied from interface:SortableTableColumn.ColumnDescriptor
Name of the property described in this column.- Specified by:
getPropertyName
in interfaceSortableTableColumn.ColumnDescriptor
- Returns:
- property name
-
getProperty
public Property<?> getProperty()
Description copied from interface:SortableTableColumn.ColumnDescriptor
Gets the associatedProperty
.- Specified by:
getProperty
in interfaceSortableTableColumn.ColumnDescriptor
- Returns:
- property
-
getHeaderValue
public Object getHeaderValue()
- Specified by:
getHeaderValue
in interfaceSortableTableColumn.ColumnDescriptor
-
getIndex
public int getIndex()
- Specified by:
getIndex
in interfaceSortableTableColumn.ColumnDescriptor
-
getSortId
public String getSortId(int index)
- Specified by:
getSortId
in interfaceSortableTableColumn.ColumnDescriptor
-
getSortIds
public String[] getSortIds()
- Specified by:
getSortIds
in interfaceSortableTableColumn.ColumnDescriptor
-
isSortable
public boolean isSortable()
- Specified by:
isSortable
in interfaceSortableTableColumn.ColumnDescriptor
-
isMovable
public boolean isMovable()
- Specified by:
isMovable
in interfaceSortableTableColumn.ColumnDescriptor
-
getPreferredIndex
public int getPreferredIndex()
- Specified by:
getPreferredIndex
in interfaceSortableTableColumn.ColumnDescriptor
-
sortConfigs
public int sortConfigs()
- Specified by:
sortConfigs
in interfaceSortableTableColumn.ColumnDescriptor
-
nextSortConfig
public void nextSortConfig()
- Specified by:
nextSortConfig
in interfaceSortableTableColumn.ColumnDescriptor
-
getDefaultTableCellRenderer
public BeaTunesTableCellRenderer getDefaultTableCellRenderer()
DefaultBeaTunesTableCellRenderer
for this column.- Specified by:
getDefaultTableCellRenderer
in interfaceSortableTableColumn.ColumnDescriptor
- Returns:
- renderer
-
setDefaultTableCellRenderer
public void setDefaultTableCellRenderer(BeaTunesTableCellRenderer defaultTableCellRenderer)
Sets the default renderer for this column.- Parameters:
defaultTableCellRenderer
- renderer
-
-