Package com.adobe.granite.ui.components
Interface State.Item
- Enclosing class:
State
public static interface State.Item
An item in the state.
-
Method Summary
-
Method Details
-
getName
Returns the name of the item.- Returns:
- the name of the item
-
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
Returns the value as int. The conversion is followingInteger.parseInt(String)semantic.- Returns:
- the value as int
- Throws:
NumberFormatException
-