All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kz.greetgo.msoffice.xlsx.reader.model.Border4 Maven / Gradle / Ivy

There is a newer version: 0.5.9
Show newest version
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);
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy