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.DropDownItempublic String getAttr(String name)
getAttr in interface DropDownModel.DropDownItemname - the name of the attributepublic String getAttrAndRemove(String name)
DropDownModel.DropDownItemgetAttrAndRemove in interface DropDownModel.DropDownItemname - the name of the attributepublic Set<String> getAttrs()
getAttrs in interface DropDownModel.DropDownItempublic DropDownModelBuilder.DropDownItemImpl setText(String itemText)
public DropDownModelBuilder.DropDownItemImpl setAttr(String attrName, String attrValue)
Copyright © 2002-2021 Atlassian. All Rights Reserved.