class CardFrameComponentView implements CardFrameComponent.View {

    @Override
    public void setTitle(final String title) {
        titleText.textContent = title;
        titleInput.value = title;
    }

    @Inject public  CardFrameComponentView(final HTMLDivElement view,
                                  final @Named("span") HTMLElement icon,
                                  final @Named("h2") HTMLHeadingElement titleText,
                                  final HTMLInputElement titleInput,
                                  final HTMLButtonElement inputCloseButton,
                                  final HTMLDivElement editMode,
                                  final HTMLButtonElement okButton,
                                  final HTMLButtonElement closeButton,
                                  final HTMLDivElement content);

}