[]
Serializable, Comparable<HyperLinkTargetType>, Constable使用此枚举可以控制超链接是在新窗口或选项卡、当前框架、父框架,还是完整浏览器窗口主体中打开。
HyperLinkCellType cellType = new HyperLinkCellType();
cellType.setText("Example Website");
cellType.setTarget(HyperLinkTargetType.Self);
worksheet.getRange("A1").setCellType(cellType);
worksheet.getRange("A1").setValue("https://www.example.com/");
Enum.EnumDesc<E extends Enum<E>>static HyperLinkTargetTypeforValue(int value) intgetValue()static HyperLinkTargetTypestatic HyperLinkTargetType[]values()name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null