com.atlassian.jira.web.ui.model
Interface DropDownModelProvider<T>

All Known Implementing Classes:
ConfigurePortalPages, ManageFilters, ViewSharedDashboards, ViewSharedFilters

public interface DropDownModelProvider<T>

An interface to model a drop down menu, so we can pump it into a UI component easier

Since:
v4.4.1

Method Summary
 DropDownModel getDropDownModel(T domainObject, int listIndex)
           
 

Method Detail

getDropDownModel

DropDownModel getDropDownModel(T domainObject,
                               int listIndex)
Parameters:
domainObject - some domain object
listIndex - this parameter indicates the position in of the domain object in a list of domain objects. Often generated markup uses position in the list to generate ids and the like
Returns:
a drop down model based on the values in domainObject


Copyright © 2002-2012 Atlassian. All Rights Reserved.