289290291292293294295296
/** * @param width the initial panel width to set */ public void setPanelWidth(String width) { this.width = new ParsedSize(FloatParser.parseFloat(width, 0.0f), UnitParser.parseUnit(width, Unit.PX)); }
304305306307308309310311
/** * @param height the height to set */ public void setHeight(String height) { this.height = new ParsedSize(FloatParser.parseFloat(height, 0.0f), UnitParser.parseUnit(height, Unit.PX)); }