public enum ComponentType extends Enum<ComponentType>
Copyright (c) 2020 xsx All Rights Reserved. x-easypdf-pdfbox is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.
Enum Constant and Description |
---|
BARCODE
条形码
|
CIRCLE
圆形
|
CONTAINER
容器
|
CUSTOM
自定义
|
DIAGONAL_LINE
对角线
|
IMAGE
图像
|
LINE
线条
|
PAGE_FOOTER
页脚
|
PAGE_HEADER
页眉
|
RECTANGLE
矩形
|
TABLE
表格
|
TEXTAREA
文本域
|
WATERMARK
水印
|
Modifier and Type | Method and Description |
---|---|
boolean |
isNotPageHeaderOrFooter()
非页眉或页脚
|
boolean |
isTable()
是否表格
|
static ComponentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentType PAGE_HEADER
public static final ComponentType PAGE_FOOTER
public static final ComponentType TEXTAREA
public static final ComponentType IMAGE
public static final ComponentType BARCODE
public static final ComponentType RECTANGLE
public static final ComponentType CIRCLE
public static final ComponentType LINE
public static final ComponentType DIAGONAL_LINE
public static final ComponentType CONTAINER
public static final ComponentType WATERMARK
public static final ComponentType TABLE
public static final ComponentType CUSTOM
public static ComponentType[] values()
for (ComponentType c : ComponentType.values()) System.out.println(c);
public static ComponentType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isNotPageHeaderOrFooter()
public boolean isTable()
Copyright © 2024. All rights reserved.