@Override public void setSelectEnabled(boolean enabled) { header.setTitle(enabled ? CommonConstants.INSTANCE.SelectContainerHint() : ""); }
@Override public void setSelectEnabled(boolean enabled) { header.setTitle(enabled ? CommonConstants.INSTANCE.SelectContainerHint() : ""); }
@Override public void init(Row presenter) { this.presenter = presenter; upper.setTitle(CommonConstants.INSTANCE.DragRowHint()); setupEvents(); }
@Override public void setSelectEnabled(boolean enabled) { upper.setTitle(enabled ? CommonConstants.INSTANCE.SelectRowHint() : CommonConstants.INSTANCE.DragRowHint()); }
@Override public void init(Row presenter) { this.presenter = presenter; upper.setTitle(CommonConstants.INSTANCE.DragRowHint()); setupEvents(); }
@Override public void setSelected(boolean selected) { removeCSSClass(content, "componentMovePreview"); String txt = presenter.isSelectable() ? CommonConstants.INSTANCE.SelectColumnHint() : CommonConstants.INSTANCE.DragColumnHint(); content.setTitle(txt); if (selected) { addCSSClass(content, "componentMovePreview"); content.setTitle(CommonConstants.INSTANCE.UnselectColumnHint()); } }
@Override public void setSelected(boolean selected) { removeCSSClass(content, "componentMovePreview"); String txt = presenter.isSelectable() ? CommonConstants.INSTANCE.SelectColumnHint() : CommonConstants.INSTANCE.DragColumnHint(); content.setTitle(txt); if (selected) { addCSSClass(content, "componentMovePreview"); content.setTitle(CommonConstants.INSTANCE.UnselectColumnHint()); } }
@Override public void setDoneState(final String stateLabel) { container.getStyle().setProperty("border-color", DONE_COLOR); container.getStyle().removeProperty("animation"); container.setTitle(stateLabel); }
@Override public void setExecutingState(final String stateLabel) { container.getStyle().removeProperty("border-color"); container.getStyle().setProperty("animation", "border-pulsate 2s infinite"); container.setTitle(stateLabel); }
@Override public void setErrorState(final String stateLabel) { container.getStyle().setProperty("border-color", ERROR_COLOR); container.getStyle().removeProperty("animation"); container.setTitle(stateLabel); }
@Override public void setExecutingState(final String stateLabel) { container.getStyle().removeProperty("border-color"); container.getStyle().setProperty("animation", "border-pulsate 2s infinite"); container.setTitle(stateLabel); }
@Override public void setDoneState(final String stateLabel) { container.getStyle().setProperty("border-color", DONE_COLOR); container.getStyle().removeProperty("animation"); container.setTitle(stateLabel); }
@Override public void setStoppedState(final String stateLabel) { container.getStyle().setProperty("border-color", STOPPED_COLOR); container.getStyle().removeProperty("animation"); container.setTitle(stateLabel); }
@Override public void setErrorState(final String stateLabel) { container.getStyle().setProperty("border-color", ERROR_COLOR); container.getStyle().removeProperty("animation"); container.setTitle(stateLabel); }
@Override public void setStoppedState(final String stateLabel) { container.getStyle().setProperty("border-color", STOPPED_COLOR); container.getStyle().removeProperty("animation"); container.setTitle(stateLabel); }
@Override public void setSelected(boolean selected) { removeCSSClass(upper, "rowMovePreview"); removeCSSClass(row, "rowMovePreview"); removeCSSClass(bottom, "rowMovePreview"); upper.setTitle(CommonConstants.INSTANCE.SelectRowHint()); if (selected) { addCSSClass(upper, "rowMovePreview"); addCSSClass(row, "rowMovePreview"); addCSSClass(bottom, "rowMovePreview"); upper.setTitle(CommonConstants.INSTANCE.UnselectRowHint()); } }
@Override public void setupWidget() { String txt = presenter.isSelectable() ? CommonConstants.INSTANCE.SelectColumnHint() : CommonConstants.INSTANCE.DragColumnHint(); content.setTitle(txt); setupEvents(); setupKebabWidget(); setupOnResize(); }
@Override public void setupWidget() { String txt = presenter.isSelectable() ? CommonConstants.INSTANCE.SelectColumnHint() : CommonConstants.INSTANCE.DragColumnHint(); content.setTitle(txt); setupEvents(); setupKebabWidget(); setupOnResize(); }