com.atlassian.jira.web.ui.model
Interface DropDownModel


public interface DropDownModel

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

Since:
v4.4.1

Nested Class Summary
static interface DropDownModel.DropDownItem
           
static interface DropDownModel.DropDownSection
           
 
Method Summary
 List<DropDownModel.DropDownSection> getSections()
           
 String getTopText()
           
 int getTotalItems()
           
 

Method Detail

getTopText

String getTopText()
Returns:
the top level text of the drop down menu

getTotalItems

int getTotalItems()
Returns:
the count of items inside any sections

getSections

List<DropDownModel.DropDownSection> getSections()
Returns:
a list fo menu sections


Copyright © 2002-2013 Atlassian. All Rights Reserved.