/**Any parameter can be null to keep its default value
*/
public static void setTooltipProperties(Tooltip tooltip, Boolean wrap, Double maxWidth, Double fontSize, AnchorLocation anchorLocation)
{
if (wrap != null)
tooltip.setWrapText(wrap);
if (maxWidth != null)
tooltip.setMaxWidth(maxWidth);
if (fontSize != null)
tooltip.setFont(new Font(fontSize));
if (anchorLocation != null)
tooltip.setAnchorLocation(anchorLocation);
}
ToolTipUtilities.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:WhoWhatWhere
作者:
评论列表
文章目录