Class OverlayConfig
-
- All Implemented Interfaces:
public class OverlayConfig
OverlayConfig
Configuration for UI Feedback overlays
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
OverlayConfig.OverlayAnchorConfig
OverlayAnchorConfig
Sets the anchor of the overlay relative to the source defined in the overlaySource.
public enum
OverlayConfig.OverlaySource
Sets the source of the overlay. Currently cutout is the only available overlay source.
-
Field Summary
Fields Modifier and Type Field Description public OverlayConfig.OverlaySource
source
public OverlayConfig.OverlayAnchorConfig
anchor
public OverlayDimensionConfig
sizeDimension
public OverlayDimensionConfig
offsetDimension
public List<UIFeedbackPresetConfig>
presets
-
Constructor Summary
Constructors Constructor Description OverlayConfig()
-
Method Summary
Modifier and Type Method Description OverlayConfig.OverlaySource
getSource()
Sets the source of the overlay. void
setSource(OverlayConfig.OverlaySource source)
Sets the source of the overlay. OverlayConfig.OverlayAnchorConfig
getAnchor()
OverlayAnchorConfig Sets the anchor of the overlay relative to the source defined in the overlaySource. void
setAnchor(OverlayConfig.OverlayAnchorConfig anchor)
OverlayAnchorConfig Sets the anchor of the overlay relative to the source defined in the overlaySource. OverlayDimensionConfig
getSizeDimension()
OverlayDimensionConfig Sets the dimension of the overlay. void
setSizeDimension(OverlayDimensionConfig sizeDimension)
OverlayDimensionConfig Sets the dimension of the overlay. OverlayDimensionConfig
getOffsetDimension()
OverlayDimensionConfig Sets the dimension of the overlay. void
setOffsetDimension(OverlayDimensionConfig offsetDimension)
OverlayDimensionConfig Sets the dimension of the overlay. List<UIFeedbackPresetConfig>
getPresets()
Allows to use overlay presets. void
setPresets(List<UIFeedbackPresetConfig> presets)
Allows to use overlay presets. String
toString()
int
hashCode()
boolean
equals(Object other)
-
-
Method Detail
-
getSource
OverlayConfig.OverlaySource getSource()
Sets the source of the overlay. Currently cutout is the only available overlay source.
-
setSource
void setSource(OverlayConfig.OverlaySource source)
Sets the source of the overlay. Currently cutout is the only available overlay source.
-
getAnchor
OverlayConfig.OverlayAnchorConfig getAnchor()
OverlayAnchorConfig
Sets the anchor of the overlay relative to the source defined in the overlaySource.
-
setAnchor
void setAnchor(OverlayConfig.OverlayAnchorConfig anchor)
OverlayAnchorConfig
Sets the anchor of the overlay relative to the source defined in the overlaySource.
-
getSizeDimension
OverlayDimensionConfig getSizeDimension()
OverlayDimensionConfig
Sets the dimension of the overlay.
-
setSizeDimension
void setSizeDimension(OverlayDimensionConfig sizeDimension)
OverlayDimensionConfig
Sets the dimension of the overlay.
-
getOffsetDimension
OverlayDimensionConfig getOffsetDimension()
OverlayDimensionConfig
Sets the dimension of the overlay.
-
setOffsetDimension
void setOffsetDimension(OverlayDimensionConfig offsetDimension)
OverlayDimensionConfig
Sets the dimension of the overlay.
-
getPresets
List<UIFeedbackPresetConfig> getPresets()
Allows to use overlay presets.
-
setPresets
void setPresets(List<UIFeedbackPresetConfig> presets)
Allows to use overlay presets.
-
hashCode
int hashCode()
-
-
-
-