|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
| ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå | ||||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JSplitPane
JSplitPane ´Â 2 °³ÀÇ Component ¸¦ ºÐÇÒÇϴµ¥ »ç¿ëÇÕ´Ï´Ù (2 krÀÎ ¸¸Å ºÐÇÒ). 2 °³ÀÇ Component ´Â Look & Feel ÀÇ ±¸ÇöÀ» ±âÁØÀ¸·Î ÇØ ±×·¡ÇÇÄÃÇÏ°Ô ºÐÇҵ˴ϴÙ. ±× Èķδ 2 °³ÀÇ Component ´Â À¯Àú°¡ ´ëÈÀûÀ¸·Î »çÀÌÁî º¯°æÇÒ ¼ö ÀÖ°Ô µË´Ï´Ù. JSplitPane ÀÇ »ç¿ë¿¡ °üÇØ¼´Â ¡¸The Java Tutorial¡¹ÀÇ¡¸How to Use Split Panes¡¹¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
2 °³ÀÇ Component ´Â JSplitPane.HORIZONTAL_SPLIT ¸¦ »ç¿ëÇØ Á¿쿡,JSplitPane.VERTICAL_SPLIT À» »ç¿ëÇØ »óÇÏ¿¡ Á¤·ÄÇÒ ¼ö ÀÖ½À´Ï´Ù. Component ÀÇ »çÀÌÁ º¯°æÇÏ·Á¸é ,JSplitPane ÀÇ ¹æÇâÀ¸·Î ÀÀÇØ location °¡ »õ·Î¿î x ¶Ç´Â y ÀÇ À§Ä¡ÀÎ setDividerLocation ¸¦ È£ÃâÇÏ´Â °ÍÀ» ÃßõÇÕ´Ï´Ù.
Component ÀÇ »çÀÌÁ ¸ñÀûÀÇ »çÀÌÁî·Î º¯°æÇÏ·Á¸é ,resetToPreferredSizes ¸¦ È£ÃâÇÕ´Ï´Ù.
À¯Àú°¡ Component ÀÇ »çÀÌÁ º¯°æÇÒ °æ¿ì¿¡´Â Components ÀÇ ÃÖ¼Ò »çÀÌÁ »ç¿ëÇØ,Component ·Î ¼³Á¤ °¡´ÉÇÑ ÃÖ´ë ¶Ç´Â ÃÖ¼ÒÀÇ À§Ä¡¸¦ °áÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. µû¶ó¼, 2 °³ÀÇ ÄÄÆÛ³ÍÆ®ÀÇ ÃÖ¼Ò »çÀÌÁî°¡ ½ºÇÁ¸´Æ®ÀÎÀÇ »çÀÌÁ´Ù Å« °æ¿ì, µð¹ÙÀÌ´õ´Â ÄÄÆÛ³ÍÆ®ÀÇ »çÀÌÁî º¯°æÀ» Çã°¡ÇÏÁö ¾Ê½À´Ï´Ù. JComponent ÀÇ ÃÖ¼Ò »çÀÌÁîÀÇ º¯°æ¿¡ ´ëÇØ¼´Â JComponent.setMinimumSize(java.awt.Dimension) ¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
À¯Àú°¡ ºÐÇÒ ±¸È¹ÀÇ »çÀÌÁ º¯°æÇÏ´Â °æ¿ì´Â resizeWeight ÇÁ·ÎÆÛƼ¿¡ ±Ù°ÅÇØ 2 °³ÀÇ ÄÄÆÛ³ÍÆ®ÀÇ »çÀÌ¿¡ »õ·Î¿î ½ºÆäÀ̽º°¡ ºÐ¹èµË´Ï´Ù. µðÆúÆ®ÀÇ °ª 0 Àº ¿À¸¥ÂÊ ¶Ç´Â ¾Æ·¡ÀÇ ÄÄÆÛ³ÍÆ®°¡ ¸ðµç ½ºÆäÀ̽º¸¦ ÃëµæÇÏ´Â °ÍÀ» ³ªÅ¸³», °ª 1 Àº ¿ÞÂÊ ¶Ç´Â À§ÀÇ ÄÄÆÛ³ÍÆ®°¡ ¸ðµç ½ºÆäÀ̽º¸¦ ÃëµæÇÏ´Â °ÍÀ» ³ªÅ¸³À´Ï´Ù.
Ç¥ÁØÀÇ Look & Feel (L&F) Ç¥ÇöÀ¸·Î ÀÌ ÄÄÆÛ³ÍÆ®°¡ »ç¿ëÇϴ Űº¸µåÀÇ Å°¿¡ ´ëÇØ¼´Â ¡¸JSplitPane ÀÇ Å°ÀÇ ÇҴ硹À» ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
°æ°í:
ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ ¿ÀºêÁ§Æ®´Â ÇâÈÄÀÇ Swing ¸±¸®½º¿Í ȣȯÀº ¾Æ´Ï°Ô µÉ ¿¹Á¤ÀÔ´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈÀÇ ¼Æ÷Æ®´Â ´Ü±â°£ÀÇ ¿î¿ëÀ̳ª, °°Àº ¹öÁ¯ÀÇ Swing ¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI ¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. JDK ¹öÁ¯ 1.4 ÀÌÈÄ, ¸ðµç JavaBeansTM ÀÇ Àå±â°£ÀÇ ¿î¿ë ¼Æ÷Æ®´Â java.beans ÆÐŰÁö¿¡ Ãß°¡µÇ°í ÀÖ½À´Ï´Ù. ÀÚ¼¼ÇÑ °ÍÀº XMLEncoder ¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
setDividerLocation(double) ,
resetToPreferredSizes() | ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä | |
protected class |
JSplitPane.AccessibleJSplitPane
ÀÌ Å¬·¡½º´Â JSplitPane Ŭ·¡½º¿ëÀÇ À¯Àú º¸Á¶ ±â´ÉÀÇ ¼Æ÷Æ®¸¦ ±¸ÇöÇϰí ÀÖ½À´Ï´Ù. |
| Ŭ·¡½º javax.swing. JComponent À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
|
| Ŭ·¡½º java.awt. Container À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
|
| Ŭ·¡½º java.awt. Component À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
Component.BltBufferStrategy , Component.FlipBufferStrategy |
| ÇʵåÀÇ °³¿ä | |
static String |
BOTTOM
Component ¸¦ ÀÌÁ¦(¹ú½á) ÇÑÆíÀÇ Component ¾Æ·¡¿¡ Ãß°¡ÇÒ °æ¿ì¿¡ »ç¿ëÇÕ´Ï´Ù. |
static String |
CONTINUOUS_LAYOUT_PROPERTY
continuousLayout ÀÇ ¹Ù¿îµå ÇÁ·ÎÆÛƼ¸íÀÔ´Ï´Ù. |
protected boolean |
continuousLayout
»çÀÌÁî º¯°æ¶§, ºä°¡ °è¼ÓÇØ ÀçÇ¥½ÃµÉÁö ¾î¶³Áö¸¦ ³ªÅ¸³À´Ï´Ù. |
static String |
DIVIDER
µð¹ÙÀÌ´õ¸¦ ³ªÅ¸³»´Â Component ¸¦ Ãß°¡ÇÒ °æ¿ì¿¡ »ç¿ëÇÕ´Ï´Ù. |
static String |
DIVIDER_LOCATION_PROPERTY
dividerLocation ÀÇ ¹Ù¿îµå ÇÁ·ÎÆÛƼÀÔ´Ï´Ù. |
static String |
DIVIDER_SIZE_PROPERTY
º¸´õÀÇ ¹Ù¿îµå ÇÁ·ÎÆÛƼ¸íÀÔ´Ï´Ù. |
protected int |
dividerSize
µð¹ÙÀÌ´õÀÇ »çÀÌÁîÀÔ´Ï´Ù. |
static int |
HORIZONTAL_SPLIT
¼öÆò ºÐÇÒÀº Component °¡ x ÃàÀ¸·Î µû¶ó ºÐÇҵǴ °ÍÀ» ³ªÅ¸³À´Ï´Ù. |
static String |
LAST_DIVIDER_LOCATION_PROPERTY
lastLocation ÀÇ ¹Ù¿îµå ÇÁ·ÎÆÛƼÀÔ´Ï´Ù. |
protected int |
lastDividerLocation
½ºÇÁ¸´Æ®ÀÎÀÇ ÀÌÀüÀÇ À§Ä¡ÀÔ´Ï´Ù. |
static String |
LEFT
Component ¸¦ ÀÌÁ¦(¹ú½á) ÇÑÆíÀÇ Component ÀÇ ¿ÞÂÊÀ¸·Î Ãß°¡ÇÒ °æ¿ì¿¡ »ç¿ëÇÕ´Ï´Ù. |
protected Component |
leftComponent
¿ÞÂÊ ¶Ç´Â À§ÀÇ ÄÄÆÛ³ÍÆ®ÀÔ´Ï´Ù. |
static String |
ONE_TOUCH_EXPANDABLE_PROPERTY
oneTouchExpandable ÀÇ ¹Ù¿îµå ÇÁ·ÎÆÛƼÀÔ´Ï´Ù. |
protected boolean |
oneTouchExpandable
½ºÇÁ¸´Æ®ÀÎÀ» Àçºü¸£°Ô Àü°³ÇÏ´Â/¼ö³³Çϱâ À§Çؼ Á¦°øµÇ´Â ÀÛÀº À§ÁþÆ®ÀÔ´Ï´Ù. |
protected int |
orientation
ºä¸¦ ºÐÇÒÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù. |
static String |
ORIENTATION_PROPERTY
¹æÇâ (¼öÆò ¶Ç´Â ¼öÁ÷)ÀÇ ¹Ù¿îµå ÇÁ·ÎÆÛƼ¸íÀÔ´Ï´Ù. |
static String |
RESIZE_WEIGHT_PROPERTY
¿þÀÌÆ®ÀÇ ¹Ù¿îµå ÇÁ·ÎÆÛƼÀÔ´Ï´Ù. |
static String |
RIGHT
Component ¸¦ ÀÌÁ¦(¹ú½á) ÇÑÆíÀÇ Component ÀÇ ¿À¸¥ÂÊÀ¸·Î Ãß°¡ÇÒ °æ¿ì¿¡ »ç¿ëÇÕ´Ï´Ù. |
protected Component |
rightComponent
¿À¸¥ÂÊ ¶Ç´Â ¾Æ·¡ÀÇ ÄÄÆÛ³ÍÆ®ÀÔ´Ï´Ù. |
static String |
TOP
Component ¸¦ ÀÌÁ¦(¹ú½á) ÇÑÆíÀÇ Component À§¿¡ Ãß°¡ÇÒ °æ¿ì¿¡ »ç¿ëÇÕ´Ï´Ù. |
static int |
VERTICAL_SPLIT
¼öÁ÷ ºÐÇÒÀº Component °¡ y ÃàÀ¸·Î µû¶ó ºÐÇҵǴ °ÍÀ» ³ªÅ¸³À´Ï´Ù. |
| Ŭ·¡½º javax.swing. JComponent ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
accessibleContext , listenerList , TOOL_TIP_TEXT_KEY , ui , UNDEFINED_CONDITION , WHEN_ANCESTOR_OF_FOCUSED_COMPONENT , WHEN_FOCUSED , WHEN_IN_FOCUSED_WINDOW |
| Ŭ·¡½º java.awt. Component ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
BOTTOM_ALIGNMENT , CENTER_ALIGNMENT , LEFT_ALIGNMENT , RIGHT_ALIGNMENT , TOP_ALIGNMENT |
| ÀÎÅÍÆäÀ̽º java.awt.image. ImageObserver ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
ABORT , ALLBITS , ERROR , FRAMEBITS , HEIGHT , PROPERTIES , SOMEBITS , WIDTH |
| »ý¼ºÀÚÀÇ °³¿ä | |
JSplitPane ()
ÄÄÆÛ³ÍÆ®ÀÇ 2 °³ÀÇ ¹öưÀ» »ç¿ëÇØ, ¿¬¼ÓÇÑ ·¹À̾ƿôÀº ¾Æ´Ï°í, ¼öÆò ¹æÇâÀ¸·Î ¾ÆÀÌ ÄÄÆÛ³ÍÆ®°¡ ÁÙ¼µµ·Ï(µíÀÌ) ¼³Á¤µÈ »õ·Î¿î JSplitPane ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
JSplitPane (int newOrientation)
ÁöÁ¤µÈ ¹æÇâÀ¸·Î, ¿¬¼ÓÇÑ ·¹À̾ƿôÀº ¾Æ´Ï°í ¼³Á¤µÈ, »õ·Î¿î JSplitPane ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
JSplitPane (int newOrientation,
boolean newContinuousLayout)
¹æÇâ°ú ÀçÇ¥ÇöÀÇ ½ºÅ¸ÀÏÀ» ÁöÁ¤ÇØ »õ·Î¿î JSplitPane ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
JSplitPane (int newOrientation,
boolean newContinuousLayout,
Component newLeftComponent,
Component newRightComponent)
¹æÇâ, ÀçÇ¥Çö ½ºÅ¸ÀÏ, ÄÄÆÛ³ÍÆ®¸¦ ÁöÁ¤ÇØ »õ·Î¿î JSplitPane ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
JSplitPane (int newOrientation,
Component newLeftComponent,
Component newRightComponent)
¹æÇâ°ú ¿¬¼ÓÇÑ ÀçÇ¥Çö¸¦ ½Ç½ÃÇÏÁö ¾Ê´Â ÄÄÆÛ³ÍÆ®¸¦ ÁöÁ¤ÇØ »õ·Î¿î JSplitPane ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
| ¸Þ¼ÒµåÀÇ °³¿ä | |
protected void |
addImpl (Component comp,
Object constraints,
int index)
ÀÌ ½ºÇÁ¸´Æ®ÀÎÀ¸·Î ÁöÁ¤ÇÑ ÄÄÆÛ³ÍÆ®¸¦ Ãß°¡ÇÕ´Ï´Ù. |
AccessibleContext |
getAccessibleContext ()
ÀÌ JSplitPane ¿¡ °ü·ÃÇÑ AccessibleContext ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
Component |
getBottomComponent ()
µð¹ÙÀÌ´õ¾Æ·¡ ¶Ç´Â ¿À¸¥ÂÊÀÇ ÄÄÆÛ³ÍÆ®¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getDividerLocation ()
setDividerLocation ¿¡°Ô °Ç³×Áø ÃÖÁ¾Ä¡¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getDividerSize ()
µð¹ÙÀÌ´õÀÇ »çÀÌÁ µ¹·ÁÁÝ´Ï´Ù. |
int |
getLastDividerLocation ()
µð¹ÙÀÌ´õ°¡ ³õ¿©Á® ÀÖ´ø ÀÌÀüÀÇ À§Ä¡¸¦ µ¹·ÁÁÝ´Ï´Ù. |
Component |
getLeftComponent ()
µð¹ÙÀÌ´õÀÇ ¿ÞÂÊ (À§)¿¡ ÀÖ´Â ÄÄÆÛ³ÍÆ®¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getMaximumDividerLocation ()
Look & Feel ÀÇ ±¸ÇöÀ¸·ÎºÎÅÍ µð¹ÙÀÌ´õÀÇ ÃÖ´ëÀÇ À§Ä¡¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getMinimumDividerLocation ()
Look & Feel ÀÇ ±¸ÇöÀ¸·ÎºÎÅÍ µð¹ÙÀÌ´õÀÇ ÃÖ¼ÒÀÇ À§Ä¡¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getOrientation ()
¹æÇâÀ» µ¹·ÁÁÝ´Ï´Ù. |
double |
getResizeWeight ()
¿©ºÐÀÇ ½ºÆäÀ̽ºÀÇ ¹èºÐ ¹æ¹ýÀ» °áÁ¤ÇÏ´Â ¼ö¸¦ µ¹·ÁÁÝ´Ï´Ù. |
Component |
getRightComponent ()
µð¹ÙÀÌ´õÀÇ ¿À¸¥ÂÊ (¶Ç´Â ¾Æ·¡)ÀÇ ÄÄÆÛ³ÍÆ®¸¦ µ¹·ÁÁÝ´Ï´Ù. |
Component |
getTopComponent ()
µð¹ÙÀÌ´õ À§ ¶Ç´Â ¿ÞÂÊÀÇ ÄÄÆÛ³ÍÆ®¸¦ µ¹·ÁÁÝ´Ï´Ù. |
SplitPaneUI |
getUI ()
ÇöÀçÀÇ Look & Feel ¸¦ Á¦°øÇϰí ÀÖ´Â SplitPaneUI ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
String |
getUIClassID ()
ÀÌ ÄÄÆÛ³ÍÆ®¸¦ Ç¥Çö ÇÏ´Â L&F Ŭ·¡½ºÀÇ À̸§À» µ¹·ÁÁÝ´Ï´Ù. |
boolean |
isContinuousLayout ()
continuousLayout ÀÇ ÇÁ·ÎÆÛƼ¸¦ ÃëµæÇÕ´Ï´Ù. |
boolean |
isOneTouchExpandable ()
oneTouchExpandable ÇÁ·ÎÆÛƼ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
boolean |
isValidateRoot ()
true ¸¦ µ¹·ÁÁÖ¸é(ÀÚ), JSplitPane ÀÇ ÇÏÀ§ ¿ÀºêÁ§Æ®·Î revalidate ¸¦ ºÒ·Á °¡,JSplitPane ¿Í ±× ¸ðµç ÇÏÀ§ ¿ÀºêÁ§Æ®¸¦ °ËÁõÇÏ´Â ¿ä±¸°¡ Å¥¿¡ ³Ö¾îÁý´Ï´Ù. |
protected void |
paintChildren (Graphics g)
º¸´õÀÇ paint¿Í ÇÔ²², ½´ÆÛ Ŭ·¡½º¿¡ ¸Þ¼¼Áö°¡ º¸³»Áø ÈÄ¿¡, finishedPaintingChildren ¸¦ °¡Áö´Â UI ¿¡ ¸Þ¼¼Áö¸¦ º¸³»±â À§Çؼ(¶§¹®¿¡) ¼ºê Ŭ·¡½ºÈ µË´Ï´Ù. |
protected String |
paramString ()
ÀÌ JSplitPane ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» µ¹·ÁÁÝ´Ï´Ù. |
void |
remove (Component component)
¾ÆÀÌ ÄÄÆÛ³ÍÆ® component ¸¦ ±¸È¹À¸·ÎºÎÅÍ »èÁ¦ÇÕ´Ï´Ù. |
void |
remove (int index)
ÁöÁ¤µÈ À妽ºÀÇ Component ¸¦ »èÁ¦ÇÕ´Ï´Ù. |
void |
removeAll ()
½ºÇÁ¸´Æ®ÀÎÀ¸·ÎºÎÅÍ ¸ðµç ¾ÆÀÌ ÄÄÆÛ³ÍÆ®¸¦ »èÁ¦ÇÕ´Ï´Ù. |
void |
resetToPreferredSizes ()
¾ÆÀÌ ÄÄÆÛ³ÍÆ®ÀÇ Ãßõ »çÀÌÁî¿¡ ±Ù°ÅÇØ JSplitPane ·¹À̾ƿôÀ» ¹èÄ¡ÇÕ´Ï´Ù. |
void |
setBottomComponent (Component comp)
ÄÄÆÛ³ÍÆ®¸¦ µð¹ÙÀÌ´õ¾Æ·¡ ¶Ç´Â ¿À¸¥ÂÊÀ¸·Î ¼³Á¤ÇÕ´Ï´Ù. |
void |
setContinuousLayout (boolean newContinuousLayout)
continuousLayout ÇÁ·ÎÆÛƼÀÇ °ªÀ» ¼³Á¤ÇÕ´Ï´Ù. |
void |
setDividerLocation (double proportionalLocation)
JSplitPane ÀÇ »çÀÌÁîÀÇ ÆÛ¼¾Æ¼Áö·Î µð¹ÙÀÌ´õÀÇ À§Ä¡¸¦ ¼³Á¤ÇÕ´Ï´Ù.
|
void |
setDividerLocation (int location)
µð¹ÙÀÌ´õÀÇ À§Ä¡¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
void |
setDividerSize (int newSize)
µð¹ÙÀÌ´õÀÇ »çÀÌÁ ¼³Á¤ÇÕ´Ï´Ù. |
void |
setLastDividerLocation (int newLastLocation)
ÀÌÀü¿¡ µð¹ÙÀÌ´õ°¡ ³õ¿©Á® ÀÖ´ø À§Ä¡¸¦ newLastLocation À¸·Î ¼³Á¤ÇÕ´Ï´Ù. |
void |
setLeftComponent (Component comp)
ÄÄÆÛ³ÍÆ®¸¦ µð¹ÙÀÌ´õÀÇ ¿ÞÂÊ (À§)À¸·Î ¼³Á¤ÇÕ´Ï´Ù. |
void |
setOneTouchExpandable (boolean newValue)
oneTouchExpandable ÇÁ·ÎÆÛƼÀÇ °ªÀ» ¼³Á¤ÇÕ´Ï´Ù. |
void |
setOrientation (int orientation)
¹æÇâ, ¶Ç´Â ½ºÇø®ÅͰ¡ ¾î¶»°Ô ºÐÇҵǴÂÁö¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
void |
setResizeWeight (double value)
½ºÇÁ¸´Æ®ÀÎÀÌ º¯°æµÇ¾úÀ» ¶§ÀÇ ¿©ºÐÀÇ ½ºÆäÀ̽ºÀÇ ¹èºÐ ¹æ¹ýÀ» ÁöÁ¤ÇÕ´Ï´Ù. |
void |
setRightComponent (Component comp)
µð¹ÙÀÌ´õÀÇ ¿À¸¥ÂÊ (¶Ç´Â ¾Æ·¡)ÀÇ ÄÄÆÛ³ÍÆ®¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
void |
setTopComponent (Component comp)
ÄÄÆÛ³ÍÆ®¸¦ µð¹ÙÀÌ´õ À§ ¶Ç´Â ¿ÞÂÊÀ¸·Î ¼³Á¤ÇÕ´Ï´Ù. |
void |
setUI (SplitPaneUI ui)
ÀÌ ÄÄÆÛ³ÍÆ®¸¦ Ç¥Çö ÇÏ´Â L&F ¿ÀºêÁ§Æ®¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
void |
updateUI ()
L&F °¡ º¯°æµÇ¾ú´Ù°í ÇÏ´Â UIManager ·ÎºÎÅÍÀÇ ÅëÁöÀÔ´Ï´Ù. |
| Ŭ·¡½º java.awt. Container ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
add , add , add , add , add , addContainerListener , applyComponentOrientation , areFocusTraversalKeysSet , countComponents , deliverEvent , doLayout , findComponentAt , findComponentAt , getComponent , getComponentAt , getComponentAt , getComponentCount , getComponents , getContainerListeners , getFocusTraversalKeys , getFocusTraversalPolicy , getLayout , insets , invalidate , isAncestorOf , isFocusCycleRoot , isFocusCycleRoot , isFocusTraversalPolicySet , layout , list , list , locate , minimumSize , paintComponents , preferredSize , printComponents , processContainerEvent , processEvent , removeContainerListener , setFocusCycleRoot , setFocusTraversalKeys , setFocusTraversalPolicy , setLayout , transferFocusBackward , transferFocusDownCycle , validate , validateTree |
| Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
| ÇʵåÀÇ »ó¼¼ |
public static final int VERTICAL_SPLIT
Component °¡ y ÃàÀ¸·Î µû¶ó ºÐÇҵǴ °ÍÀ» ³ªÅ¸³À´Ï´Ù. ¿¹¸¦ µé¾î 2 °³ÀÇ Component °¡ »óÇÏ¿¡ ÁÙ¼µµ·Ï(µíÀÌ) ºÐÇҵǴ °ÍÀ» ³ªÅ¸³À´Ï´Ù.
public static final int HORIZONTAL_SPLIT
Component °¡ x ÃàÀ¸·Î µû¶ó ºÐÇҵǴ °ÍÀ» ³ªÅ¸³À´Ï´Ù. ¿¹¸¦ µé¾î 2 °³ÀÇ Component °¡ Á¿쿡 ÁÙ¼µµ·Ï(µíÀÌ) ºÐÇҵǴ °ÍÀ» ³ªÅ¸³À´Ï´Ù.
public static final String LEFT
Component ¸¦ ÀÌÁ¦(¹ú½á) ÇÑÆíÀÇ Component ÀÇ ¿ÞÂÊÀ¸·Î Ãß°¡ÇÒ °æ¿ì¿¡ »ç¿ëÇÕ´Ï´Ù.
public static final String RIGHT
Component ¸¦ ÀÌÁ¦(¹ú½á) ÇÑÆíÀÇ Component ÀÇ ¿À¸¥ÂÊÀ¸·Î Ãß°¡ÇÒ °æ¿ì¿¡ »ç¿ëÇÕ´Ï´Ù.
public static final String TOP
Component ¸¦ ÀÌÁ¦(¹ú½á) ÇÑÆíÀÇ Component À§¿¡ Ãß°¡ÇÒ °æ¿ì¿¡ »ç¿ëÇÕ´Ï´Ù.
public static final String BOTTOM
Component ¸¦ ÀÌÁ¦(¹ú½á) ÇÑÆíÀÇ Component ¾Æ·¡¿¡ Ãß°¡ÇÒ °æ¿ì¿¡ »ç¿ëÇÕ´Ï´Ù.
public static final String DIVIDER
Component ¸¦ Ãß°¡ÇÒ °æ¿ì¿¡ »ç¿ëÇÕ´Ï´Ù.
public static final String ORIENTATION_PROPERTY
public static final String CONTINUOUS_LAYOUT_PROPERTY
public static final String DIVIDER_SIZE_PROPERTY
public static final String ONE_TOUCH_EXPANDABLE_PROPERTY
public static final String LAST_DIVIDER_LOCATION_PROPERTY
public static final String DIVIDER_LOCATION_PROPERTY
public static final String RESIZE_WEIGHT_PROPERTY
protected int orientation
protected boolean continuousLayout
protected Component leftComponent
protected Component rightComponent
protected int dividerSize
protected boolean oneTouchExpandable
protected int lastDividerLocation
| »ý¼ºÀÚÀÇ »ó¼¼ |
public JSplitPane()
JSplitPane ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
public JSplitPane(int newOrientation)
JSplitPane ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
newOrientation - JSplitPane.HORIZONTAL_SPLIT ¶Ç´Â JSplitPane.VERTICAL_SPLIT
IllegalArgumentException - orientation °¡ HORIZONTAL_SPLIT ¶Ç´Â VERTICAL_SPLIT ÀÇ ¾î´À ÂÊÀÎÁö ³ª¿ÀÁö ¾Ê´Â °æ¿ì
public JSplitPane(int newOrientation,
boolean newContinuousLayout)
JSplitPane ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
newOrientation - JSplitPane.HORIZONTAL_SPLIT ¶Ç´Â JSplitPane.VERTICAL_SPLITnewContinuousLayout - boolean Ä¡. µð¹ÙÀÌ´õÀÇ À§Ä¡°¡ º¯°æµÉ ¶§, ÄÄÆÛ³ÍÆ®°¡ ¿¬¼ÓÇØ ÀçÇ¥Çö µÇµµ·Ï(µíÀÌ) ÇÏ´Â °æ¿ì´Â true. µð¹ÙÀÌ´õÀÇ À§Ä¡ÀÇ º¯°æÀÌ ÁßÁöµÉ ¶§±îÁö ÀçÇ¥Çö¿¡ ´ë±âÇÏ´Â °æ¿ì´Â false
IllegalArgumentException - orientation °¡ HORIZONTAL_SPLIT ¶Ç´Â VERTICAL_SPLIT ÀÇ ¾î´À ÂÊÀÎÁö ³ª¿ÀÁö ¾Ê´Â °æ¿ì
public JSplitPane(int newOrientation,
Component newLeftComponent,
Component newRightComponent)
JSplitPane ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
newOrientation - JSplitPane.HORIZONTAL_SPLIT ¶Ç´Â JSplitPane.VERTICAL_SPLITnewLeftComponent - ¼öÆò ¹æÇâÀ¸·Î ºÐÇÒµÈ ±¸È¹ÀÇ ¿ÞÂÊ, ¶Ç´Â ¼öÁ÷ ¹æÇâÀ¸·Î ºÐÇÒµÈ ±¸È¹ ÈÄ¿¡ Ç¥½ÃµÇ´Â ComponentnewRightComponent - ¼öÆò ¹æÇâÀ¸·Î ºÐÇÒµÈ ±¸È¹ÀÇ ¿À¸¥ÂÊ, ¶Ç´Â ¼öÁ÷ ¹æÇâÀ¸·Î ºÐÇÒµÈ ±¸È¹¾Æ·¡¿¡ Ç¥½ÃµÇ´Â Component
IllegalArgumentException - orientation °¡ HORIZONTAL_SPLIT ¶Ç´Â VERTICAL_SPLIT ÀÇ ¾î´À ÂÊÀÎÁö ³ª¿ÀÁö ¾Ê´Â °æ¿ì
public JSplitPane(int newOrientation,
boolean newContinuousLayout,
Component newLeftComponent,
Component newRightComponent)
JSplitPane ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
newOrientation - JSplitPane.HORIZONTAL_SPLIT ¶Ç´Â JSplitPane.VERTICAL_SPLITnewContinuousLayout - boolean Ä¡. µð¹ÙÀÌ´õÀÇ À§Ä¡°¡ º¯°æµÉ ¶§, ÄÄÆÛ³ÍÆ®°¡ ¿¬¼ÓÇØ ÀçÇ¥Çö µÇµµ·Ï(µíÀÌ) ÇÏ´Â °æ¿ì´Â true. µð¹ÙÀÌ´õÀÇ À§Ä¡ÀÇ º¯°æÀÌ ÁßÁöµÉ ¶§±îÁö ÀçÇ¥Çö¿¡ ´ë±âÇÏ´Â °æ¿ì´Â falsenewLeftComponent - ¼öÆò ¹æÇâÀ¸·Î ºÐÇÒµÈ ±¸È¹ÀÇ ¿ÞÂÊ, ¶Ç´Â ¼öÁ÷ ¹æÇâÀ¸·Î ºÐÇÒµÈ ±¸È¹ ÈÄ¿¡ Ç¥½ÃµÇ´Â ComponentnewRightComponent - ¼öÆò ¹æÇâÀ¸·Î ºÐÇÒµÈ ±¸È¹ÀÇ ¿À¸¥ÂÊ, ¶Ç´Â ¼öÁ÷ ¹æÇâÀ¸·Î ºÐÇÒµÈ ±¸È¹¾Æ·¡¿¡ Ç¥½ÃµÇ´Â Component
IllegalArgumentException - orientation °¡ HORIZONTAL_SPLIT ¶Ç´Â VERTICAL_SPLIT ÀÇ ¾î´À ÂÊÀÎÁö ³ª¿ÀÁö ¾Ê´Â °æ¿ì| ¸Þ¼ÒµåÀÇ »ó¼¼ |
public void setUI(SplitPaneUI ui)
ui - SplitPaneUI L&F ¿ÀºêÁ§Æ®UIDefaults.getUI(javax.swing.JComponent) public SplitPaneUI getUI()
SplitPaneUI ¸¦ µ¹·ÁÁÝ´Ï´Ù.
SplitPaneUI ¿ÀºêÁ§Æ®public void updateUI()
UIManager ·ÎºÎÅÍÀÇ ÅëÁöÀÔ´Ï´Ù. ÇöÀçÀÇ UI ¿ÀºêÁ§Æ®¸¦ UIManager ·ÎºÎÅÍÀÇ ÃֽйöÁ¯¿¡ ¿Å°Ü³õ½À´Ï´Ù.
JComponent ³»ÀÇ updateUI JComponent.updateUI() public String getUIClassID()
JComponent ³»ÀÇ getUIClassID JComponent.getUIClassID() ,
UIDefaults.getUI(javax.swing.JComponent) public void setDividerSize(int newSize)
newSize - µð¹ÙÀÌ´õÀÇ »çÀÌÁ Çȼ¿¼ö·Î ÁöÁ¤ÇÏ´Â int Ä¡public int getDividerSize()
public void setLeftComponent(Component comp)
comp - ±× À§Ä¡¿¡ Ç¥½ÃÇÏ´Â Componentpublic Component getLeftComponent()
Componentpublic void setTopComponent(Component comp)
comp - ±× À§Ä¡¿¡ Ç¥½ÃÇÏ´Â Componentpublic Component getTopComponent()
Componentpublic void setRightComponent(Component comp)
comp - ±× À§Ä¡¿¡ Ç¥½ÃÇÏ´Â Componentpublic Component getRightComponent()
Componentpublic void setBottomComponent(Component comp)
comp - ±× À§Ä¡¿¡ Ç¥½ÃÇÏ´Â Componentpublic Component getBottomComponent()
Componentpublic void setOneTouchExpandable(boolean newValue)
oneTouchExpandable ÇÁ·ÎÆÛƼÀÇ °ªÀ» ¼³Á¤ÇÕ´Ï´Ù. ÀÌ °ªÀº JSplitPane °¡ µð¹ÙÀÌ´õÀÇ UI À§Á¦Æ®¸¦ Á¦°øÇØ, µð¹ÙÀÌ´õ¸¦ ½Å¼ÓÈ÷ Àü°³/¼ö³³Çϱâ À§Çؼ,true ·Î ¼³Á¤ÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. ÀÌ ÇÁ·ÎÆÛƼÀÇ µðÆúÆ® °ªÀº false ÀÔ´Ï´Ù. ÀϺÎÀÇ Look & Feel °¡ ¿øÅÍÄ¡ÀÇ Àü°³¸¦ ¼Æ÷Æ®ÇÏÁö ¾Ê´Â °æ¿ì°¡ ÀÖ½À´Ï´Ù. ±× °æ¿ì, ÀÌ ÇÁ·ÎÆÛƼ´Â ¹«½ÃµË´Ï´Ù.
newValue - ½ºÇÁ¸´Æ®ÀÎÀÌ Àü°³/¼ö³³ À§Á¦Æ®¸¦ Á¦°øÇϵµ·Ï(µíÀÌ) ÁöÁ¤ÇÏ´Â trueisOneTouchExpandable() public boolean isOneTouchExpandable()
oneTouchExpandable ÇÁ·ÎÆÛƼ¸¦ µ¹·ÁÁÝ´Ï´Ù.
oneTouchExpandable ÇÁ·ÎÆÛƼÀÇ °ªsetOneTouchExpandable(boolean) public void setLastDividerLocation(int newLastLocation)
newLastLocation À¸·Î ¼³Á¤ÇÕ´Ï´Ù.
newLastLocation - ±¸È¹ÀÇ Á (¶Ç´Â »ó)´ÜÀ¸·ÎºÎÅÍ µð¹ÙÀÌ´õÀÇ Á (¶Ç´Â »ó)´Ü±îÁöÀÇ, µð¹ÙÀÌ´õÀÇ ÀÌÀüÀÇ À§Ä¡¸¦ Çȼ¿¼ö·Î ÁöÁ¤ÇÏ´Â int Ä¡public int getLastDividerLocation()
public void setOrientation(int orientation)
orientation - ¹æÇâÀ» ÁöÁ¤ÇÏ´Â Á¤¼öÄ¡
IllegalArgumentException - ¹æÇâÀÌ HORIZONTAL_SPLIT ¶Ç´Â VERTICAL_SPLIT ÀÇ ¾î´À ÂÊÀÎÁö ³ª¿ÀÁö ¾Ê´Â °æ¿ìpublic int getOrientation()
setOrientation(int) public void setContinuousLayout(boolean newContinuousLayout)
continuousLayout ÇÁ·ÎÆÛƼÀÇ °ªÀ» ¼³Á¤ÇÕ´Ï´Ù. ÀÌ °ªÀº À¯Àú°¡ Á¶ÀÛÇßÀ» ¶§¿¡ ¾ÆÀÌ ÄÄÆÛ³ÍÆ®°¡ ¿¬¼ÓÀûÀ¸·Î ÀçÇ¥Çö µÇ¾î ¹èÄ¡µÇµµ·Ï(µíÀÌ) true ·Î ¼³Á¤ÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. ÀÌ ÇÁ·ÎÆÛƼÀÇ µðÆúÆ®ÀÇ °ªÀº false ÀÔ´Ï´Ù. ÀϺÎÀÇ Look & Feel ´Â ¿¬¼ÓÇÑ ·¹À̾ƿôÀ» ¼Æ÷Æ®Çϰí ÀÖ½À´Ï´Ù. ±× °æ¿ì, ÀÌ ÇÁ·ÎÆÛƼ´Â ¹«½ÃµË´Ï´Ù.
newContinuousLayout - µð¹ÙÀÌ´õÀÇ À§Ä¡°¡ º¯°æµÇ¾úÀ» ¶§¿¡ ÄÄÆÛ³ÍÆ®°¡ ¿¬¼ÓÀûÀ¸·Î ÀçÇ¥Çö µÇ´Â °æ¿ì´Â trueisContinuousLayout() public boolean isContinuousLayout()
continuousLayout ÀÇ ÇÁ·ÎÆÛƼ¸¦ ÃëµæÇÕ´Ï´Ù.
continuousLayout ÀÇ ÇÁ·ÎÆÛƼÀÇ °ªsetContinuousLayout(boolean) public void setResizeWeight(double value)
value - »ó±â´ë·Î
IllegalArgumentException - value °¡ 0 ¶Ç´Â 1 ÀÇ °æ¿ìpublic double getResizeWeight()
public void resetToPreferredSizes()
JSplitPane ·¹À̾ƿôÀ» ¹èÄ¡ÇÕ´Ï´Ù. Åë»óÀº À̰Ϳ¡ ÀÇÇØ µð¹ÙÀÌ´õÀÇ À§Ä¡°¡ ¹Ù²ò´Ï´Ù.
public void setDividerLocation(double proportionalLocation)
JSplitPane ÀÇ »çÀÌÁîÀÇ ÆÛ¼¾Æ¼Áö·Î µð¹ÙÀÌ´õÀÇ À§Ä¡¸¦ ¼³Á¤ÇÕ´Ï´Ù.
ÀÌ ¸Þ¼Òµå´Â setDividerLocation(int) ¿¡ ±Ù°ÅÇØ ±¸ÇöµË´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â ÇöÀçÀÇ »çÀÌÁî¿¡ ±Ù°ÅÇØ ½ºÇÁ¸´Æ®ÀÎÀÇ »çÀÌÁ Áï½Ã º¯°æÇÕ´Ï´Ù. ½ºÇÁ¸´Æ®ÀÎÀÌ ½ºÅ©¸°»ó¿¡¼ ¿Ã¹Ù¸£°Ô ½ÇÇöµÇÁö ¾Ê´Â °æ¿ì, »õ·Î¿î µð¹ÙÀÌ´õÀÇ À§Ä¡´Â ÇöÀçÀÇ »çÀÌÁî * proportionalLocation °¡ 0 ÀÌ µÇ¾î, ÀÌ ¸Þ¼ÒµåÀÇ È¿°ú´Â ¾ø½À´Ï´Ù.
proportionalLocation - 0 (À§ ¶Ç´Â ¿ÞÂÊ)¿¡¼ 1.0 (¾Æ·¡ ¶Ç´Â ¿À¸¥ÂÊ)±îÁöÀÇ ÆÛ¼¾Æ¼Áö¸¦ ÁöÁ¤ÇÏ´Â ¹èÁ¤¹Ðµµ ºÎµ¿ ¼Ò¼öÁ¡Ä¡
IllegalArgumentException - ÁöÁ¤µÈ À§Ä¡°¡ 0 ¶Ç´Â 1.0 ÀÎ °æ¿ìpublic void setDividerLocation(int location)
setLastDividerLocation ¿¡ ÀÇÇØ º¯°æµË´Ï´Ù.
location - UI °íÀ¯ÀÇ °ª (Åë»óÀº Çȼ¿¼ö)À» ÁöÁ¤ÇÏ´Â int Ä¡public int getDividerLocation()
setDividerLocation ¿¡°Ô °Ç³×Áø ÃÖÁ¾Ä¡¸¦ µ¹·ÁÁÝ´Ï´Ù. ÀÌ ¸Þ¼Òµå·Î µ¹·ÁÁÖ¾îÁø °ªÀº setDividerLocation ¿¡°Ô °Ç³×Áø °ªÀÌ ÇöÀçÀÇ »çÀÌÁ´Ù Å« °æ¿ì´Â ½ÇÁ¦ÀÇ µð¹ÙÀÌ´õÀÇ À§Ä¡¿Í ´Ù¸¥ °æ¿ì°¡ ÀÖ½À´Ï´Ù.
public int getMinimumDividerLocation()
null ÀÇ °æ¿ì´Â -1public int getMaximumDividerLocation()
null ÀÇ °æ¿ì´Â -1public void remove(Component component)
component ¸¦ ±¸È¹À¸·ÎºÎÅÍ »èÁ¦ÇÕ´Ï´Ù. Çʿ信 µû¶ó¼,leftComponent ¶Ç´Â rightComponent ÀνºÅϽº º¯¼ö¸¦ ¸®¼ÂÆ® ÇÕ´Ï´Ù.
Container ³»ÀÇ remove component - »èÁ¦ÇÏ´Â ComponentContainer.add(java.awt.Component) public void remove(int index)
Component ¸¦ »èÁ¦ÇÕ´Ï´Ù. Çʿ信 µû¶ó¼,leftComponent ¹× rightComponent ÀνºÅϽº º¯¼ö¸¦ º¯°æÇÏ°í ³ª¼, ½´ÆÛ Ŭ·¡½º¿¡ ¸Þ¼¼Áö¸¦ º¸³À´Ï´Ù.
Container ³»ÀÇ remove index - »èÁ¦ÇÏ´Â ÄÄÆÛ³ÍÆ®¸¦ ÁöÁ¤ÇÏ´Â int Ä¡. 1 ¿¡¼´Â ¿ÞÂÊ ¶Ç´Â À§ÀÇ ÄÄÆÛ³ÍÆ®°¡ ÁöÁ¤µÇ¾î 2 ¿¡¼´Â ¾Æ·¡ ¶Ç´Â ¿À¸¥ÂÊÀÇ ÄÄÆÛ³ÍÆ®°¡ ÁöÁ¤µÇ´ÂContainer.add(java.awt.Component) public void removeAll()
leftComonent ¹× rightComponent ÀνºÅϽº º¯¼ö¸¦ ¸®¼ÂÆ® ÇÕ´Ï´Ù.
Container ³»ÀÇ removeAll Container.add(java.awt.Component) ,
Container.remove(int) public boolean isValidateRoot()
JSplitPane ÀÇ ÇÏÀ§ ¿ÀºêÁ§Æ®·Î revalidate ¸¦ ºÒ·Á °¡,JSplitPane ¿Í ±× ¸ðµç ÇÏÀ§ ¿ÀºêÁ§Æ®¸¦ °ËÁõÇÏ´Â ¿ä±¸°¡ Å¥¿¡ ³Ö¾îÁý´Ï´Ù.
JComponent ³»ÀÇ isValidateRoot JComponent.revalidate()
protected void addImpl(Component comp,
Object constraints,
int index)
constraints °¡ ¿ÞÂÊ ¶Ç´Â À§ ȤÀº ¿À¸¥ÂÊ ¶Ç´Â ¾Æ·¡ÀÇ ¾ÆÀÌ ÄÄÆÛ³ÍÆ®¸¦ ½Äº°ÇØ, ±× ½Äº°ÀÚ¸¦ °¡Áö´Â ÄÄÆÛ³ÍÆ®°¡ ÀÌÀü¿¡ Ãß°¡µÇ°í ÀÖ´Â °æ¿ì´Â ±×°ÍÀ» »èÁ¦ÇÏ°í ³ª¼, ±× À§Ä¡¿¡ comp ¸¦ Ãß°¡ÇÕ´Ï´Ù. constraints °¡ ±âÁ¸ÀÇ ½Äº°ÀÚ°¡ ¾Æ´Ñ °æ¿ì, ·¹À̾ƿô ¸Å´ÏÀú´Â IllegalArgumentException ¸¦ ½½·Î¿ì ÇÕ´Ï´Ù.
ÁöÁ¤ÇÒ ¼ö ÀÖ´Â Á¦¾à ¿ÀºêÁ§Æ® (String)´Â ´ÙÀ½°ú °°½À´Ï´Ù.
constraints ¿ÀºêÁ§Æ®°¡ null ÀÇ °æ¿ì, ÀÌ¿ë °¡´ÉÇÑ ÃÖÃÊÀÇ À§Ä¡¿¡ ÄÄÆÛ³ÍÆ®°¡ Ãß°¡µË´Ï´Ù (¿·Á ÀÖ´Â °æ¿ì´Â ¿ÞÂÊ ¶Ç´Â À§, ±×·¸Áö ¾ÊÀº °æ¿ì´Â ¿À¸¥ÂÊ ¶Ç´Â ¾Æ·¡).
Container ³»ÀÇ addImpl comp - Ãß°¡ÇÏ´Â ÄÄÆÛ³ÍÆ®constraints - ÄÄÆÛ³ÍÆ®ÀÇ ·¹À̾ƿô Á¦¾à (À§Ä¡)À» ÁöÁ¤ÇÏ´Â Objectindex - ÄÁÅ×ÀÌ³Ê ¸®½ºÆ®³»ÀÇ À妽º¸¦ ÁöÁ¤ÇÏ´Â int Ä¡
IllegalArgumentException - constraints ¿ÀºêÁ§Æ®°¡ ±âÁ¸ÀÇ ÄÄÆÛ³ÍÆ®¿¡ ÀÏÄ¡ÇÏÁö ¾Ê´Â °æ¿ìContainer.addImpl(Component, Object, int) protected void paintChildren(Graphics g)
finishedPaintingChildren ¸¦ °¡Áö´Â UI ¿¡ ¸Þ¼¼Áö¸¦ º¸³»±â À§Çؼ(¶§¹®¿¡) ¼ºê Ŭ·¡½ºÈ µË´Ï´Ù.
JComponent ³»ÀÇ paintChildren g - paint ÇÏ´Â Graphics ¹®¸ÆJComponent.paint(java.awt.Graphics) ,
Container.paint(java.awt.Graphics) protected String paramString()
JSplitPane ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» µ¹·ÁÁÝ´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â µð¹ö±× Àü¿ëÀ̸ç, µ¹·ÁÁÖ¾îÁö´Â ij¸¯ÅÍ ¶óÀÎÀÇ ³»¿ë ¹× Çü½ÄÀº ±¸Çö¿¡ µû¶ó¼ ´Ù¸¨´Ï´Ù. µ¹·ÁÁÖ¾îÁö´Â ij¸¯ÅÍ ¶óÀÎÀº ºñ¾úÀ» °æ¿ì°¡ ÀÖ½À´Ï´Ù¸¸,null ·Î´Â µÇÁö ¾Ê½À´Ï´Ù.
JComponent ³»ÀÇ paramString JSplitPane ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöpublic AccessibleContext getAccessibleContext()
Accessible ³»ÀÇ getAccessibleContext JComponent ³»ÀÇ getAccessibleContext
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
| ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå | ||||||||||
Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ ÀÖ¾î¼ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.