Skip to content

Commit 0961cf1

Browse files
committed
Add new minor method
1 parent 53f0a49 commit 0961cf1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

layout/src/main/java/com/itextpdf/layout/element/AbstractElement.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,8 @@ protected void propagateArtifactRoleToChildElements() {
105105
}
106106
}
107107

108+
public boolean isEmpty() {
109+
return 0 == childElements.size();
110+
}
111+
108112
}

0 commit comments

Comments
 (0)