List of usage examples for com.vaadin.server FontAwesome ELLIPSIS_H
FontAwesome ELLIPSIS_H
To view the source code for com.vaadin.server FontAwesome ELLIPSIS_H.
Click Source Link
From source file:org.tylproject.vaadin.addon.fields.zoom.ZoomField.java
License:Apache License
@Override public void setReadOnly(boolean readOnly) { super.setReadOnly(readOnly); getBackingField().setReadOnly(true); getZoomDialog().setReadOnly(readOnly); if (readOnly) { getButton().setIcon(FontAwesome.ELLIPSIS_H); } else {/*from w w w.j a va 2s. c o m*/ getButton().setIcon(FontAwesome.SEARCH); } }
From source file:org.tylproject.vaadin.addon.fields.zoom.ZoomField.java
License:Apache License
/** * Switch the ZoomField to a DrillDown Field. A DrillDown Field * is a ZoomField where no selection is possible in the ZoomWindow. * * * It is meant to display the result of a query (e.g., the query * that caused the current value to be displayed in this ZoomField). * * Read-only ZoomFields turn temporarily into DrillDown fields, until * they turn back into writable state.//ww w . ja v a 2 s . c om * * In DrillDown state, the button is turned into a * {@link com.vaadin.server.FontAwesome#ELLIPSIS_H} * */ public ZoomField<T> drillDownOnly() { this.drillDownOnly = true; getButton().setIcon(FontAwesome.ELLIPSIS_H); return this; }