* @see #BORDER_DASH_DOT_DOT
* @see #BORDER_MEDIUM_DASH_DOT_DOT
* @see #BORDER_SLANTED_DASH_DOT
- * @deprecated 3.15 beta 1
+ * @deprecated 3.15 beta 2. Use {@link HSSFCellStyle#setBorderLeft(BorderStyle)} instead.
*/
@Override
public void setBorderLeft(short border)
* @see #BORDER_DASH_DOT_DOT
* @see #BORDER_MEDIUM_DASH_DOT_DOT
* @see #BORDER_SLANTED_DASH_DOT
- * @deprecated 3.15 beta 1
+ * @deprecated 3.15 beta 2. Use {@link HSSFCellStyle#setBorderRight(BorderStyle)} instead.
*/
@Override
public void setBorderRight(short border)
* @see #BORDER_DASH_DOT_DOT
* @see #BORDER_MEDIUM_DASH_DOT_DOT
* @see #BORDER_SLANTED_DASH_DOT
- * @deprecated 3.15 beta 1
+ * @deprecated 3.15 beta 2. Use {@link HSSFCellStyle#setBorderTop(BorderStyle)} instead.
*/
@Override
public void setBorderTop(short border)
* @see #BORDER_DASH_DOT_DOT
* @see #BORDER_MEDIUM_DASH_DOT_DOT
* @see #BORDER_SLANTED_DASH_DOT
- * @deprecated 3.15 beta 1
+ * @deprecated 3.15 beta 2. Use {@link HSSFCellStyle#setBorderBottom(BorderStyle)} instead.
*/
@Override
public void setBorderBottom(short border)
*/\r
public interface BorderFormatting {\r
/** No border\r
- * @deprecated 3.15 beta 1. Use {@link BorderStyle}\r
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#NONE}\r
*/\r
short BORDER_NONE = 0x0;\r
\r
/** Thin border\r
- * @deprecated 3.15 beta 1. Use {@link BorderStyle}\r
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#THIN}\r
*/\r
short BORDER_THIN = 0x1;\r
\r
/** Medium border\r
- * @deprecated 3.15 beta 1. Use {@link BorderStyle}\r
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#MEDIUM}\r
*/\r
short BORDER_MEDIUM = 0x2;\r
\r
/** dash border\r
- * @deprecated 3.15 beta 1. Use {@link BorderStyle}\r
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#DASHED}\r
*/\r
short BORDER_DASHED = 0x3;\r
\r
/** dot border \r
- * @deprecated 3.15 beta 1. Use {@link BorderStyle}\r
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#DOTTED}\r
*/\r
short BORDER_DOTTED = 0x4;\r
\r
/** Thick border \r
- * @deprecated 3.15 beta 1. Use {@link BorderStyle}\r
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#THICK}\r
*/\r
short BORDER_THICK = 0x5;\r
\r
/** double-line border \r
- * @deprecated 3.15 beta 1. Use {@link BorderStyle}\r
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#DOUBLE}\r
*/\r
short BORDER_DOUBLE = 0x6;\r
\r
/** hair-line border \r
- * @deprecated 3.15 beta 1. Use {@link BorderStyle}\r
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#HAIR}\r
*/\r
short BORDER_HAIR = 0x7;\r
\r
/** Medium dashed border \r
- * @deprecated 3.15 beta 1. Use {@link BorderStyle}\r
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#MEDIUM_DASHED}\r
*/\r
short BORDER_MEDIUM_DASHED = 0x8;\r
\r
\r
/** dash-dot border\r
- * @deprecated 3.15 beta 1. Use {@link BorderStyle}\r
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#DASH_DOT}\r
*/\r
short BORDER_DASH_DOT = 0x9;\r
\r
/** medium dash-dot border \r
- * @deprecated 3.15 beta 1. Use {@link BorderStyle}\r
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#MEDIUM_DASH_DOT}\r
*/\r
short BORDER_MEDIUM_DASH_DOT = 0xA;\r
\r
/** dash-dot-dot border \r
- * @deprecated 3.15 beta 1. Use {@link BorderStyle}\r
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#DASH_DOT_DOT}\r
*/\r
short BORDER_DASH_DOT_DOT = 0xB;\r
\r
/** medium dash-dot-dot border \r
- * @deprecated 3.15 beta 1. Use {@link BorderStyle}\r
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#MEDIUM_DASH_DOT_DOT}\r
*/\r
short BORDER_MEDIUM_DASH_DOT_DOT = 0xC;\r
\r
/** slanted dash-dot border \r
- * @deprecated 3.15 beta 1. Use {@link BorderStyle}\r
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#SLANTED_DASH_DOT}\r
*/\r
short BORDER_SLANTED_DASH_DOT = 0xD;\r
\r
* Set bottom border.\r
*\r
* @param border MUST be a BORDER_* constant\r
- * @deprecated 3.15 beta 1\r
+ * @deprecated 3.15 beta 2. Use {@link BorderFormatting#setBorderBottom(BorderStyle)}\r
*/\r
void setBorderBottom(short border);\r
\r
* Set diagonal border.\r
*\r
* @param border MUST be a BORDER_* constant\r
- * @deprecated 3.15 beta 1\r
+ * @deprecated 3.15 beta 2. Use {@link BorderFormatting#setBorderDiagonal(BorderStyle)}\r
*/\r
void setBorderDiagonal(short border);\r
\r
* Set left border.\r
*\r
* @param border MUST be a BORDER_* constant\r
- * @deprecated 3.15 beta 1\r
+ * @deprecated 3.15 beta 2. Use {@link BorderFormatting#setBorderLeftBorderStyle)}\r
*/\r
void setBorderLeft(short border);\r
\r
* Set right border.\r
*\r
* @param border MUST be a BORDER_* constant\r
- * @deprecated 3.15 beta 1\r
+ * @deprecated 3.15 beta 2. Use {@link BorderFormatting#setBorderRight(BorderStyle)}\r
*/\r
void setBorderRight(short border);\r
\r
* Set top border.\r
*\r
* @param border MUST be a BORDER_* constant\r
- * @deprecated 3.15 beta 1\r
+ * @deprecated 3.15 beta 2. Use {@link BorderFormatting#setBorderTop(BorderStyle)}\r
*/\r
void setBorderTop(short border);\r
\r
/**
* No border
- * @deprecated 3.15 beta 1. Use {@link BorderStyle} instead.
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#NONE} instead.
*/
-
short BORDER_NONE = 0x0;
/**
* Thin border
- * @deprecated 3.15 beta 1. Use {@link BorderStyle} instead.
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#THIN} instead.
*/
-
short BORDER_THIN = 0x1;
/**
* Medium border
- * @deprecated 3.15 beta 1. Use {@link BorderStyle} instead.
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#MEDIUM} instead.
*/
-
short BORDER_MEDIUM = 0x2;
/**
* dash border
- * @deprecated 3.15 beta 1. Use {@link BorderStyle} instead.
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#DASHED} instead.
*/
-
short BORDER_DASHED = 0x3;
/**
* dot border
- * @deprecated 3.15 beta 1. Use {@link BorderStyle} instead.
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#DOTTED} instead.
*/
-
short BORDER_DOTTED = 0x4;
/**
* Thick border
- * @deprecated 3.15 beta 1. Use {@link BorderStyle} instead.
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#THICK} instead.
*/
-
short BORDER_THICK = 0x5;
/**
* double-line border
- * @deprecated 3.15 beta 1. Use {@link BorderStyle} instead.
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#DOUBLE} instead.
*/
-
short BORDER_DOUBLE = 0x6;
/**
* hair-line border
- * @deprecated 3.15 beta 1. Use {@link BorderStyle} instead.
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#HAIR} instead.
*/
-
short BORDER_HAIR = 0x7;
/**
* Medium dashed border
- * @deprecated 3.15 beta 1. Use {@link BorderStyle} instead.
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#MEDIUM_DASHED} instead.
*/
-
short BORDER_MEDIUM_DASHED = 0x8;
/**
* dash-dot border
- * @deprecated 3.15 beta 1. Use {@link BorderStyle} instead.
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#DASH_DOT} instead.
*/
-
short BORDER_DASH_DOT = 0x9;
/**
* medium dash-dot border
- * @deprecated 3.15 beta 1. Use {@link BorderStyle} instead.
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#MEDIUM_DASH_DOT} instead.
*/
-
short BORDER_MEDIUM_DASH_DOT = 0xA;
/**
* dash-dot-dot border
- * @deprecated 3.15 beta 1. Use {@link BorderStyle} instead.
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#DASH_DOT_DOT} instead.
*/
-
short BORDER_DASH_DOT_DOT = 0xB;
/**
* medium dash-dot-dot border
- * @deprecated 3.15 beta 1. Use {@link BorderStyle} instead.
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#MEDIUM_DASH_DOT_DOT} instead.
*/
-
short BORDER_MEDIUM_DASH_DOT_DOT = 0xC;
/**
* slanted dash-dot border
- * @deprecated 3.15 beta 1. Use {@link BorderStyle} instead.
+ * @deprecated 3.15 beta 2. Use {@link BorderStyle#SLANTED_DASH_DOT} instead.
*/
-
short BORDER_SLANTED_DASH_DOT = 0xD;
/** No background */
* @see #BORDER_DASH_DOT_DOT
* @see #BORDER_MEDIUM_DASH_DOT_DOT
* @see #BORDER_SLANTED_DASH_DOT
- * @deprecated 3.15 beta 1
+ * @deprecated 3.15 beta 2. Use {@link #setBorderLeft(BorderStyle)} instead
*/
void setBorderLeft(short border);
* @see #BORDER_DASH_DOT_DOT
* @see #BORDER_MEDIUM_DASH_DOT_DOT
* @see #BORDER_SLANTED_DASH_DOT
- * @deprecated 3.15 beta 1
+ * @deprecated 3.15 beta 2. Use {@link #setBorderRight(BorderStyle)} instead
*/
void setBorderRight(short border);
* @see #BORDER_DASH_DOT_DOT
* @see #BORDER_MEDIUM_DASH_DOT_DOT
* @see #BORDER_SLANTED_DASH_DOT
- * @deprecated 3.15 beta 1
+ * @deprecated 3.15 beta 2. Use {@link #setBorderTop(BorderStyle)} instead
*/
void setBorderTop(short border);
* @see #BORDER_DASH_DOT_DOT
* @see #BORDER_MEDIUM_DASH_DOT_DOT
* @see #BORDER_SLANTED_DASH_DOT
- * @deprecated 3.15 beta 1
+ * @deprecated 3.15 beta 2. Use {@link #setBorderBottom(BorderStyle)} instead.
*/
void setBorderBottom(short border);
if (value instanceof BorderStyle) {
border = (BorderStyle) value;
}
- // @deprecated 3.15 beta 1. getBorderStyle will only work on BorderStyle enums instead of codes in the future.
+ // @deprecated 3.15 beta 2. getBorderStyle will only work on BorderStyle enums instead of codes in the future.
else if (value instanceof Short) {
short code = Short.valueOf((Short) value);
border = BorderStyle.valueOf(code);
}\r
\r
/**\r
- * @deprecated 3.15 beta 1. Use {@link #setBorderBottom(BorderStyle)}\r
+ * @deprecated 3.15 beta 2. Use {@link #setBorderBottom(BorderStyle)}\r
*/\r
@Override\r
public void setBorderBottom(short border) {\r
}\r
\r
/**\r
- * @deprecated 3.15 beta 1. Use {@link #setBorderDiagonal(BorderStyle)}\r
+ * @deprecated 3.15 beta 2. Use {@link #setBorderDiagonal(BorderStyle)}\r
*/\r
@Override\r
public void setBorderDiagonal(short border) {\r
}\r
\r
/**\r
- * @deprecated 3.15 beta 1. Use {@link #setBorderLeft(BorderStyle)}\r
+ * @deprecated 3.15 beta 2. Use {@link #setBorderLeft(BorderStyle)}\r
*/\r
@Override\r
public void setBorderLeft(short border) {\r
}\r
\r
/**\r
- * @deprecated 3.15 beta 1. Use {@link #setBorderRight(BorderStyle)}\r
+ * @deprecated 3.15 beta 2. Use {@link #setBorderRight(BorderStyle)}\r
*/\r
@Override\r
public void setBorderRight(short border) {\r
}\r
\r
/**\r
- * @deprecated 3.15 beta 1. Use {@link #setBorderTop(BorderStyle)}\r
+ * @deprecated 3.15 beta 2. Use {@link #setBorderTop(BorderStyle)}\r
*/\r
@Override\r
public void setBorderTop(short border) {\r
* Get the type of border to use for the bottom border of the cell
*
* @return border type as Java enum
- * @deprecated 3.15 beta 1. Use {@link #getBorderBottom}
+ * @deprecated 3.15 beta 2. Use {@link #getBorderBottom}
*/
public BorderStyle getBorderBottomEnum() {
return getBorderBottom();
* Get the type of border to use for the left border of the cell
*
* @return border type, default value is {@link org.apache.poi.ss.usermodel.BorderStyle#NONE}
- * @deprecated 3.15 beta 1. Use {@link #getBorderLeft}
+ * @deprecated 3.15 beta 2. Use {@link #getBorderLeft}
*/
public BorderStyle getBorderLeftEnum() {
return getBorderLeft();
* Get the type of border to use for the right border of the cell
*
* @return border type, default value is {@link org.apache.poi.ss.usermodel.BorderStyle#NONE}
- * @deprecated 3.15 beta 1. Use {@link #getBorderRight}
+ * @deprecated 3.15 beta 2. Use {@link #getBorderRight}
*/
public BorderStyle getBorderRightEnum() {
return getBorderRight();
* Get the type of border to use for the top border of the cell
*
* @return border type, default value is {@link org.apache.poi.ss.usermodel.BorderStyle#NONE}
- * @deprecated 3.15 beta 1. Use {@link #getBorderTop}
+ * @deprecated 3.15 beta 2. Use {@link #getBorderTop}
*/
public BorderStyle getBorderTopEnum() {
return getBorderTop();
* Set the type of border to use for the bottom border of the cell
*
* @param border the type of border to use
- * @deprecated 3.15 beta 1. Use {@link #setBorderBottom(BorderStyle)}
+ * @deprecated 3.15 beta 2. Use {@link #setBorderBottom(BorderStyle)}
*/
@Override
public void setBorderBottom(short border) {
/**
* Set the type of border to use for the left border of the cell
* @param border the type of border to use
- * @deprecated 3.15 beta 1. Use {@link #setBorderLeft(BorderStyle)}
+ * @deprecated 3.15 beta 2. Use {@link #setBorderLeft(BorderStyle)}
*/
@Override
public void setBorderLeft(short border) {
* Set the type of border to use for the right border of the cell
*
* @param border the type of border to use
- * @deprecated 3.15 beta 1. Use {@link #setBorderRight(BorderStyle)}
+ * @deprecated 3.15 beta 2. Use {@link #setBorderRight(BorderStyle)}
*/
@Override
public void setBorderRight(short border) {
* Set the type of border to use for the top border of the cell
*
* @param border the type of border to use
- * @deprecated 3.15 beta 1. Use {@link #setBorderTop(BorderStyle)}
+ * @deprecated 3.15 beta 2. Use {@link #setBorderTop(BorderStyle)}
*/
@Override
public void setBorderTop(short border) {