toggle menu
HopperLib
experimental-1-21-SNAPSHOT
jvm
switch theme
search in API
HopperLib
/
cc.mrcl.hopperlib.Dialog
/
ResponseWrapper
Response
Wrapper
public
class
ResponseWrapper
Members
Constructors
Response
Wrapper
Link copied to clipboard
public
void
ResponseWrapper
(
DialogResponseView
view
)
Functions
get
Boolean
Link copied to clipboard
public
Optional
<
Boolean
>
getBoolean
(
String
key
)
Returns a boolean optional with an empty value if the key is not contained within the original response view.
get
Color
Link copied to clipboard
public
Optional
<
Color
>
getColor
(
String
key
)
public
Optional
<
Color
>
getColor
(
String
redKey
,
String
greenKey
,
String
blueKey
)
get
Enum
Link copied to clipboard
public
Optional
<
E
>
getEnum
<
E
extends
Enum
<
E
>
>
(
Class
<
E
>
enumClass
,
String
key
)
public
Optional
<
E
>
getEnum
<
E
extends
Enum
<
E
>
>
(
Class
<
E
>
enumClass
,
String
key
,
boolean caseInsensitive
)
get
Float
Link copied to clipboard
public
Optional
<
Float
>
getFloat
(
String
key
)
Returns a float optional with an empty value if the key is not contained within the original response view.
get
Integer
Link copied to clipboard
public
Optional
<
Integer
>
getInteger
(
String
key
)
Returns a float optional with an empty value if the key is not contained within the original response view.
get
String
Link copied to clipboard
public
Optional
<
String
>
getString
(
String
key
)
Returns a boolean optional with an empty value if the key is not contained within the original response view.
of
Link copied to clipboard
public
static
ResponseWrapper
of
(
DialogResponseView
view
)