|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.plaf.synth.Region
public class Region
Swing ÄÄÆÛ³ÍÆ®ÀÇ °³º°ÀÇ ·»´õ¸µ ¿µ¿ªÀÔ´Ï´Ù. ÄÄÆÛ³ÍÆ®´Â 1°³ ¶Ç´Â º¹¼öÀÇ ¿µ¿ªÀ» Áö¿ø ÇÒ ¼ö ÀÖ½À´Ï´Ù. °¢°¢ÀÇ ÄÄÆÛ³ÍÆ® ¿µ¿ªÀº ÀÌ Å¬·¡½ºÀÇ Å¸ÀÔ º¸ÁõµÈ ¿°Å¿¡ ÀÇÇØ Á¤Àǵ˴ϴÙ.
¿µ¿ªÀº º¸Åë, ƯÁ¤ÀÇ ½ºÅ¸ÀÏÀÌ Àû¿ëµÇ´Â Component
³ª ¿µ¿ªÀ» ½Äº°ÇÏ´Â ¹æ¹ýÀ¸·Î¼ »ç¿ëµË´Ï´Ù. Synth
ÆÄÀÏ Æ÷¸ËÀ» »ç¿ëÇϸé Region
À̸§¿¡ ±Ù°ÅÇÑ ½ºÅ¸ÀÏÀ» ¹ÙÀεå ÇÒ ¼ö ÀÖ½À´Ï´Ù. À̸§Àº Á¤¼öÀÇ Çʵå¸í¿¡ À¯·¡ÇÕ´Ï´Ù.
SPLIT_PANE
Region
À»
ƯÁ¤ÇÏ·Á¸é SplitPane
¸¦ »ç¿ëÇÕ´Ï´Ù. ´ÙÀ½ÀÇ ¿¹´Â ºÐÇÒ ±¸È¹ÀÇ Æ¯Á¤ÀÇ ½ºÅ¸ÀÏÀ» µ¹·ÁÁÖ´Â Ä¿½ºÅÒÀÇ SynthStyleFactory
¸¦ ³ªÅ¸³»°í ÀÖ½À´Ï´Ù.
public SynthStyle getStyle(JComponent c, Region id) { if (id == Region.BUTTON) { return buttonStyle; } ... }´ÙÀ½ÀÇ xml ¿¡¼µµ °°Àº °ÍÀÌ »ý±é´Ï´Ù.
<style id="buttonStyle"> ... </style> <bind style="buttonStyle" type="region" key="button"/>
ÇÊµå °³¿ä | |
---|---|
static Region |
ARROW_BUTTON
ArrowButton´Â ¹æÇâ ÀεðÄÉÀÌÅÍ(indicator) (ÀϹÝÀûÀ¸·Î È»ìÇ¥)¸¦ ·»´õ¸µ Çϴ Ư¼öÇÑ Å¸ÀÔÀÇ ¹öưÀÔ´Ï´Ù. |
static Region |
BUTTON
Button ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
CHECK_BOX
CheckBox ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
CHECK_BOX_MENU_ITEM
CheckBoxMenuItem ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
COLOR_CHOOSER
ColorChooser ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
COMBO_BOX
ComboBox ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
DESKTOP_ICON
DesktopIcon ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
DESKTOP_PANE
DesktopPane ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
EDITOR_PANE
EditorPane ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
FILE_CHOOSER
FileChooser ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
FORMATTED_TEXT_FIELD
FormattedTextField ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
INTERNAL_FRAME
InternalFrame ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
INTERNAL_FRAME_TITLE_PANE
InternalFrame TitlePane ÀÔ´Ï´Ù. |
static Region |
LABEL
Label ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
LIST
List ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
MENU
Menu ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
MENU_BAR
MenuBar ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
MENU_ITEM
MenuItem ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
MENU_ITEM_ACCELERATOR
MenuItem °¡¼Ó±â ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
OPTION_PANE
OptionPane ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
PANEL
Panel ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
PASSWORD_FIELD
PasswordField ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
POPUP_MENU
PopupMenu ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
POPUP_MENU_SEPARATOR
PopupMenuSeparator ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
PROGRESS_BAR
ProgressBar ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
RADIO_BUTTON
RadioButton ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
RADIO_BUTTON_MENU_ITEM
RegionButtonMenuItem ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
ROOT_PANE
RootPane ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
SCROLL_BAR
ScrollBar ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
SCROLL_BAR_THUMB
ScrollBar »ùÀÔ´Ï´Ù. |
static Region |
SCROLL_BAR_TRACK
ScrollBar Æ®·°ÀÔ´Ï´Ù. |
static Region |
SCROLL_PANE
ScrollPane ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
SEPARATOR
Separator ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
SLIDER
Slider ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
SLIDER_THUMB
Slider »ùÀÔ´Ï´Ù. |
static Region |
SLIDER_TRACK
Slider Æ®·°ÀÔ´Ï´Ù. |
static Region |
SPINNER
Spinner ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
SPLIT_PANE
SplitPane ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
SPLIT_PANE_DIVIDER
SplitPane µð¹ÙÀÌ´õÀÔ´Ï´Ù. |
static Region |
TABBED_PANE
TabbedPane ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TABBED_PANE_CONTENT
ÄÁÅÙÃ÷¸¦ Æ÷ÇÔÇÏ´Â TabbedPane ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TABBED_PANE_TAB
1°³ÀÇ ÅÇÀÇ TabbedPane ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TABBED_PANE_TAB_AREA
º¹¼öÀÇ ÅÇÀ» Æ÷ÇÔÇÏ´Â TabbedPane ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TABLE
Table ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TABLE_HEADER
TableHeader ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TEXT_AREA
TextArea ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TEXT_FIELD
TextField ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TEXT_PANE
TextPane ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TOGGLE_BUTTON
ToggleButton ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TOOL_BAR
ToolBar ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TOOL_BAR_CONTENT
ÄÁÅÙÃ÷¸¦ Æ÷ÇÔÇÏ´Â ToolBar ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TOOL_BAR_DRAG_WINDOW
ToolBar¸¦ Æ÷ÇÔÇÏ´Â Window ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TOOL_BAR_SEPARATOR
ToolBar separator ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TOOL_TIP
ToolTip ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TREE
Tree ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
TREE_CELL
1°³ÀÇ ¼¿ÀÇ Tree ¿µ¿ªÀÔ´Ï´Ù. |
static Region |
VIEWPORT
Viewport ¿µ¿ªÀÔ´Ï´Ù. |
»ý¼ºÀÚ °³¿ä | |
---|---|
protected |
Region (String name,
String ui,
boolean subregion)
ÁöÁ¤µÈ À̸§À¸·Î Region¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
String |
getName ()
¿µ¿ªÀÇ À̸§À» ¸®ÅÏÇÕ´Ï´Ù. |
boolean |
isSubregion ()
Region°¡ Component ºÎºÐ ¿µ¿ªÀÇ °æ¿ì´Â true¸¦ µ¹·ÁÁÖ°í, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
String |
toString ()
Region À̸§À» ¸®ÅÏÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
ÇʵåÀÇ »ó¼¼ |
---|
public static final Region ARROW_BUTTON
public static final Region BUTTON
public static final Region CHECK_BOX
public static final Region CHECK_BOX_MENU_ITEM
public static final Region COLOR_CHOOSER
public static final Region COMBO_BOX
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 LABEL
public static final Region LIST
public static final Region MENU
public static final Region MENU_BAR
public static final Region MENU_ITEM
public static final Region MENU_ITEM_ACCELERATOR
public static final Region OPTION_PANE
public static final Region PANEL
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 ROOT_PANE
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 SEPARATOR
public static final Region SLIDER
public static final Region SLIDER_TRACK
public static final Region SLIDER_THUMB
public static final Region SPINNER
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
public static final Region TABLE_HEADER
public static final Region TEXT_AREA
public static final Region TEXT_FIELD
public static final Region TEXT_PANE
public static final Region TOGGLE_BUTTON
public static final Region TOOL_BAR
public static final Region TOOL_BAR_CONTENT
public static final Region TOOL_BAR_DRAG_WINDOW
public static final Region TOOL_TIP
public static final Region TOOL_BAR_SEPARATOR
public static final Region TREE
public static final Region TREE_CELL
public static final Region VIEWPORT
»ý¼ºÀÚ »ó¼¼ |
---|
protected Region(String name, String ui, boolean subregion)
ComponentUI
Ŭ·¡½º¸¦ »ç¿ëÇØ µ¶ÀÚÀûÀÎ JComponent
¼ºê Ŭ·¡½º¸¦ ÀÛ¼ºÇÑ °æ¿ì¿¡°Ô¸¸ »ç¿ëÇÕ´Ï´Ù.
name
- ¿µ¿ªÀÇ À̸§ui
- component.getUIClassID
·Î
ºÎÅÍ ¸®ÅϵÈ
ij¸¯ÅÍ ¶óÀÎ. À̰ÍÀÌ ºÎºÐ ¿µ¿ªÀÇ °æ¿ì´Â nullsubregion
- À̰ÍÀÌ ºÎºÐ ¿µ¿ªÀΰ¡ ¾î¶²°¡¸Þ¼µåÀÇ »ó¼¼ |
---|
public boolean isSubregion()
Region.BUTTON
´Â Component
¿¡ ´ëÀÀÇϰí Àֱ⠶§¹®¿¡
Region.BUTTON.isSubregion()
´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù.
public String getName()
public String toString()
Object
³»ÀÇ toString
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.