1 /*
2 * Copyright (c) 2003-2008 by Cosylab d. d.
3 *
4 * This file is part of CosyBeans-Common.
5 *
6 * CosyBeans-Common is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * CosyBeans-Common is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with CosyBeans-Common. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 package com.cosylab.gui.components;
21
22 public class SimpleTimeSelectorCustomizer extends
23 AbstractDisplayerPanelCustomizer {
24
25 private static final long serialVersionUID = 1L;
26
27 /** Tag for timeZone property. */
28 public static final String TIME_ZONE="timeZone";
29 /** Tag for hour property. */
30 public static final String HOUR ="hour";
31 /** Tag for minute property. */
32 public static final String MINUTE="minute";
33 /** Tag for seconds property. */
34 public static final String SECONDS="seconds";
35 /** Tag for time property. */
36 public static final String TIME="time";
37 /** Tag for hourStatus property. */
38 public static final String HOUR_STATUS="hourStatus";
39
40 public static final String LABELS_EDIT ="Other";
41 /** Aspects */
42 public static String[] ASPECTS = {VISUAL_BASIC , LABELS_EDIT};
43 /** Names of the basic visual properties. */
44 public static final String[] VISUAL_BASIC_PROPERTIES = {
45 TIME,HOUR,MINUTE,SECONDS,TIME_ZONE
46
47 };
48
49 public static final String[] LABELS_EDIT_GROUP={HOUR_STATUS};
50
51 public SimpleTimeSelectorCustomizer(){
52 addCustomizerTable(LABELS_EDIT, LABELS_EDIT_GROUP);
53 addCustomizerTable(VISUAL_BASIC, VISUAL_BASIC_PROPERTIES);
54 setSize(303, 185);
55 }
56
57 }