I'd like to request support for "Tab.pseudoClassChanged" method.
Currently Tab implements Styleable but does not have a method "pseudoClassChanged". As a consequence, a request to "getPseudoClassStates" always is responded with an empty list.
In some programming scenarios it might be beneficial to have working support for pseudo classes for tabs. For example, when a tab's content is made up of nodes visualizing user data taken from a model, that user data might be bound to some sort of state (like "valid", "invalid", "urgent", "done", "changed", you name it). A designer might want to use that state to change the visualization of the tab's label (like "background red when state is 'urgent'"). Typically he'd like to bind a listener to the state property which invokes "pseudoClassChanged" on the tab -- which simply is not supported in 8u40 -- and write a CSS selector for ".tab:urgent" to declare the visual change.
To sum up, please add "Tab.pseudoClassChanged" to the interface of the Tab.java class! :-)
Currently Tab implements Styleable but does not have a method "pseudoClassChanged". As a consequence, a request to "getPseudoClassStates" always is responded with an empty list.
In some programming scenarios it might be beneficial to have working support for pseudo classes for tabs. For example, when a tab's content is made up of nodes visualizing user data taken from a model, that user data might be bound to some sort of state (like "valid", "invalid", "urgent", "done", "changed", you name it). A designer might want to use that state to change the visualization of the tab's label (like "background red when state is 'urgent'"). Typically he'd like to bind a listener to the state property which invokes "pseudoClassChanged" on the tab -- which simply is not supported in 8u40 -- and write a CSS selector for ".tab:urgent" to declare the visual change.
To sum up, please add "Tab.pseudoClassChanged" to the interface of the Tab.java class! :-)