Package com.adobe.granite.ui.components
Interface State.Item
- 
- Enclosing class:
 - State
 
public static interface State.ItemAn item in the state. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetBoolean()Returns the value as boolean.intgetInt()Returns the value as int.java.lang.StringgetName()Returns the name of the item.java.lang.StringgetString()Returns the value as string. 
 - 
 
- 
- 
Method Detail
- 
getName
@Nonnull java.lang.String getName()
Returns the name of the item.- Returns:
 - the name of the item
 
 
- 
getString
@Nonnull java.lang.String getString()
Returns the value as string.- Returns:
 - the value as string
 
 
- 
getBoolean
boolean getBoolean()
Returns the value as boolean. The conversion is followingBoolean.parseBoolean(String)semantic.- Returns:
 - the value as boolean
 
 
- 
getInt
int getInt() throws java.lang.NumberFormatExceptionReturns the value as int. The conversion is followingInteger.parseInt(String)semantic.- Returns:
 - the value as int
 - Throws:
 java.lang.NumberFormatException
 
 - 
 
 -