GCKUIStyle Class
Stay organized with collections
Save and categorize content based on your preferences.
Inherits NSObject.
|
(void) | - applyStyle |
| Forces a refresh of all currently visible views, so that changes to the styling take effect immediately. More...
|
|
Forces a refresh of all currently visible views, so that changes to the styling take effect immediately.
The root of the styling attributes tree.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["`GCKUIStyle` is a class used for managing the visual styling of Cast user interface elements, available since version 3.3 and inheriting from NSObject."],["It provides a singleton instance accessible via the `sharedInstance` class method for applying and managing styles globally."],["Developers can modify the styling attributes through the `castViews` property, which acts as the root of the styling tree."],["The `applyStyle` instance method allows for immediate visual updates by refreshing all visible views to reflect any styling changes made."]]],["The `GCKUIStyle` class offers methods and properties to manage UI styling. The `sharedInstance` class method retrieves the singleton instance of `GCKUIStyle`. The `applyStyle` instance method forces an immediate refresh of all visible views to reflect styling changes. The `castViews` property is the root of the styling attributes, providing a tree structure for managing the styling. It Inherits from `NSObject`, and was introduced in version 3.3.\n"]]