@Override
    public void setStyleClass(String styleClass) {
        this.styleClass = styleClass;
    }
DashBoard widgets used in responsive mode only.
primefaces/src/main/java/org/primefaces/model/dashboard/DefaultDashboardWidget.java