public static final class DeviceApi.Button.Config extends Object
Modifier and Type | Field and Description |
---|---|
DeviceApi.Button.Kind |
kind
The button kind.
|
Modifier and Type | Method and Description |
---|---|
Optional<Color> |
getColor()
Gets the color.
|
Optional<Boolean> |
getEnabled()
Gets the enabled flag.
|
Optional<Boolean> |
getVisible()
Gets the visible flag.
|
boolean |
setColor(Color color)
Sets the color
|
boolean |
setEnabled(boolean enabled)
Sets the enabled flag.
|
boolean |
setVisible(boolean visible)
Sets the visible flag.
|
public final DeviceApi.Button.Kind kind
public boolean setColor(Color color)
color
- The color.public Optional<Boolean> getEnabled()
public boolean setEnabled(boolean enabled)
enabled
- The flag.public Optional<Boolean> getVisible()
public boolean setVisible(boolean visible)
visible
- The flag.Copyright © 2024. All rights reserved.