Package org.jdesktop.swingx.plaf.synth
Class YRegion
java.lang.Object
javax.swing.plaf.synth.Region
org.jdesktop.swingx.plaf.synth.YRegion
Extended Region to register custom component delegates.
like XRegion
-
Field Summary
FieldsFields inherited from class javax.swing.plaf.synth.Region
ARROW_BUTTON, BUTTON, CHECK_BOX, CHECK_BOX_MENU_ITEM, COLOR_CHOOSER, COMBO_BOX, DESKTOP_ICON, DESKTOP_PANE, EDITOR_PANE, FILE_CHOOSER, FORMATTED_TEXT_FIELD, INTERNAL_FRAME, INTERNAL_FRAME_TITLE_PANE, LABEL, LIST, MENU, MENU_BAR, MENU_ITEM, MENU_ITEM_ACCELERATOR, OPTION_PANE, PANEL, PASSWORD_FIELD, POPUP_MENU, POPUP_MENU_SEPARATOR, PROGRESS_BAR, RADIO_BUTTON, RADIO_BUTTON_MENU_ITEM, ROOT_PANE, SCROLL_BAR, SCROLL_BAR_THUMB, SCROLL_BAR_TRACK, SCROLL_PANE, SEPARATOR, SLIDER, SLIDER_THUMB, SLIDER_TRACK, SPINNER, SPLIT_PANE, SPLIT_PANE_DIVIDER, TABBED_PANE, TABBED_PANE_CONTENT, TABBED_PANE_TAB, TABBED_PANE_TAB_AREA, TABLE, TABLE_HEADER, TEXT_AREA, TEXT_FIELD, TEXT_PANE, TOGGLE_BUTTON, TOOL_BAR, TOOL_BAR_CONTENT, TOOL_BAR_DRAG_WINDOW, TOOL_BAR_SEPARATOR, TOOL_TIP, TREE, TREE_CELL, VIEWPORT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Region
getYRegion
(JComponent component, boolean useParent) Returns a region appropriate for the component.Methods inherited from class javax.swing.plaf.synth.Region
getName, isSubregion, toString
-
Field Details
-
YLIST
-
-
Constructor Details
-
YRegion
Creates a Region with the specified name.- Parameters:
name
- Name of the regionsubregion
- Whether or not this is a subregion.realUI
- String that will be returned fromcomponent.getUIClassID
.parent
- the parent region which this is extending.
-
-
Method Details
-
getYRegion
Returns a region appropriate for the component.- Parameters:
component
- the component to get the region foruseParent
- a boolean indicating whether or not to return a fallback of the Region, if available- Returns:
- a region for the component or null if not available.
-