public class TargetCounterHandler extends Object
Constructor and Description |
---|
TargetCounterHandler()
Creates a new TargetCounterHandler instance.
|
TargetCounterHandler(TargetCounterHandler targetCounterHandler)
Creates a copy of the given TargetCounterHandler instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
addPageByID(IRenderer renderer)
Adds renderer's page to the root renderer map.
|
static Integer |
getPageByID(IRenderer renderer, String id)
Gets page from renderer using given id.
|
boolean |
isRelayoutRequired()
Indicates if relayout is required.
|
static boolean |
isValueDefinedForThisId(IRenderer renderer, String id)
Indicates if page value was defined for this id.
|
void |
prepareHandlerToRelayout()
Prepares handler to relayout.
|
public TargetCounterHandler(TargetCounterHandler targetCounterHandler)
TargetCounterHandler
instance.
targetCounterHandler
- TargetCounterHandler
instance to be copied
public TargetCounterHandler()
TargetCounterHandler
instance.
public static void addPageByID(IRenderer renderer)
renderer
- renderer from which page and root renderer will be taken.
public static Integer getPageByID(IRenderer renderer, String id)
renderer
- renderer from which root renderer will be taken
id
- key to the renderersPages Map
public static boolean isValueDefinedForThisId(IRenderer renderer, String id)
renderer
- renderer from which root renderer will be taken
id
- target id
public boolean isRelayoutRequired()
public void prepareHandlerToRelayout()
Copyright © 1998–2023 iText Group NV. All rights reserved.