@Test public void longValues() { basic(); pp.addProp(KEY_A, 200L) .addProp(KEY_B, 2000L) .addProp(KEY_C, 1234567L) .addProp(KEY_Z, Long.MAX_VALUE); validateProp(KEY_A, "200"); validateProp(KEY_B, "2,000"); validateProp(KEY_C, "1,234,567"); validateProp(KEY_Z, "9,223,372,036,854,775,807"); }
public PropertyPanel addProp(String key, String value) { properties.add(new Prop(key, value)); return this; }
PropertyPanel { public PropertyPanel addProp(String key, String value) { properties.add(new Prop(key, value)); return this; } }
PropertyPanel { public PropertyPanel addProp(String key, String value) { properties.add(new Prop(key, value)); return this; } PropertyPanel(String title, String typeId); }
PropertyPanel { public PropertyPanel addProp(String key, String value) { properties.add(new Prop(key, value)); 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 addProp(String key, String value) { properties.add(new Prop(key, value)); 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();  }