public class Container extends AbstractComponent
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.
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Container.DefaultContainerPagingEvent
默认容器分页事件
|
static class |
Container.DefaultContainerVirtualPagingEvent
默认虚拟容器分页事件
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addBorder(Float beforeY,
ContainerInfo info)
添加边框
|
protected void |
addVirtualBorder(Float beforeY,
ContainerInfo info)
添加虚拟边框
|
void |
close()
关闭
|
PagingEvent |
getPagingEvent()
获取分页事件
|
ComponentType |
getType()
获取类型
|
protected void |
init()
初始化
|
protected void |
initOthers()
初始化其他
|
void |
render()
渲染
|
protected void |
renderComponent(Component component)
渲染组件
|
protected void |
reset(Float beforeX)
重置
|
void |
virtualRender()
虚拟渲染
|
protected void |
virtualRenderComponent(Component component)
虚拟渲染组件
|
checkPaging, checkWrap, executeBreak, getBase, getBottom, getPage, initBase, isPaging, isPagingComponent, isWrap, paging, processBreak, reset, resetWrapWidth, resetXY, setBeginX, setBeginX, setBeginY, setBeginY, wrapinit, initFont, setCharacterSpacing, setFontSize, setLeadinginit, initBorder, setBorderColor, setBorderLineLength, setBorderLineSpacing, setBorderWidth, setIsBorderinit, initMargin, initMargin, initMarginWithParam, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTopinit, setHorizontalAlignment, setVerticalAlignmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, getPagingCondition, getPagingEventspublic Container(Page page)
page - 页面public ComponentType getType()
public PagingEvent getPagingEvent()
protected void init()
init 在类中 AbstractComponentpublic void virtualRender()
public void render()
public void close()
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 AbstractComponentprotected void reset(Float beforeX)
beforeX - X轴起始坐标protected void initOthers()
protected void virtualRenderComponent(Component component)
component - 组件protected void renderComponent(Component component)
component - 组件protected void addVirtualBorder(Float beforeY, ContainerInfo info)
beforeY - 组件渲染前Y轴坐标info - 容器信息protected void addBorder(Float beforeY, ContainerInfo info)
beforeY - 组件渲染前Y轴坐标info - 容器信息Copyright © 2024. All rights reserved.