public static class DropDownModelBuilder.DropDownItemImpl extends Object implements DropDownModel.DropDownItem
Constructor and Description |
---|
DropDownItemImpl() |
Modifier and Type | Method and Description |
---|---|
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() |
DropDownModelBuilder.DropDownItemImpl |
setAttr(String attrName,
String attrValue) |
DropDownModelBuilder.DropDownItemImpl |
setText(String itemText) |
public String getText()
getText
in interface DropDownModel.DropDownItem
public String getAttr(String name)
getAttr
in interface DropDownModel.DropDownItem
name
- the name of the attributepublic String getAttrAndRemove(String name)
DropDownModel.DropDownItem
getAttrAndRemove
in interface DropDownModel.DropDownItem
name
- the name of the attributepublic Set<String> getAttrs()
getAttrs
in interface DropDownModel.DropDownItem
public DropDownModelBuilder.DropDownItemImpl setText(String itemText)
public DropDownModelBuilder.DropDownItemImpl setAttr(String attrName, String attrValue)
Copyright © 2002-2015 Atlassian. All Rights Reserved.