@Override public void attach() { super.attach(); createColorHistoryIfNecessary(); }
@Override public void attach() { suppressTextChangeListener = true; super.attach(); suppressTextChangeListener = false; // update text representation manually if (field instanceof TextField) { updateTextRepresentation(); } }
@Override public void attach() { super.attach(); if (getValue() == null) { prepareDrawing(); } }
@Override public void attach() { super.attach(); // TODO optimize this so that it is added only once Page.getCurrent().getStyles().add( ".clearable-textfield .v-widget {\n" + " border-radius: 4px 4px 4px 4px;\n" + "}\n" + ".clearable-textfield .v-slot:last-child>.v-widget {\n" + " border-top-left-radius: 0;\n" + " border-bottom-left-radius: 0; margin-left:-1px\n" + "}\n" + "\n" + ".clearable-textfield .v-slot:first-child>.v-widget {\n" + " border-top-right-radius: 0;\n" + " border-bottom-right-radius: 0;\n" + "}\n"); }