Package com.adobe.granite.ui.components
Interface State.Item
-
- Enclosing class:
- State
public static interface State.Item
An item in the state.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getBoolean()
Returns the value as boolean.int
getInt()
Returns the value as int.java.lang.String
getName()
Returns the name of the item.java.lang.String
getString()
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.NumberFormatException
Returns the value as int. The conversion is followingInteger.parseInt(String)
semantic.- Returns:
- the value as int
- Throws:
java.lang.NumberFormatException
-
-