public static void applySettings(Screen screen, Settings settings) { screen.applySettings(settings); }
/** * This method is called when the screen is opened to restore settings saved in the database for the current user. * <p>You can override it to restore custom settings. * <p>For example: * <pre> * public void applySettings(Settings settings) { * super.applySettings(settings); * String visible = settings.get(hintBox.getId()).attributeValue("visible"); * if (visible != null) * hintBox.setVisible(Boolean.valueOf(visible)); * } * </pre> * @param settings settings object loaded from the database for the current user */ @Override public void applySettings(Settings settings) { super.applySettings(settings); }