Modifier and Type | Field and Description |
---|---|
static Region |
ARROW_BUTTON
Specifies an arrow button region.
|
static Region |
BUTTON
Specifies the region of a standard button.
|
static Region |
CHECK_BOX
Specifies the region of a check box.
|
static Region |
CHECK_BOX_MENU_ITEM
Specifies the region of a check box menu item.
|
static Region |
COLOR_CHOOSER
Specifies the region of a colorchooser.
|
static Region |
COMBO_BOX
Specifies the region of a combo box.
|
static Region |
DESKTOP_ICON
Specifies the region of a desktop icon.
|
static Region |
DESKTOP_PANE
Specifies the region of a desktop pane.
|
static Region |
EDITOR_PANE
Specifies the region of an editor pane.
|
static Region |
FILE_CHOOSER
Specifies the region of a file chooser.
|
static Region |
FORMATTED_TEXT_FIELD
Specifies the region of a formatted text field.
|
static Region |
INTERNAL_FRAME
Specifies the region of an internal frame.
|
static Region |
INTERNAL_FRAME_TITLE_PANE
Specifies the region of the title pane of an internal frame.
|
static Region |
LABEL
Specifies the region of a label.
|
static Region |
LIST
Specifies the region of a list.
|
static Region |
MENU
Specifies the region of a menu.
|
static Region |
MENU_BAR
Specifies the region of a menu bar.
|
static Region |
MENU_ITEM
Specifies the region of a menu item.
|
static Region |
MENU_ITEM_ACCELERATOR
Specifies the region of a menu item accelerator.
|
static Region |
OPTION_PANE
Specifies the region of an option pane.
|
static Region |
PANEL
Specifies the region of a panel.
|
static Region |
PASSWORD_FIELD
Specifies the region of a password field.
|
static Region |
POPUP_MENU
Specifies the region of a popup menu.
|
static Region |
POPUP_MENU_SEPARATOR
Specifies the region of a popup menu separator.
|
static Region |
PROGRESS_BAR
Specifies the region of a progress bar.
|
static Region |
RADIO_BUTTON
Specifies the region of a radio button.
|
static Region |
RADIO_BUTTON_MENU_ITEM
Specifies the region of a radio button menu item.
|
static Region |
ROOT_PANE
Specifies the region of a root pane.
|
static Region |
SCROLL_BAR
Specifies the region of a scroll bar.
|
static Region |
SCROLL_BAR_THUMB
Specifies the region of a scroll bar thumb.
|
static Region |
SCROLL_BAR_TRACK
Specifies the region of a scroll bar track.
|
static Region |
SCROLL_PANE
Specifies the region of a scroll pane.
|
static Region |
SEPARATOR
Specifies the region of a separator.
|
static Region |
SLIDER
Specifies the region of a slider.
|
static Region |
SLIDER_THUMB
Specifies the region of a slider thumb.
|
static Region |
SLIDER_TRACK
Specifies the region of a slider track.
|
static Region |
SPINNER
Specifies the region of a spinner.
|
static Region |
SPLIT_PANE
Specifies the region of a split pane.
|
static Region |
SPLIT_PANE_DIVIDER
Specifies the region of a split pane divider.
|
static Region |
TABBED_PANE
Specifies the region of a tabbed pane.
|
static Region |
TABBED_PANE_CONTENT
This specifies the region for the content of a tabbed pane.
|
static Region |
TABBED_PANE_TAB
This specifies the region of a tab of a tabbed pane.
|
static Region |
TABBED_PANE_TAB_AREA
This specifies the region underneath the tabs of a tabbed pane.
|
static Region |
TABLE
Specifies the region of a table.
|
static Region |
TABLE_HEADER
Specifies the region of a table header.
|
static Region |
TEXT_AREA
Specifies the region of a text area.
|
static Region |
TEXT_FIELD
Specifies the region of a text field.
|
static Region |
TEXT_PANE
Specifies the region of a text pane.
|
static Region |
TOGGLE_BUTTON
Specifies the region of a toggle button.
|
static Region |
TOOL_BAR
Specifies the region of a tool bar.
|
static Region |
TOOL_BAR_CONTENT
Specifies the content region of a tool bar.
|
static Region |
TOOL_BAR_DRAG_WINDOW
Specifies the drag window region of a tool bar.
|
static Region |
TOOL_BAR_SEPARATOR
Specifies the region of a separator of a tool bar.
|
static Region |
TOOL_TIP
Specifies the region of a tool tip.
|
static Region |
TREE
Specifies the region of a tree.
|
static Region |
TREE_CELL
Specifies the region of a tree cell.
|
static Region |
VIEWPORT
Specifies the region of a viewport.
|
Modifier | Constructor and Description |
---|---|
protected |
Region(String name,
String ui,
boolean subregion)
Creates a new
Region with the specified name and ui ID. |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the region.
|
boolean |
isSubregion()
Returns
true if this region describes a subregion of a
component, false if it describes a component region itself. |
String |
toString()
Returns the name of the region.
|
public static final Region ARROW_BUTTON
public static final Region CHECK_BOX_MENU_ITEM
public static final Region COLOR_CHOOSER
public static final Region DESKTOP_PANE
public static final Region DESKTOP_ICON
public static final Region EDITOR_PANE
public static final Region FILE_CHOOSER
public static final Region FORMATTED_TEXT_FIELD
public static final Region INTERNAL_FRAME
public static final Region INTERNAL_FRAME_TITLE_PANE
public static final Region MENU_ITEM_ACCELERATOR
public static final Region OPTION_PANE
public static final Region PASSWORD_FIELD
public static final Region POPUP_MENU
public static final Region POPUP_MENU_SEPARATOR
public static final Region PROGRESS_BAR
public static final Region RADIO_BUTTON
public static final Region RADIO_BUTTON_MENU_ITEM
public static final Region SCROLL_BAR
public static final Region SCROLL_BAR_TRACK
public static final Region SCROLL_BAR_THUMB
public static final Region SCROLL_PANE
public static final Region SLIDER_TRACK
public static final Region SLIDER_THUMB
public static final Region SPLIT_PANE
public static final Region SPLIT_PANE_DIVIDER
public static final Region TABBED_PANE
public static final Region TABBED_PANE_TAB
public static final Region TABBED_PANE_TAB_AREA
public static final Region TABBED_PANE_CONTENT
public static final Region TABLE_HEADER
public static final Region TEXT_FIELD
public static final Region TOGGLE_BUTTON
public static final Region TOOL_BAR_CONTENT
public static final Region TOOL_BAR_DRAG_WINDOW
public static final Region TOOL_BAR_SEPARATOR
public static final Region TREE_CELL
protected Region(String name, String ui, boolean subregion)
Region
with the specified name and ui ID.
The ui
must be the same what
JComponent.getUIClassID()
returns for toplevel regions. For
subregions this should be null
.name
- the name of the regionui
- the UI class ID of the region or null
for
subregionssubregion
- true
if this region is a subregion,
false
otherwisepublic boolean isSubregion()
true
if this region describes a subregion of a
component, false
if it describes a component region itself.true
if this region describes a subregion of a
component, false
if it describes a component region
itselfpublic String toString()
toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)