private ColorItem buildColorItem ( Message menuItem ) { final int colorId = ( int ) ( ( NumberField ) menuItem . arguments . get ( 1 ) ) . getValue ( ) ; final String label = ( ( StringField ) menuItem . arguments . get ( 3 ) ) . getValue ( ) ; return buildColorItem ( colorId , label ) ; }
Creates a color item that represents a color field found for a track based on a dbserver message .