kz.greetgo.msoffice.xlsx.reader.model.Border4 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of greetgo.msoffice Show documentation
Show all versions of greetgo.msoffice Show documentation
greetgo library to generate or parse MS Office files
package kz.greetgo.msoffice.xlsx.reader.model;
public class Border4 {
public final Border top = new Border();
public final Border left = new Border();
public final Border right = new Border();
public final Border bottom = new Border();
public final Border diagonal = new Border();
public Border get(BorderSide borderSide) {
switch (borderSide) {
//@formatter:off
case top : return top ;
case left : return left ;
case right : return right ;
case bottom : return bottom ;
case diagonal : return diagonal ;
//@formatter:on
default:
throw new IllegalArgumentException("Unknown borderSide = " + borderSide);
}
}
}