@Test public void testAddsGets () { Styles s = Styles.make(Style.COLOR.is(0xFFAABBCC), Style.SHADOW.is(0xFF333333), Style.HIGHLIGHT.is(0xFFAAAAAA)); checkEquals(0xFFAABBCC, s, Style.COLOR); checkEquals(0xFF333333, s, Style.SHADOW); checkEquals(0xFFAAAAAA, s, Style.HIGHLIGHT); }
public static Styles make (Style.Binding<?>... bindings) { return none().add(Style.Mode.DEFAULT, bindings); }
Styles { public static Styles make (Style.Binding<?>... bindings) { return none().add(Style.Mode.DEFAULT, bindings); } }
Styles { public static Styles make (Style.Binding<?>... bindings) { return none().add(Style.Mode.DEFAULT, bindings); } private  Styles(Binding<?>[] bindings); }
Styles { public static Styles make (Style.Binding<?>... bindings) { return none().add(Style.Mode.DEFAULT, bindings); } private  Styles(Binding<?>[] bindings); static Styles none(); static Styles make(Style.Binding<?>... bindings); static V resolveStyle(Element<?> element, Style<V> style); Styles add(Style.Binding<?>... bindings); Styles addDisabled(Style.Binding<?>... bindings); Styles addSelected(Style.Binding<?>... bindings); Styles addDisabledSelected(Style.Binding<?>... bindings); Styles add(Style.Mode mode, Style.Binding<?>... bindings); Styles clear(Style.Mode mode, Style<V> style); Styles merge(Styles styles); }
Styles { public static Styles make (Style.Binding<?>... bindings) { return none().add(Style.Mode.DEFAULT, bindings); } private  Styles(Binding<?>[] bindings); static Styles none(); static Styles make(Style.Binding<?>... bindings); static V resolveStyle(Element<?> element, Style<V> style); Styles add(Style.Binding<?>... bindings); Styles addDisabled(Style.Binding<?>... bindings); Styles addSelected(Style.Binding<?>... bindings); Styles addDisabledSelected(Style.Binding<?>... bindings); Styles add(Style.Mode mode, Style.Binding<?>... bindings); Styles clear(Style.Mode mode, Style<V> style); Styles merge(Styles styles);  }