-
Notifications
You must be signed in to change notification settings - Fork 435
Give ToggleButton a style: neither native theme defined it #5757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
4fd32a4
343700d
8a0a0fe
c54d4f8
0d5050a
7db8dce
96a15ee
ba41ec1
818615a
6d65ade
0263790
7995898
04abd0a
92631e4
a8fd83e
1f1fb16
8791d4f
bb639d7
e9038b1
5becde8
cdf0dd0
ee20edb
7637135
819720d
f524d50
a47c56b
49946b1
5128dcd
21d75d6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -183,6 +183,19 @@ private void updateUIID(String newUIID, Component c) { | |
| reverseRadio(c); | ||
| } | ||
|
|
||
| /// Whether this group is currently renaming its members' UIIDs. updateUIIDs() | ||
| /// does nothing unless the theme constant is on or grouping is forced, and | ||
| /// Button needs the same answer to know whether a member's live UIID belongs | ||
| /// to the group or to itself. $origUIID cannot answer it: restoreUIID leaves | ||
| /// that set, so it says "was renamed once", not "is renamed now". | ||
| /// | ||
| /// #### Returns | ||
| /// | ||
| /// true when this group assigns its members' UIIDs | ||
| boolean isGroupingActive() { | ||
| return getUIManager().isThemeConstant(groupFlag, false) || forceGroup; | ||
|
Comment on lines
+195
to
+196
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When Useful? React with 👍 / 👎. |
||
| } | ||
|
|
||
| private void restoreUIID(Component c) { | ||
| String o = (String) c.getClientProperty("$origUIID"); | ||
| if (o != null) { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.