2 * Copyright (c) 2009 The openGion Project.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 * either express or implied. See the License for the specific language
14 * governing permissions and limitations under the License.
16 package org.opengion.hayabusa.html;
19 * ガントチャート(テーブル形式)表示クラス用のパラメータ定数定義クラスです。
21 * パラメータのキーとなる値と、初期値を設定しています。
22 * すべて、public static final で定義されている為、設定値はドキュメント等で
24 * ただし、キー値などを、直書きすることを前提に公開していませんので、
25 * 必要であれば、定数として、このクラス経由で使用してください。
30 * @author Kazuhiko Hasegawa
33 public final class ViewGanttTableParam {
35 // 3.5.5.8 (2004/05/20) taglib/ViewGanttParamTag 用のキー
36 /** パラメータキー {@value} */
37 public static final String GROUP_COLUMNS_KEY = "h_groupColumns" ;
38 /** パラメータキー {@value} */
39 public static final String DURATION_COLUMN_KEY = "h_durationColumn" ;
40 /** パラメータキー {@value} */
41 public static final String DYSTART_COLUMN_KEY = "h_dystartColumn" ;
42 /** パラメータキー {@value} */
43 public static final String DYSTART_FORMAT_KEY = "h_dystartFormat" ;
44 /** パラメータキー {@value} */
45 public static final String MIN_DURATION_KEY = "h_minDuration" ;
46 /** パラメータキー {@value} */
47 public static final String HEADER_DURATION_KEY = "h_headerDuration" ;
48 /** パラメータキー {@value} */
49 public static final String HEADER_LOCALE_KEY = "h_headerLocale" ;
50 /** パラメータキー {@value} */
51 public static final String USE_SEQ_DAY_KEY = "h_useSeqDay" ;
52 /** パラメータキー {@value} */
53 public static final String START_DAY_KEY = "h_startDay" ;
54 /** パラメータキー {@value} */
55 public static final String END_DAY_KEY = "h_endDay" ;
57 // 3.5.5.8 (2004/05/20) taglib/ViewGanttParamTag 用の初期値
58 /** パラメータ初期値:{@value} */
59 public static final String GROUP_COLUMNS_VALUE = "PRJCODE,RESOURCE_ID" ;
60 /** パラメータ初期値:{@value} */
61 public static final String DYSTART_COLUMN_VALUE = "DYSTART" ;
62 /** パラメータ初期値:{@value} */
63 public static final String DYSTART_FORMAT_VALUE = "yyyyMMdd" ;
64 /** パラメータ初期値:{@value} */
65 public static final String MIN_DURATION_VALUE = "1.0" ;
66 /** パラメータ初期値:{@value} */
67 public static final String HEADER_LOCALE_VALUE = "ja" ;
68 /** パラメータ初期値:{@value} */
69 public static final String USE_SEQ_DAY_VALUE = "false" ;
73 * 定数クラスなので、オブジェクトを生成できないように、private にしておきます。
75 * @og.rev 6.4.2.0 (2016/01/29) PMD refactoring. Each class should declare at least one constructor.
77 private ViewGanttTableParam() { super(); } // これも、自動的に呼ばれるが、空のメソッドを作成すると警告されるので、明示的にしておきます。