java - Does JavaFX support regular expressions (or wild cards) in CSS? -


i've tried using wild cards in css selectors javafx ui (tableview), doesn't seem work, although javafx css reference notes it's based on css version 2.1:

javafx cascading style sheets (css) based on w3c css version 2.1 additions current work on version 3.

for example:

tablecolumnheader[id|="column"] > .label {     -fx-graphic: url("ico.png"); } 

the above css attempt show icon "ico.png" on column headers of tableview

  • tablecolumnheader type selector table's column header node
  • .label style class label node rendered within column header
  • [id|="column"] similar example mentioned here: https://www.w3.org/tr/css21/selector.html#matching-attrs
  • the id of column header inherited tablecolumn. id set on tablecolumn object follows: tablecolumn.setid("column-"+ columnname) columnname string variable

the above css doesn't work. variation includes [id=...], or other attribute other id doesn't work.

is limitation in javafx? or there way make work?


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -