feat(renderer): add getRenderingBo method to retrieve RenderingBo by ID and type

This commit is contained in:
extio-de
2026-02-25 21:38:03 +01:00
parent 69f07babe1
commit efc48b8741

View File

@@ -172,6 +172,10 @@ public class ScrollArea implements WindowComponent {
this.parent.putRenderingBo(renderingBo); this.parent.putRenderingBo(renderingBo);
} }
public <T extends RenderingBo> T getRenderingBo(final String renderingBoId, final Class<T> type) {
return this.parent.getRenderingBo(renderingBoId, type);
}
public void removeRenderingBo(final String renderingBoId) { public void removeRenderingBo(final String renderingBoId) {
this.renderingBoIds.remove(renderingBoId); this.renderingBoIds.remove(renderingBoId);
this.parent.removeRenderingBo(renderingBoId); this.parent.removeRenderingBo(renderingBoId);