Debian Codegraph @

src/org/intellij/lang/annotations/JdkConstants.java

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
•1 /*
2 * Copyright 2000-2012 JetBrains s.r.o.
3 *
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
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
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, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package org.intellij.lang.annotations;
17
18 import javax.swing.*;
19 import javax.swing.border.TitledBorder;
20 import javax.swing.tree.TreeSelectionModel;
21 import java.awt.*;
22 import java.awt.event.InputEvent;
23 import java.util.Calendar;
24 import java.util.regex.Pattern;
25
26 @SuppressWarnings("EmptyClass")
27 public class JdkConstants {
28 @MagicConstant(intValues = {SwingConstants.LEFT, SwingConstants.CENTER, SwingConstants.RIGHT, SwingConstants.LEADING, SwingConstants.TRAILING})
29 public @interface HorizontalAlignment {}
30
31 @MagicConstant(intValues = {FlowLayout.LEFT, FlowLayout.CENTER, FlowLayout.RIGHT, FlowLayout.LEADING, FlowLayout.TRAILING})
32 public @interface FlowLayoutAlignment {}
33
34 @MagicConstant(valuesFromClass = Cursor.class)
35 public @interface CursorType {}
36
37 @MagicConstant(flagsFromClass = InputEvent.class)
38 public @interface InputEventMask {}
39
40 @MagicConstant(intValues = {Adjustable.HORIZONTAL, Adjustable.VERTICAL})
41 public @interface AdjustableOrientation {}
42
43 @MagicConstant(intValues = {Calendar.JANUARY, Calendar.FEBRUARY, Calendar.MARCH, Calendar.APRIL, Calendar.MAY, Calendar.JUNE, Calendar.JULY, Calendar.AUGUST, Calendar.SEPTEMBER, Calendar.OCTOBER, Calendar.NOVEMBER, Calendar.DECEMBER})
44 public @interface CalendarMonth {}
45
46 @MagicConstant(flagsFromClass = Pattern.class)
47 public @interface PatternFlags {}
48
49 @MagicConstant(valuesFromClass = BoxLayout.class)
50 public @interface BoxLayoutAxis {}
51
52 @MagicConstant(valuesFromClass = ListSelectionModel.class)
53 public @interface ListSelectionMode{}
54
55 @MagicConstant(valuesFromClass = TreeSelectionModel.class)
56 public @interface TreeSelectionMode{}
57
58 @MagicConstant(flags = {Font.PLAIN, Font.BOLD, Font.ITALIC})
59 public @interface FontStyle {}
60
61 @MagicConstant(intValues = {TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.LEFT, TitledBorder.CENTER, TitledBorder.RIGHT, TitledBorder.LEADING, TitledBorder.TRAILING})
62 public @interface TitledBorderJustification {}
63
64 @MagicConstant(intValues = {TitledBorder.DEFAULT_POSITION, TitledBorder.ABOVE_TOP, TitledBorder.TOP, TitledBorder.BELOW_TOP, TitledBorder.ABOVE_BOTTOM, TitledBorder.BOTTOM, TitledBorder.BELOW_BOTTOM})
65 public @interface TitledBorderTitlePosition{}
66
67 @MagicConstant(intValues = {SwingConstants.TOP, SwingConstants.BOTTOM, SwingConstants.LEFT, SwingConstants.RIGHT})
68 public @interface TabPlacement{}
69
70 @MagicConstant(intValues = {JTabbedPane.WRAP_TAB_LAYOUT, JTabbedPane.SCROLL_TAB_LAYOUT})
71 public @interface TabLayoutPolicy{}
72 }