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."],[[["\u003cp\u003e\u003ccode\u003eGCKUIStyle\u003c/code\u003e is a class used for managing the visual styling of Cast user interface elements, available since version 3.3 and inheriting from NSObject.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a singleton instance accessible via the \u003ccode\u003esharedInstance\u003c/code\u003e class method for applying and managing styles globally.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can modify the styling attributes through the \u003ccode\u003ecastViews\u003c/code\u003e property, which acts as the root of the styling tree.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eapplyStyle\u003c/code\u003e instance method allows for immediate visual updates by refreshing all visible views to reflect any styling changes made.\u003c/p\u003e\n"]]],["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"],null,[]]