Lines Matching defs:Region

42  * to bind styles based on the name of a <code>Region</code>.
51 * <code>Region</code> you would use <code>SplitPane</code>.
55 * public SynthStyle getStyle(JComponent c, Region id) {
56 * if (id == Region.SPLIT_PANE) {
74 public class Region {
82 * To bind a style to this <code>Region</code> use the name
85 public static final Region ARROW_BUTTON = new Region("ArrowButton", false);
88 * Button region. To bind a style to this <code>Region</code> use the name
91 public static final Region BUTTON = new Region("Button", false);
94 * CheckBox region. To bind a style to this <code>Region</code> use the name
97 public static final Region CHECK_BOX = new Region("CheckBox", false);
100 * CheckBoxMenuItem region. To bind a style to this <code>Region</code> use
103 public static final Region CHECK_BOX_MENU_ITEM = new Region("CheckBoxMenuItem", false);
106 * ColorChooser region. To bind a style to this <code>Region</code> use
109 public static final Region COLOR_CHOOSER = new Region("ColorChooser", false);
112 * ComboBox region. To bind a style to this <code>Region</code> use
115 public static final Region COMBO_BOX = new Region("ComboBox", false);
118 * DesktopPane region. To bind a style to this <code>Region</code> use
121 public static final Region DESKTOP_PANE = new Region("DesktopPane", false);
124 * DesktopIcon region. To bind a style to this <code>Region</code> use
127 public static final Region DESKTOP_ICON = new Region("DesktopIcon", false);
130 * EditorPane region. To bind a style to this <code>Region</code> use
133 public static final Region EDITOR_PANE = new Region("EditorPane", false);
136 * FileChooser region. To bind a style to this <code>Region</code> use
139 public static final Region FILE_CHOOSER = new Region("FileChooser", false);
142 * FormattedTextField region. To bind a style to this <code>Region</code> use
145 public static final Region FORMATTED_TEXT_FIELD = new Region("FormattedTextField", false);
148 * InternalFrame region. To bind a style to this <code>Region</code> use
151 public static final Region INTERNAL_FRAME = new Region("InternalFrame", false);
156 * To bind a style to this <code>Region</code> use the name
159 public static final Region INTERNAL_FRAME_TITLE_PANE = new Region("InternalFrameTitlePane", false);
162 * Label region. To bind a style to this <code>Region</code> use the name
165 public static final Region LABEL = new Region("Label", false);
168 * List region. To bind a style to this <code>Region</code> use the name
171 public static final Region LIST = new Region("List", false);
174 * Menu region. To bind a style to this <code>Region</code> use the name
177 public static final Region MENU = new Region("Menu", false);
180 * MenuBar region. To bind a style to this <code>Region</code> use the name
183 public static final Region MENU_BAR = new Region("MenuBar", false);
186 * MenuItem region. To bind a style to this <code>Region</code> use the name
189 public static final Region MENU_ITEM = new Region("MenuItem", false);
193 * <code>Region</code> use the name <code>MenuItemAccelerator</code>.
195 public static final Region MENU_ITEM_ACCELERATOR = new Region("MenuItemAccelerator", true);
198 * OptionPane region. To bind a style to this <code>Region</code> use
201 public static final Region OPTION_PANE = new Region("OptionPane", false);
204 * Panel region. To bind a style to this <code>Region</code> use the name
207 public static final Region PANEL = new Region("Panel", false);
210 * PasswordField region. To bind a style to this <code>Region</code> use
213 public static final Region PASSWORD_FIELD = new Region("PasswordField", false);
216 * PopupMenu region. To bind a style to this <code>Region</code> use
219 public static final Region POPUP_MENU = new Region("PopupMenu", false);
222 * PopupMenuSeparator region. To bind a style to this <code>Region</code>
225 public static final Region POPUP_MENU_SEPARATOR = new Region("PopupMenuSeparator", false);
228 * ProgressBar region. To bind a style to this <code>Region</code>
231 public static final Region PROGRESS_BAR = new Region("ProgressBar", false);
234 * RadioButton region. To bind a style to this <code>Region</code>
237 public static final Region RADIO_BUTTON = new Region("RadioButton", false);
240 * RegionButtonMenuItem region. To bind a style to this <code>Region</code>
243 public static final Region RADIO_BUTTON_MENU_ITEM = new Region("RadioButtonMenuItem", false);
246 * RootPane region. To bind a style to this <code>Region</code> use
249 public static final Region ROOT_PANE = new Region("RootPane", false);
252 * ScrollBar region. To bind a style to this <code>Region</code> use
255 public static final Region SCROLL_BAR = new Region("ScrollBar", false);
258 * Track of the ScrollBar. To bind a style to this <code>Region</code> use
261 public static final Region SCROLL_BAR_TRACK = new Region("ScrollBarTrack", true);
266 * currently visible. To bind a style to this <code>Region</code> use
269 public static final Region SCROLL_BAR_THUMB = new Region("ScrollBarThumb", true);
272 * ScrollPane region. To bind a style to this <code>Region</code> use
275 public static final Region SCROLL_PANE = new Region("ScrollPane", false);
278 * Separator region. To bind a style to this <code>Region</code> use
281 public static final Region SEPARATOR = new Region("Separator", false);
284 * Slider region. To bind a style to this <code>Region</code> use
287 public static final Region SLIDER = new Region("Slider", false);
290 * Track of the Slider. To bind a style to this <code>Region</code> use
293 public static final Region SLIDER_TRACK = new Region("SliderTrack", true);
297 * value. To bind a style to this <code>Region</code> use the name
300 public static final Region SLIDER_THUMB = new Region("SliderThumb", true);
303 * Spinner region. To bind a style to this <code>Region</code> use the name
306 public static final Region SPINNER = new Region("Spinner", false);
309 * SplitPane region. To bind a style to this <code>Region</code> use the name
312 public static final Region SPLIT_PANE = new Region("SplitPane", false);
315 * Divider of the SplitPane. To bind a style to this <code>Region</code>
318 public static final Region SPLIT_PANE_DIVIDER = new Region("SplitPaneDivider", true);
321 * TabbedPane region. To bind a style to this <code>Region</code> use
324 public static final Region TABBED_PANE = new Region("TabbedPane", false);
327 * Region of a TabbedPane for one tab. To bind a style to this
328 * <code>Region</code> use the name <code>TabbedPaneTab</code>.
330 public static final Region TABBED_PANE_TAB = new Region("TabbedPaneTab", true);
333 * Region of a TabbedPane containing the tabs. To bind a style to this
334 * <code>Region</code> use the name <code>TabbedPaneTabArea</code>.
336 public static final Region TABBED_PANE_TAB_AREA = new Region("TabbedPaneTabArea", true);
339 * Region of a TabbedPane containing the content. To bind a style to this
340 * <code>Region</code> use the name <code>TabbedPaneContent</code>.
342 public static final Region TABBED_PANE_CONTENT = new Region("TabbedPaneContent", true);
345 * Table region. To bind a style to this <code>Region</code> use
348 public static final Region TABLE = new Region("Table", false);
351 * TableHeader region. To bind a style to this <code>Region</code> use
354 public static final Region TABLE_HEADER = new Region("TableHeader", false);
357 * TextArea region. To bind a style to this <code>Region</code> use
360 public static final Region TEXT_AREA = new Region("TextArea", false);
363 * TextField region. To bind a style to this <code>Region</code> use
366 public static final Region TEXT_FIELD = new Region("TextField", false);
369 * TextPane region. To bind a style to this <code>Region</code> use
372 public static final Region TEXT_PANE = new Region("TextPane", false);
375 * ToggleButton region. To bind a style to this <code>Region</code> use
378 public static final Region TOGGLE_BUTTON = new Region("ToggleButton", false);
381 * ToolBar region. To bind a style to this <code>Region</code> use
384 public static final Region TOOL_BAR = new Region("ToolBar", false);
387 * Region of the ToolBar containing the content. To bind a style to this
388 * <code>Region</code> use the name <code>ToolBarContent</code>.
390 public static final Region TOOL_BAR_CONTENT = new Region("ToolBarContent", true);
393 * Region for the Window containing the ToolBar. To bind a style to this
394 * <code>Region</code> use the name <code>ToolBarDragWindow</code>.
396 public static final Region TOOL_BAR_DRAG_WINDOW = new Region("ToolBarDragWindow", false);
399 * ToolTip region. To bind a style to this <code>Region</code> use
402 public static final Region TOOL_TIP = new Region("ToolTip", false);
405 * ToolBar separator region. To bind a style to this <code>Region</code> use
408 public static final Region TOOL_BAR_SEPARATOR = new Region("ToolBarSeparator", false);
411 * Tree region. To bind a style to this <code>Region</code> use the name
414 public static final Region TREE = new Region("Tree", false);
417 * Region of the Tree for one cell. To bind a style to this
418 * <code>Region</code> use the name <code>TreeCell</code>.
420 public static final Region TREE_CELL = new Region("TreeCell", true);
423 * Viewport region. To bind a style to this <code>Region</code> use
426 public static final Region VIEWPORT = new Region("Viewport", false);
428 private static Map<String, Region> getUItoRegionMap() {
430 Map<String, Region> map = (Map<String, Region>) context.get(UI_TO_REGION_MAP_KEY);
432 map = new HashMap<String, Region>();
483 private static Map<Region, String> getLowerCaseNameMap() {
485 Map<Region, String> map = (Map<Region, String>) context.get(LOWER_CASE_NAME_MAP_KEY);
487 map = new HashMap<Region, String>();
493 static Region getRegion(JComponent c) {
506 private Region(String name, boolean subregion) {
515 * Creates a Region with the specified name. This should only be
525 protected Region(String name, String ui, boolean subregion) {
533 * Returns true if the Region is a subregion of a Component, otherwise
534 * false. For example, <code>Region.BUTTON</code> corresponds do a
535 * <code>Component</code> so that <code>Region.BUTTON.isSubregion()</code>
538 * @return true if the Region is a subregion of a Component.
547 * @return name of the Region.
556 * @return lower case representation of the name of the Region
559 Map<Region, String> lowerCaseNameMap = getLowerCaseNameMap();
569 * Returns the name of the Region.
571 * @return name of the Region.