public void setHover(final boolean hover) { if (hover) { StyleHelper.addEnumStyleName(this, TableType.HOVER); } else { StyleHelper.removeEnumStyleName(this, TableType.HOVER); } }
public void setBordered(final boolean bordered) { if (bordered) { StyleHelper.addEnumStyleName(this, TableType.BORDERED); } else { StyleHelper.removeEnumStyleName(this, TableType.BORDERED); } }
public void setCondensed(final boolean condensed) { if (condensed) { StyleHelper.addEnumStyleName(this, TableType.CONDENSED); } else { StyleHelper.removeEnumStyleName(this, TableType.CONDENSED); } }
public void setStriped(final boolean striped) { if (striped) { StyleHelper.addEnumStyleName(this, TableType.STRIPED); } else { StyleHelper.removeEnumStyleName(this, TableType.STRIPED); } }