tui-grid-color 자바 상수 생성해서 사용
parent
478584a4eb
commit
cebbcb5f6c
@ -0,0 +1,27 @@
|
||||
package egovframework.constant;
|
||||
|
||||
/**
|
||||
* packageName : egovframework.constant
|
||||
* fileName : TuiGridColorConstants
|
||||
* author : 개발자
|
||||
* date : 2025-10-21
|
||||
* description : TUI Grid의 행/셀에 적용하는 사용자 정의 색상 CSS 클래스명을 상수로 관리하는 클래스
|
||||
* 중요로직 주석: 백엔드에서 TUI Grid의 _attributes.className.row 등에 사용할 CSS 클래스명을
|
||||
* 하드코딩하지 않고 본 상수를 통해 일관되게 사용하도록 한다.
|
||||
* ===========================================================
|
||||
* DATE AUTHOR NOTE
|
||||
* -----------------------------------------------------------
|
||||
* 2025-10-21 개발자 최초 생성 (tui-grid-custom-color* 상수 정의)
|
||||
*/
|
||||
public class TuiGridColorConstants {
|
||||
|
||||
// 공통: 그리드 행 배경색 지정용 CSS 클래스명 (xit-tui-grid.css 참고)
|
||||
public static final String ROW_COLOR_RED = "tui-grid-custom-color-red";
|
||||
public static final String ROW_COLOR_BLUE = "tui-grid-custom-color-blue";
|
||||
public static final String ROW_COLOR_GRAY = "tui-grid-custom-color-gray";
|
||||
public static final String ROW_COLOR_WHITE = "tui-grid-custom-color-white";
|
||||
|
||||
private TuiGridColorConstants() {
|
||||
// 유틸 상수 클래스 - 인스턴스화 방지
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue