@Test public void checkGetTitleWithHasName() { hasName = Optional.of(new MockHasName("name")); assertEquals("name", header.getTitle()); }
@Override public String getTitle() { return titleGetter.get(); }
EditableTextHeaderMetaData implements EditableHeaderMetaData { @Override public String getTitle() { return titleGetter.get(); } }
EditableTextHeaderMetaData implements EditableHeaderMetaData { @Override public String getTitle() { return titleGetter.get(); } EditableTextHeaderMetaData(final Supplier<String> titleGetter,
                                      final Consumer<String> titleSetter,
                                      final SingletonDOMElementFactory<W, E> factory);  EditableTextHeaderMetaData(final Supplier<String> titleGetter,
                                      final Consumer<String> titleSetter,
                                      final SingletonDOMElementFactory<W, E> factory,
                                      final String columnGroup); }
EditableTextHeaderMetaData implements EditableHeaderMetaData { @Override public String getTitle() { return titleGetter.get(); } EditableTextHeaderMetaData(final Supplier<String> titleGetter,
                                      final Consumer<String> titleSetter,
                                      final SingletonDOMElementFactory<W, E> factory);  EditableTextHeaderMetaData(final Supplier<String> titleGetter,
                                      final Consumer<String> titleSetter,
                                      final SingletonDOMElementFactory<W, E> factory,
                                      final String columnGroup); @Override String getTitle(); @Override void setTitle(final String title); @Override String getColumnGroup(); @Override void setColumnGroup(final String columnGroup); @Override void destroyResources(); @Override void edit(final GridBodyCellEditContext context); @Override GridCellEditAction getSupportedEditAction(); @Override boolean equals(final Object o); @Override int hashCode(); }
EditableTextHeaderMetaData implements EditableHeaderMetaData { @Override public String getTitle() { return titleGetter.get(); } EditableTextHeaderMetaData(final Supplier<String> titleGetter,
                                      final Consumer<String> titleSetter,
                                      final SingletonDOMElementFactory<W, E> factory);  EditableTextHeaderMetaData(final Supplier<String> titleGetter,
                                      final Consumer<String> titleSetter,
                                      final SingletonDOMElementFactory<W, E> factory,
                                      final String columnGroup); @Override String getTitle(); @Override void setTitle(final String title); @Override String getColumnGroup(); @Override void setColumnGroup(final String columnGroup); @Override void destroyResources(); @Override void edit(final GridBodyCellEditContext context); @Override GridCellEditAction getSupportedEditAction(); @Override boolean equals(final Object o); @Override int hashCode();  }