@Test public void removeAllProps() { props(); assertEquals("wrong props", 3, pp.properties().size()); pp.removeAllProps(); assertEquals("unexpected props", 0, pp.properties().size()); }
public PropertyPanel removeAllProps() { properties.clear(); return this; }
PropertyPanel { public PropertyPanel removeAllProps() { properties.clear(); return this; } }
PropertyPanel { public PropertyPanel removeAllProps() { properties.clear(); return this; } PropertyPanel(String title, String typeId); }
PropertyPanel { public PropertyPanel removeAllProps() { properties.clear(); return this; } PropertyPanel(String title, String typeId); PropertyPanel id(String id); PropertyPanel addProp(String key, String value); PropertyPanel addProp(String key, int value); PropertyPanel addProp(String key, long value); PropertyPanel addProp(String key, Object value); PropertyPanel addProp(String key, Object value, String reStrip); PropertyPanel addSeparator(); String title(); String typeId(); String id(); List<Prop> properties(); List<ButtonId> buttons(); PropertyPanel title(String title); PropertyPanel typeId(String typeId); PropertyPanel removeProps(String... keys); PropertyPanel removeAllProps(); PropertyPanel addButton(ButtonId button); PropertyPanel removeButtons(ButtonId... descriptors); PropertyPanel removeAllButtons(); }
PropertyPanel { public PropertyPanel removeAllProps() { properties.clear(); return this; } PropertyPanel(String title, String typeId); PropertyPanel id(String id); PropertyPanel addProp(String key, String value); PropertyPanel addProp(String key, int value); PropertyPanel addProp(String key, long value); PropertyPanel addProp(String key, Object value); PropertyPanel addProp(String key, Object value, String reStrip); PropertyPanel addSeparator(); String title(); String typeId(); String id(); List<Prop> properties(); List<ButtonId> buttons(); PropertyPanel title(String title); PropertyPanel typeId(String typeId); PropertyPanel removeProps(String... keys); PropertyPanel removeAllProps(); PropertyPanel addButton(ButtonId button); PropertyPanel removeButtons(ButtonId... descriptors); PropertyPanel removeAllButtons();  }