简体   繁体   English

jgraphx上划线顶点标签

[英]jgraphx overline vertex labels

i'm trying to overline vertex labels via HTML-Code in java, but it doesn't work. 我试图通过java中的HTML代码覆盖顶点标签,但它不起作用。 underline and line-through work perfectly, but i really need overline 下划线和直线工作完美,但我真的需要上线

cell.setValue("<span style=\"text-decoration:overline\">hiii</span>");

can anyone help? 有人可以帮忙吗?

Java supports a limited subset of CSS functions when rendering HTML, the list is in the JavaDocs of the CSS class . Java在呈现HTML时支持有限的CSS函数子集,该列表位于CSS类JavaDocs中

As you can see in the supported list 正如您在支持的列表中看到的那样

text-decoration (with the exception of blink and overline) 文字装饰(闪烁和上线除外)

There's not much can be done until Java supports the functionality. 在Java支持该功能之前,没有什么可以做的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM