You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829
  1. package org.apache.poi.hssf.usermodel.drawing;
  2. import org.apache.poi.hssf.usermodel.HSSFRectangle;
  3. /**
  4. * @author Evgeniy Berlog
  5. * date: 08.06.12
  6. */
  7. public enum HSSFShapeType {
  8. NOT_PRIMITIVE(0x0, null),
  9. RECTANGLE(0x1, HSSFRectangle.class),
  10. ROUND_RECTANGLE(0x2, null);
  11. private Short type;
  12. private Class shape;
  13. HSSFShapeType(Integer type, Class shape) {
  14. this.type = type.shortValue();
  15. this.shape = shape;
  16. }
  17. public Short getType() {
  18. return type;
  19. }
  20. public Class getShape() {
  21. return shape;
  22. }
  23. }