| •1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 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 |
} |