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 headernode
.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 inheritedtablecolumn
.id
set ontablecolumn
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
Post a Comment