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
tablecolumnheadertype selector table's column headernode.labelstyle class label node rendered within column header[id|="column"]similar example mentioned here: https://www.w3.org/tr/css21/selector.html#matching-attrs- the
idof column header inheritedtablecolumn.idset ontablecolumnobject follows:tablecolumn.setid("column-"+ columnname)columnnamestring 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