01: /*
02: * Copyright 2006-2007 Pentaho Corporation. All rights reserved.
03: * This software was developed by Pentaho Corporation and is provided under the terms
04: * of the Mozilla Public License, Version 1.1, or any later version. You may not use
05: * this file except in compliance with the license. If you need a copy of the license,
06: * please go to http://www.mozilla.org/MPL/MPL-1.1.txt.
07: *
08: * Software distributed under the Mozilla Public License is distributed on an "AS IS"
09: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. Please refer to
10: * the license for the specific language governing your rights and limitations.
11: *
12: * Additional Contributor(s): Martin Schmid gridvision engineering GmbH
13: */
14: package org.pentaho.reportdesigner.lib.client.util;
15:
16: import org.jetbrains.annotations.NotNull;
17:
18: import java.awt.*;
19:
20: /**
21: * User: Martin
22: * Date: 03.02.2006
23: * Time: 08:13:06
24: */
25: public class UIConstants {
26: @NotNull
27: public static final Color DEFAULT_BACKGROUND_COLOR = Color.LIGHT_GRAY;
28: @NotNull
29: public static final Color DEFAULT_FOREGROUND_COLOR = Color.BLACK;
30:
31: @NotNull
32: public static final String SPLIT_PANE_BORDER = "SplitPane.border";
33: @NotNull
34: public static final String SPLIT_PANE_DIVIDER_BORDER = "SplitPaneDivider.border";
35: @NotNull
36: public static final String SWING_BOLD_METAL = "swing.boldMetal";
37: @NotNull
38: public static final String TABLE_FOCUS_CELL_HIGHLIGHT_BORDER = "Table.focusCellHighlightBorder";
39: @NotNull
40: public static final String TABLE_FOCUS_SELECTED_CELL_HIGHLIGHT_BORDER = "Table.focusSelectedCellHighlightBorder";
41: @NotNull
42: public static final String JCOMBO_BOX_IS_TABLE_CELL_EDITOR = "JComboBox.isTableCellEditor";
43: @NotNull
44: public static final String TABLE_FOCUS_CELL_FOREGROUND = "Table.focusCellForeground";
45: @NotNull
46: public static final String TABLE_FOCUS_CELL_BACKGROUND = "Table.focusCellBackground";
47: @NotNull
48: public static final String TREE_LEAF_ICON = "Tree.leafIcon";
49: @NotNull
50: public static final String TREE_CLOSED_ICON = "Tree.closedIcon";
51: @NotNull
52: public static final String TREE_OPEN_ICON = "Tree.openIcon";
53: @NotNull
54: public static final String TREE_SELECTION_FOREGROUND = "Tree.selectionForeground";
55: @NotNull
56: public static final String TREE_TEXT_FOREGROUND = "Tree.textForeground";
57: @NotNull
58: public static final String TREE_SELECTION_BACKGROUND = "Tree.selectionBackground";
59: @NotNull
60: public static final String TREE_TEXT_BACKGROUND = "Tree.textBackground";
61: @NotNull
62: public static final String TREE_SELECTION_BORDER_COLOR = "Tree.selectionBorderColor";
63: @NotNull
64: public static final String TREE_DRAWS_FOCUS_BORDER_AROUND_ICON = "Tree.drawsFocusBorderAroundIcon";
65: @NotNull
66: public static final String TREE_DRAW_DASHED_FOCUS_INDICATOR = "Tree.drawDashedFocusIndicator";
67: @NotNull
68: public static final String SUN_AWT_EXCEPTION_HANDLER = "sun.awt.exception.handler";
69:
70: private UIConstants() {
71: }
72:
73: }
|