javax.swing.plaf.synth
public class Region extends Object
Since: 1.5
Field Summary | |
---|---|
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. |
Constructor Summary | |
---|---|
protected | Region(String name, String ui, boolean subregion)
Creates a new Region with the specified name and ui ID.
|
Method Summary | |
---|---|
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.
|
Region
with the specified name and ui ID.
The ui
must be the same what
{@link javax.swing.JComponent#getUIClassID()} returns for toplevel regions. For
subregions this should be null
.
Parameters: name the name of the region ui the UI class ID of the region or null
for
subregions subregion true
if this region is a subregion,
false
otherwise
Returns: the name of the region
true
if this region describes a subregion of a
component, false
if it describes a component region itself.
Returns: true
if this region describes a subregion of a
component, false
if it describes a component region
itself
Returns: the name of the region