feat(renderer): add getRenderingBo method to retrieve RenderingBo by ID and type
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user