@Test public void test_settingProportionsSetsLeftHolderWidth() { hSplitLayout.setProportions(0.3d); assertEquals("30%", hSplitLayout.getMember(0).getWidthAsString()); }
public void setProportions(double proportion) { left.setHeight(((int) (proportion * 100)) + "%"); }
HSplitLayout extends HLayout { public void setProportions(double proportion) { left.setHeight(((int) (proportion * 100)) + "%"); } }
HSplitLayout extends HLayout { public void setProportions(double proportion) { left.setHeight(((int) (proportion * 100)) + "%"); } HSplitLayout(); }
HSplitLayout extends HLayout { public void setProportions(double proportion) { left.setHeight(((int) (proportion * 100)) + "%"); } HSplitLayout(); static Builder buildHSplitLayout(); void setProportions(double proportion); Canvas getLeftMember(); void setLeftMember(Canvas member); Canvas getRightMember(); void setRightMember(Canvas member); }
HSplitLayout extends HLayout { public void setProportions(double proportion) { left.setHeight(((int) (proportion * 100)) + "%"); } HSplitLayout(); static Builder buildHSplitLayout(); void setProportions(double proportion); Canvas getLeftMember(); void setLeftMember(Canvas member); Canvas getRightMember(); void setRightMember(Canvas member);  }