public static interface

DropDownModel.DropDownItem

com.atlassian.jira.web.ui.model.DropDownModel.DropDownItem
Known Indirect Subclasses

Summary

Public Methods
String getAttr(String name)
String getAttrAndRemove(String name)
This is useful to do 1 time read of all the attributes such that the act of reading one removes it.
Set<String> getAttrs()
String getText()

Public Methods

public String getAttr (String name)

Parameters
name the name of the attribute
Returns
  • an attribute with a given name

public String getAttrAndRemove (String name)

This is useful to do 1 time read of all the attributes such that the act of reading one removes it. It allows you to place say class=xxx somewhere in the markup and then iterator thought the rest of the attributes and not repeat say class=xxx

Parameters
name the name of the attribute
Returns
  • an attribute with a given name and removes it from the underlying map

public Set<String> getAttrs ()

Returns
  • the list of attributes associated with item

public String getText ()

Returns
  • the text of the menu item