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