|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.plaf.ComponentUI | +--javax.swing.plaf.SplitPaneUI | +--javax.swing.plaf.basic.BasicSplitPaneUI
SplitPaneUI ÀÇ ±âº» Look & Feel ¿¡ ÀÇÇÑ ±¸ÇöÀÔ´Ï´Ù.
ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä | |
class |
BasicSplitPaneUI.BasicHorizontalLayoutManager
HORIZONTAL_SPLIT ¹æÇâÀÇ JSplitPane ÀÇ LayoutManager ÀÔ´Ï´Ù. |
class |
BasicSplitPaneUI.BasicVerticalLayoutManager
VERTICAL_SPLIT ¹æÇâÀÇ JSplitPane ¿¡ »ç¿ëµÇ´Â LayoutManager ÀÔ´Ï´Ù. |
class |
BasicSplitPaneUI.FocusHandler
JSplitPane UI °¡ »ç¿ëÇÏ´Â FocusListener ÀÇ ±¸ÇöÀÔ´Ï´Ù. |
class |
BasicSplitPaneUI.KeyboardDownRightHandler
JSplitPane UI °¡ ƯÁ¤ÀÇ Å°ÀÇ ¾ÐÇϸ¦ ó¸®Çϱâ À§Çؼ »ç¿ëÇÏ´Â ActionListener ÀÇ ±¸ÇöÀÔ´Ï´Ù. |
class |
BasicSplitPaneUI.KeyboardEndHandler
JSplitPane UI °¡ ƯÁ¤ÀÇ Å°ÀÇ ¾ÐÇϸ¦ ó¸®Çϱâ À§Çؼ »ç¿ëÇÏ´Â ActionListener ÀÇ ±¸ÇöÀÔ´Ï´Ù. |
class |
BasicSplitPaneUI.KeyboardHomeHandler
JSplitPane UI °¡ ƯÁ¤ÀÇ Å°ÀÇ ¾ÐÇϸ¦ ó¸®Çϱâ À§Çؼ »ç¿ëÇÏ´Â ActionListener ÀÇ ±¸ÇöÀÔ´Ï´Ù. |
class |
BasicSplitPaneUI.KeyboardResizeToggleHandler
JSplitPane UI °¡ ƯÁ¤ÀÇ Å°ÀÇ ¾ÐÇϸ¦ ó¸®Çϱâ À§Çؼ »ç¿ëÇÏ´Â ActionListener ÀÇ ±¸ÇöÀÔ´Ï´Ù. |
class |
BasicSplitPaneUI.KeyboardUpLeftHandler
JSplitPane UI °¡ ƯÁ¤ÀÇ Å°ÀÇ ¾ÐÇϸ¦ ó¸®Çϱâ À§Çؼ »ç¿ëÇÏ´Â ActionListener ÀÇ ±¸ÇöÀÔ´Ï´Ù. |
class |
BasicSplitPaneUI.PropertyHandler
JSplitPane UI °¡ »ç¿ëÇÏ´Â PropertyChangeListener ÀÇ ±¸ÇöÀÔ´Ï´Ù. |
ÇʵåÀÇ °³¿ä | |
protected int |
beginDragDividerLocation
µå·¯±× ¼¼¼ÇÀÌ °³½ÃµÇ¾úÀ» ¶§ÀÇ µð¹ÙÀÌ´õÀÇ À§Ä¡ÀÔ´Ï´Ù. |
protected BasicSplitPaneDivider |
divider
ÀÌ JSplitPane ÀÇ µð¹ÙÀÌ´õÀÇ ÀνºÅϽºÀÔ´Ï´Ù. |
protected KeyStroke |
dividerResizeToggleKey
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected int |
dividerSize
µå·¯±× ¼¼¼ÇÀÌ À¯È¿ÇÑ ¶§ÀÇ µð¹ÙÀÌ´õÀÇ »çÀÌÁîÀÔ´Ï´Ù. |
protected KeyStroke |
downKey
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected boolean |
draggingHW
¾ÆÀÌ (nonContinuousLayoutDivider ¸¦ Á¦¿ÜÇÑ´Ù)ÀÇ ¾î¶² °ÍÀΰ¡°¡ Áß·® ÄÄÆÛ³ÍÆ®ÀÎ °æ¿ì¿¡ startDragging ·Î true ·Î ¼³Á¤µË´Ï´Ù. |
protected KeyStroke |
endKey
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected FocusListener |
focusListener
ÀÌ JSplitPane ÀÇ FocusListener ÀÇ ÀνºÅϽºÀÔ´Ï´Ù. |
protected KeyStroke |
homeKey
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected static int |
KEYBOARD_DIVIDER_MOVE_OFFSET
Űº¸µåÀÇ Ä¿¼ Ű·Î À̵¿ÇÒ °æ¿ì¿¡ µð¹ÙÀÌ´õ°¡ À̵¿ÇÏ´Â »ó´ëÀûÀÎ °Å¸®ÀÔ´Ï´Ù. |
protected ActionListener |
keyboardDownRightListener
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected ActionListener |
keyboardEndListener
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected ActionListener |
keyboardHomeListener
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected ActionListener |
keyboardResizeToggleListener
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected ActionListener |
keyboardUpLeftListener
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected BasicSplitPaneUI.BasicHorizontalLayoutManager |
layoutManager
½ºÇÁ¸´Æ®ÆäÀο¡ ÀÛ¼º ¹× ¹èÄ¡µÇ´Â LayoutManager ÀÔ´Ï´Ù. |
protected KeyStroke |
leftKey
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected static String |
NON_CONTINUOUS_DIVIDER
ºñ¿¬¼Ó ·¹À̾ƿô¿¡ »ç¿ëµÇ´Â µð¹ÙÀÌ´õ°¡, ÀÌ ¿ÀºêÁ§Æ®¸¦ °¡Áö´Â ½ºÇÁ¸´Æ®ÆäÀο¡ Ãß°¡µË´Ï´Ù. |
protected Component |
nonContinuousLayoutDivider
ºñ¿¬¼Ó ·¹À̾ƿôÀÌ »ç¿ëµÇ°í ÀÖÀ» ¶§ÀÇ µð¹ÙÀÌ´õÀÇ À½¿µÀÇ ÀνºÅϽºÀÔ´Ï´Ù. |
protected PropertyChangeListener |
propertyChangeListener
ÀÌ JSplitPane ÀÇ PropertyChangeListener ÀÇ ÀνºÅϽºÀÔ´Ï´Ù. |
protected KeyStroke |
rightKey
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected JSplitPane |
splitPane
ÀÌ ÀνºÅϽº°¡ Look & Feel ¸¦ Á¦°øÇϰí ÀÖ´Â JSplitPane ÀÇ ÀνºÅϽºÀÔ´Ï´Ù. |
protected KeyStroke |
upKey
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
»ý¼ºÀÚÀÇ °³¿ä | |
BasicSplitPaneUI ()
|
¸Þ¼ÒµåÀÇ °³¿ä | |
BasicSplitPaneDivider |
createDefaultDivider ()
µðÆúÆ®ÀÇ µð¹ÙÀÌ´õ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
protected Component |
createDefaultNonContinuousLayoutDivider ()
µðÆúÆ®ÀÇ ºñ¿¬¼Ó ·¹À̾ƿôÀÇ µð¹ÙÀÌ´õ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
protected FocusListener |
createFocusListener ()
JSplitPane UI ÀÇ FocusListener ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
protected ActionListener |
createKeyboardDownRightListener ()
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected ActionListener |
createKeyboardEndListener ()
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected ActionListener |
createKeyboardHomeListener ()
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected ActionListener |
createKeyboardResizeToggleListener ()
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected ActionListener |
createKeyboardUpLeftListener ()
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡ |
protected PropertyChangeListener |
createPropertyChangeListener ()
JSplitPane UI ÀÇ PropertyChangeListener ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
static ComponentUI |
createUI (JComponent x)
BasicSplitPaneUI ÀÇ »õ·Î¿î ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù. |
protected void |
dragDividerTo (int location)
µð¹ÙÀÌ´õ¸¦ °Ç³×¹ÞÀº À§Ä¡·Î À̵¿Çϱâ À§Çؼ(¶§¹®¿¡) µå·¯±× ¼¼¼ÇÀÇ »çÀÌ¿¡ ¸Þ¼¼Áö·Î¼ º¸³»Áý´Ï´Ù. |
protected void |
finishDraggingTo (int location)
µå·¯±× ¼¼¼ÇÀ» Á¾·áÇϱâ À§Çؼ ¸Þ¼¼Áö·Î¼ º¸³»Áý´Ï´Ù. |
void |
finishedPaintingChildren (JSplitPane jc,
Graphics g)
JSplitPane ÀÇ ¼ö½ÅÃøÀÌ ±× ¾ÆÀÌ ¿ÀºêÁ§Æ®¸¦ Ç¥ÇöÇϱâ À§ÇÑ Look & Feel ¸¦ ´Ù Á¦°øÇßÀ» ¶§¿¡ , ¸Þ¼¼Áö¸¦ ¹Þ¾ÆµéÀÔ´Ï´Ù. |
BasicSplitPaneDivider |
getDivider ()
ÃÖ»óºÎÀÇ Component ÀÇ »çÀÌÀÇ µð¹ÙÀÌ´õ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
protected int |
getDividerBorderSize ()
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ¿¡¼´Â ´ë½Å¿¡ µå¶óÀ̹ö¿¡ º¸´õ¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
int |
getDividerLocation (JSplitPane jc)
µå¶óÀ̹öÀÇ À§Ä¡¸¦ µ¹·ÁÁÝ´Ï´Ù. |
Insets |
getInsets (JComponent jc)
ÀÎ ¼¼Æ®¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getLastDragLocation ()
JSplitPane ÀÇ ¸¶Áö¸· µå·¯±× À§Ä¡¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getMaximumDividerLocation (JSplitPane jc)
µð¹ÙÀÌ´õÀÇ ÃÖ´ë À§Ä¡¸¦ ÃëµæÇÕ´Ï´Ù. |
Dimension |
getMaximumSize (JComponent jc)
°Ç³×¹ÞÀº ÄÄÆÛ³ÍÆ®ÀÇ ÃÖ´ë »çÀÌÁ µ¹·ÁÁÝ´Ï´Ù. |
int |
getMinimumDividerLocation (JSplitPane jc)
µð¹ÙÀÌ´õÀÇ ÃÖ¼Ò À§Ä¡¸¦ ÃëµæÇÕ´Ï´Ù. |
Dimension |
getMinimumSize (JComponent jc)
°Ç³×¹ÞÀº ÄÄÆÛ³ÍÆ®ÀÇ ÃÖ¼Ò »çÀÌÁ µ¹·ÁÁÝ´Ï´Ù. |
Component |
getNonContinuousLayoutDivider ()
splitPane °¡ ºñ¿¬¼Ó ·¹À̾ƿôÀ¸·Î ¼³Á¤µÇ¾î ÀÖÀ» ¶§ »ç¿ëµÇ´Â µð¹ÙÀÌ´õ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getOrientation ()
JSplitPane ÀÇ ¹æÇâÀ» µ¹·ÁÁÝ´Ï´Ù. |
Dimension |
getPreferredSize (JComponent jc)
°Ç³×¹ÞÀº ÄÄÆÛ³ÍÆ®ÀÇ ÀûÀýÇÑ »çÀÌÁ µ¹·ÁÁÝ´Ï´Ù. |
JSplitPane |
getSplitPane ()
ÀÌ ÀνºÅϽº°¡ ÇöÀç ÀúÀåµÇ°í ÀÖ´Â ½ºÇÁ¸´Æ®ÆäÀÎÀ» µ¹·ÁÁÝ´Ï´Ù. |
protected void |
installDefaults ()
UI ÀÇ µðÆúÆ®¸¦ ÀνºÅç ÇÕ´Ï´Ù. |
protected void |
installKeyboardActions ()
UI ÀÇ Å°º¸µå ¾×¼ÇÀ» ÀνºÅç ÇÕ´Ï´Ù. |
protected void |
installListeners ()
UI ÀÇ À̺¥Æ® ûÃëÀÚ¸¦ ÀνºÅç ÇÕ´Ï´Ù. |
void |
installUI (JComponent c)
UI ¸¦ ÀνºÅç ÇÕ´Ï´Ù. |
boolean |
isContinuousLayout ()
JSplitPane °¡ ¿¬¼Ó ·¹À̾ƿôÀ» »ç¿ëÇϵµ·Ï(µíÀÌ) ¼³Á¤µÇ¾î ÀÖ´ÂÁö ¾î¶²Áö¸¦ ÆÇÁ¤ÇÕ´Ï´Ù. |
void |
paint (Graphics g,
JComponent jc)
Look & Feel ¸¦ paint Çϱâ À§Çؼ ¸Þ¼¼Áö·Î¼ º¸³»Áý´Ï´Ù. |
protected void |
resetLayoutManager ()
¹æÇâ¿¡ ±Ù°ÅÇØ ·¹À̾ƿô ¸Å´ÏÀú¸¦ ¸®¼ÂÆ® ÇØ, ÀûÀýÇÑ Component ¸¦ ÀúÀåÇϱâ À§Çؼ invalidateLayout ¸¦ »ç¿ëÇØ ¸Þ¼¼Áö·Î¼ º¸³À´Ï´Ù. |
void |
resetToPreferredSizes (JSplitPane jc)
ÀûÀýÇÑ »çÀÌÁ ¸®¼ÂÆ® Çϱâ À§Çؼ ¸Þ¼¼Áö·Î¼ º¸³»Áý´Ï´Ù. |
void |
setContinuousLayout (boolean b)
¿¬¼Ó ·¹À̾ƿôÀÇ ¿Â°ú ¿ÀÇÁ¸¦ ¹Ù²ß´Ï´Ù. |
void |
setDividerLocation (JSplitPane jc,
int location)
µð¹ÙÀÌ´õÀÇ À§Ä¡¸¦, ÁöÁ¤µÈ location ·Î ¼³Á¤ÇÕ´Ï´Ù. |
void |
setLastDragLocation (int l)
JSplitPane ÀÇ ¸¶Áö¸· µå·¯±× À§Ä¡¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
protected void |
setNonContinuousLayoutDivider (Component newDivider)
splitPane °¡ ºñ¿¬¼Ó ·¹À̾ƿôÀ¸·Î ¼³Á¤µÇ¾î ÀÖÀ» ¶§ »ç¿ëµÇ´Â µð¹ÙÀÌ´õ¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
protected void |
setNonContinuousLayoutDivider (Component newDivider,
boolean rememberSizes)
»ç¿ëµÇ´Â µð¹ÙÀÌ´õ¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
void |
setOrientation (int orientation)
JSplitPane ÀÇ ¹æÇâÀ» ¼³Á¤ÇÕ´Ï´Ù. |
protected void |
startDragging ()
µå·¯±× ¼¼¼ÇÀÌ ½ÃÀ۵DZâ Àü¿¡ ¸Þ¼¼Áö·Î¼ º¸³À´Ï´Ù. |
protected void |
uninstallDefaults ()
UI ÀÇ µðÆúÆ®¸¦ ¾ðÀνºÅçÇÕ´Ï´Ù. |
protected void |
uninstallKeyboardActions ()
UI ÀÇ Å°º¸µå ¾×¼ÇÀ» ¾ðÀνºÅçÇÕ´Ï´Ù. |
protected void |
uninstallListeners ()
UI ÀÇ À̺¥Æ® ûÃëÀÚ¸¦ ¾ðÀνºÅçÇÕ´Ï´Ù. |
void |
uninstallUI (JComponent c)
UI ¸¦ ¾ðÀνºÅçÇÕ´Ï´Ù. |
Ŭ·¡½º javax.swing.plaf. ComponentUI ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
contains , getAccessibleChild , getAccessibleChildrenCount , update |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
ÇʵåÀÇ »ó¼¼ |
protected static final String NON_CONTINUOUS_DIVIDER
protected static int KEYBOARD_DIVIDER_MOVE_OFFSET
protected JSplitPane splitPane
protected BasicSplitPaneUI.BasicHorizontalLayoutManager layoutManager
protected BasicSplitPaneDivider divider
protected PropertyChangeListener propertyChangeListener
protected FocusListener focusListener
protected int dividerSize
protected Component nonContinuousLayoutDivider
protected boolean draggingHW
protected int beginDragDividerLocation
protected KeyStroke upKey
protected KeyStroke downKey
protected KeyStroke leftKey
protected KeyStroke rightKey
protected KeyStroke homeKey
protected KeyStroke endKey
protected KeyStroke dividerResizeToggleKey
protected ActionListener keyboardUpLeftListener
protected ActionListener keyboardDownRightListener
protected ActionListener keyboardHomeListener
protected ActionListener keyboardEndListener
protected ActionListener keyboardResizeToggleListener
»ý¼ºÀÚÀÇ »ó¼¼ |
public BasicSplitPaneUI()
¸Þ¼ÒµåÀÇ »ó¼¼ |
public static ComponentUI createUI(JComponent x)
public void installUI(JComponent c)
ComponentUI
³»ÀÇ installUI
c
- UI delegateÀÌ ÀνºÅç µÇ°í ÀÖ´Â ÄÄÆÛ³ÍÆ®ComponentUI.uninstallUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
protected void installDefaults()
protected void installListeners()
protected void installKeyboardActions()
public void uninstallUI(JComponent c)
ComponentUI
³»ÀÇ uninstallUI
c
- ÀÌ UI delegateÀÌ »èÁ¦µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´ÂComponentUI.installUI(javax.swing.JComponent)
,
JComponent.updateUI()
protected void uninstallDefaults()
protected void uninstallListeners()
protected void uninstallKeyboardActions()
protected PropertyChangeListener createPropertyChangeListener()
protected FocusListener createFocusListener()
protected ActionListener createKeyboardUpLeftListener()
installKeyboardActions
¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ Action ¸¦ SplitPane ÀÇ ActionMap ¿¡ ¹èÄ¡ÇÏ´Â °Í¿¡ ÀÇÇØ, ±× Action ¸¦ µî·ÏÇÕ´Ï´Ù. ÀÚ¼¼ÇÑ °ÍÀº Ű ¹ÙÀεùÀÇ »ç¾çÀ» ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
ƯÁ¤ÀÇ Å°ÀÇ ¾ÐÇϸ¦ ´ë±âÇÏ´Â JSplitPane UI ÀÇ ActionListener ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
protected ActionListener createKeyboardDownRightListener()
installKeyboardActions
¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ Action ¸¦ SplitPane ÀÇ ActionMap ¿¡ ¹èÄ¡ÇÏ´Â °Í¿¡ ÀÇÇØ, ±× Action ¸¦ µî·ÏÇÕ´Ï´Ù. ÀÚ¼¼ÇÑ °ÍÀº Ű ¹ÙÀεùÀÇ »ç¾çÀ» ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
ƯÁ¤ÀÇ Å°ÀÇ ¾ÐÇϸ¦ ´ë±âÇÏ´Â JSplitPane UI ÀÇ ActionListener ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
protected ActionListener createKeyboardHomeListener()
installKeyboardActions
¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ Action ¸¦ SplitPane ÀÇ ActionMap ¿¡ ¹èÄ¡ÇÏ´Â °Í¿¡ ÀÇÇØ, ±× Action ¸¦ µî·ÏÇÕ´Ï´Ù. ÀÚ¼¼ÇÑ °ÍÀº Ű ¹ÙÀεùÀÇ »ç¾çÀ» ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
ƯÁ¤ÀÇ Å°ÀÇ ¾ÐÇϸ¦ ´ë±âÇÏ´Â JSplitPane UI ÀÇ ActionListener ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
protected ActionListener createKeyboardEndListener()
installKeyboardActions
¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ Action ¸¦ SplitPane ÀÇ ActionMap ¿¡ ¹èÄ¡ÇÏ´Â °Í¿¡ ÀÇÇØ, ±× Action ¸¦ µî·ÏÇÕ´Ï´Ù. ÀÚ¼¼ÇÑ °ÍÀº Ű ¹ÙÀεùÀÇ »ç¾çÀ» ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
ƯÁ¤ÀÇ Å°ÀÇ ¾ÐÇϸ¦ ´ë±âÇÏ´Â JSplitPane UI ÀÇ ActionListener ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
protected ActionListener createKeyboardResizeToggleListener()
installKeyboardActions
¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ Action ¸¦ SplitPane ÀÇ ActionMap ¿¡ ¹èÄ¡ÇÏ´Â °Í¿¡ ÀÇÇØ, ±× Action ¸¦ µî·ÏÇÕ´Ï´Ù. ÀÚ¼¼ÇÑ °ÍÀº Ű ¹ÙÀεùÀÇ »ç¾çÀ» ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
ƯÁ¤ÀÇ Å°ÀÇ ¾ÐÇϸ¦ ´ë±âÇÏ´Â JSplitPane UI ÀÇ ActionListener ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
public int getOrientation()
public void setOrientation(int orientation)
public boolean isContinuousLayout()
public void setContinuousLayout(boolean b)
public int getLastDragLocation()
public void setLastDragLocation(int l)
public BasicSplitPaneDivider getDivider()
protected Component createDefaultNonContinuousLayoutDivider()
protected void setNonContinuousLayoutDivider(Component newDivider)
protected void setNonContinuousLayoutDivider(Component newDivider, boolean rememberSizes)
public Component getNonContinuousLayoutDivider()
public JSplitPane getSplitPane()
public BasicSplitPaneDivider createDefaultDivider()
public void resetToPreferredSizes(JSplitPane jc)
SplitPaneUI
³»ÀÇ resetToPreferredSizes
public void setDividerLocation(JSplitPane jc, int location)
SplitPaneUI
³»ÀÇ setDividerLocation
public int getDividerLocation(JSplitPane jc)
SplitPaneUI
³»ÀÇ getDividerLocation
public int getMinimumDividerLocation(JSplitPane jc)
SplitPaneUI
³»ÀÇ getMinimumDividerLocation
public int getMaximumDividerLocation(JSplitPane jc)
SplitPaneUI
³»ÀÇ getMaximumDividerLocation
public void finishedPaintingChildren(JSplitPane jc, Graphics g)
SplitPaneUI
³»ÀÇ finishedPaintingChildren
public void paint(Graphics g, JComponent jc)
ComponentUI
³»ÀÇ paint
g
- paintó°¡ µÇ´Â Graphics
¹®¸Æjc
- paint µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´ÂComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
public Dimension getPreferredSize(JComponent jc)
ComponentUI
³»ÀÇ getPreferredSize
jc
- ÀûÀýÇÑ »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´ÂJComponent.getPreferredSize()
,
LayoutManager.preferredLayoutSize(java.awt.Container)
public Dimension getMinimumSize(JComponent jc)
ComponentUI
³»ÀÇ getMinimumSize
jc
- ÃÖ¼Ò »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
Dimension
¿ÀºêÁ§Æ®, ¶Ç´Â null
JComponent.getMinimumSize()
,
LayoutManager.minimumLayoutSize(java.awt.Container)
,
ComponentUI.getPreferredSize(javax.swing.JComponent)
public Dimension getMaximumSize(JComponent jc)
ComponentUI
³»ÀÇ getMaximumSize
jc
- ÃÖ´ë »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
Dimension
¿ÀºêÁ§Æ®, ¶Ç´Â null
JComponent.getMaximumSize()
,
LayoutManager2.maximumLayoutSize(java.awt.Container)
public Insets getInsets(JComponent jc)
protected void resetLayoutManager()
protected void startDragging()
protected void dragDividerTo(int location)
protected void finishDraggingTo(int location)
protected int getDividerBorderSize()
µð¹ÙÀÌ´õÀÇ º¸´õÀÇ 1 ¿·ÀÇ ÆøÀ» µ¹·ÁÁÝ´Ï´Ù.
|
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.