/** We do not get StaticTables here*/ public void formatPage(WidgetPage<?> page) { for(OgemaWidget widget: page.getAllWidgets().getWidgets()) { if(widget instanceof Header) { ((Header)widget).addDefaultStyle(headerAlignment); } if(widget instanceof Button) { ((Button)widget).addDefaultStyle(buttonStyle); } } if(backgroundImg != null) page.setBackgroundImg(backgroundImg); }