private boolean getOverlay(@Nonnull final Attributes attributes) { return attributes.getAsBoolean("overlay", DEFAULT_OVERLAY); }
private boolean getNeverStopRendering(@Nonnull final Attributes attributes) { return attributes.getAsBoolean("neverStopRendering", false); }
public void initializeFromPostAttributes(@Nonnull final Attributes attributes) { visible = attributes.getAsBoolean("visible", Convert.DEFAULT_VISIBLE); }
private boolean getInherit(@Nonnull final Attributes attributes) { return attributes.getAsBoolean("inherit", DEFAULT_INHERIT); }
private boolean getPost(@Nonnull final Attributes attributes) { return attributes.getAsBoolean("post", DEFAULT_POST); }
screen, backgroundImage, attributes.getAsBoolean("filter", Convert.DEFAULT_IMAGE_FILTER)); if (image == null) { return;
screen, filename, attributes.getAsBoolean("filter", Convert.DEFAULT_IMAGE_FILTER)); if (image == null) { log.severe("Image for the filename \"" + filename + "\" couldn't be load.");
boxConstraints.setMarginBottom(convert.paddingSizeValue(attributes.get("marginBottom"), marginBottom)); this.clipChildren = attributes.getAsBoolean("childClip", Convert.DEFAULT_CHILD_CLIP); this.renderOrder = attributes.getAsInteger("renderOrder", Convert.DEFAULT_RENDER_ORDER); boolean visible = attributes.getAsBoolean("visible", Convert.DEFAULT_VISIBLE); if (visible) { this.visible = true; this.visibleToMouseEvents = attributes.getAsBoolean("visibleToMouse", Convert.DEFAULT_VISIBLE_TO_MOUSE); this.layoutManager = convert.layoutManager(attributes.get("childLayout")); this.focusable = attributes.getAsBoolean("focusable", Convert.DEFAULT_FOCUSABLE); this.focusableInsertBeforeElementId = attributes.get("focusableInsertBeforeElementId"); for (int i = 0; i < elementRenderer.length; i++) {
textRenderer.setTextLineHeight(convert.sizeValue(attributes.get("textLineHeight"))); textRenderer.setTextMinHeight(convert.sizeValue(attributes.get("textMinHeight"))); boolean wrap = attributes.getAsBoolean("wrap", false); textRenderer.setLineWrapping(wrap);