public interface

DropDownModelProvider

com.atlassian.jira.web.ui.model.DropDownModelProvider<T>
Known Indirect Subclasses

Class Overview

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

Summary

Public Methods
DropDownModel getDropDownModel(T domainObject, int listIndex)

Public Methods

public 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