How to rotate values inside a cell in spreadsheet controlsfx when setting values from a list?

独自空忆成欢 提交于 2019-12-13 03:31:30

问题


I tried using this approach for the Name label and it worked great.

Now, I am trying to set values to other cells from a method using the code below:

List<String> values = new ArrayList<>();
        values.add("test1");
        values.add("test2");
        values.add("test3");
        values.add("test4");
        values.add("test2");
        values.add("test5we");
        values.add("test5we");
        values.add("test5we");
        values.add("test5qq");
        values.add("test5gf");
        values.add("test5v");
        values.add("test5s");
        values.add("test5a");

 for (int column = 3; column < values.size(); column++)
            grid.setCellValue(0, column, values.get(column));

I need to rotate the values inside the said cells.

来源:https://stackoverflow.com/questions/56266405/how-to-rotate-values-inside-a-cell-in-spreadsheet-controlsfx-when-setting-values

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!