Klasa GCKUIStyle
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Dziedziczy NSObject.
|
(void) | - applyStyle |
| Wymusza odświeżenie wszystkich obecnie widocznych widoków, dzięki czemu zmiany stylu działają natychmiast. Więcej...
|
|
Wymusza odświeżenie wszystkich obecnie widocznych widoków, dzięki czemu zmiany stylu działają natychmiast.
Pierwiastek drzewa atrybutów stylu.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2022-12-06 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2022-12-06 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"]]