|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.InternalFrameUI
javax.swing.plaf.basic.BasicInternalFrameUI
public class BasicInternalFrameUI
JInternalFrame ±âº» Look & Feel ¿¡ ÇÑ ±¸ÇöÀÔ´Ï´Ù.
Áßø(Nested) Ŭ·¡½º °³¿ä | |
---|---|
protected class |
BasicInternalFrameUI.BasicInternalFrameListener
|
protected class |
BasicInternalFrameUI.BorderListener
º¸´õÀÇ Á¶Á¤À» ´ë±âÇÕ´Ï´Ù. |
protected class |
BasicInternalFrameUI.ComponentHandler
|
protected class |
BasicInternalFrameUI.GlassPaneDispatcher
|
class |
BasicInternalFrameUI.InternalFrameLayout
|
class |
BasicInternalFrameUI.InternalFramePropertyChangeListener
|
ÇÊµå °³¿ä | |
---|---|
protected MouseInputAdapter |
borderListener
|
protected ComponentListener |
componentListener
|
protected JComponent |
eastPane
|
protected JInternalFrame |
frame
|
protected MouseInputListener |
glassPaneDispatcher
|
protected LayoutManager |
internalFrameLayout
|
protected JComponent |
northPane
|
protected KeyStroke |
openMenuKey
ÃßõÇÏÁö ¾Ê½À´Ï´Ù. Java 2 Ç÷§Æû v1. 3 ÀÌÈÄ |
protected PropertyChangeListener |
propertyChangeListener
|
protected JComponent |
southPane
|
protected BasicInternalFrameTitlePane |
titlePane
|
protected JComponent |
westPane
|
»ý¼ºÀÚ °³¿ä | |
---|---|
BasicInternalFrameUI (JInternalFrame b)
|
¸Þ¼µå °³¿ä | |
---|---|
protected void |
activateFrame (JInternalFrame f)
ÇÁ·¹ÀÓÀÌ ¼±ÅõǾúÀ» ¶§¿¡ È£ÃâÇÕ´Ï´Ù. |
protected void |
closeFrame (JInternalFrame f)
»ç¿ëÀÚ°¡ ÇÁ·¹ÀÓÀ» ´ÝÀ» ¶§ È£ÃâÇÕ´Ï´Ù. |
protected MouseInputAdapter |
createBorderListener (JInternalFrame w)
|
protected ComponentListener |
createComponentListener ()
|
protected DesktopManager |
createDesktopManager ()
|
protected JComponent |
createEastPane (JInternalFrame w)
|
protected MouseInputListener |
createGlassPaneDispatcher ()
|
protected void |
createInternalFrameListener ()
|
protected LayoutManager |
createLayoutManager ()
|
protected JComponent |
createNorthPane (JInternalFrame w)
|
protected PropertyChangeListener |
createPropertyChangeListener ()
|
protected JComponent |
createSouthPane (JInternalFrame w)
|
static ComponentUI |
createUI (JComponent b)
|
protected JComponent |
createWestPane (JInternalFrame w)
|
protected void |
deactivateFrame (JInternalFrame f)
ÇÁ·¹ÀÓÀÌ ÀÌ¹Ì ¼±ÅõÇÁö ¾Ê°Ô µÇ¾úÀ» ¶§¿¡ È£ÃâÇÕ´Ï´Ù. |
protected void |
deiconifyFrame (JInternalFrame f)
»ç¿ëÀÚ°¡ ÇÁ·¹ÀÓÀÇÀڽľÆÀÌÄÜȸ¦ ¹ÙÅÁÀ¸·Î µÇµ¹¸± ¶§ È£ÃâÇÕ´Ï´Ù. |
protected void |
deinstallMouseHandlers (JComponent c)
|
protected DesktopManager |
getDesktopManager ()
ÀûÀýÇÑ DesktopManager¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
JComponent |
getEastPane ()
|
Dimension |
getMaximumSize (JComponent x)
Look & Feel¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ ÃÖ´ë »çÀÌÁ ¸®ÅÏÇÕ´Ï´Ù. |
Dimension |
getMinimumSize (JComponent x)
Look & Feel¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ ÃÖ¼Ò »çÀÌÁ ¸®ÅÏÇÕ´Ï´Ù. |
JComponent |
getNorthPane ()
|
Dimension |
getPreferredSize (JComponent x)
Look & Feel¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ ÀûÀýÇÑ »çÀÌÁ ¸®ÅÏÇÕ´Ï´Ù. |
JComponent |
getSouthPane ()
|
JComponent |
getWestPane ()
|
protected void |
iconifyFrame (JInternalFrame f)
»ç¿ëÀÚ°¡ ÇÁ·¹ÀÓÀ»ÀڽľÆÀÌÄÜÈ ÇÒ °æ¿ì¿¡ È£ÃâÇÕ´Ï´Ù. |
protected void |
installComponents ()
|
protected void |
installDefaults ()
|
protected void |
installKeyboardActions ()
|
protected void |
installListeners ()
|
protected void |
installMouseHandlers (JComponent c)
|
void |
installUI (JComponent c)
Look & Feel¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®¸¦ ±¸¼ºÇÕ´Ï´Ù. |
boolean |
isKeyBindingActive ()
|
protected boolean |
isKeyBindingRegistered ()
|
protected void |
maximizeFrame (JInternalFrame f)
»ç¿ëÀÚ°¡ ÇÁ·¹ÀÓÀ» ÃÖ´ëÈÇÒ °æ¿ì¿¡ È£ÃâÇÕ´Ï´Ù. |
protected void |
minimizeFrame (JInternalFrame f)
»ç¿ëÀÚ°¡ ÇÁ·¹ÀÓÀ» ÃÖ¼ÒÈÇÒ °æ¿ì¿¡ È£ÃâÇÕ´Ï´Ù. |
protected void |
replacePane (JComponent currentPane,
JComponent newPane)
ÇÊ¿äÇÑ ¸¶¿ì½º Çڵ鷯¸¦ newPane ¿¡ ÀνºÅç ÇØ, ÇÁ·¹ÀÓ¿¡ Ãß°¡ÇÕ´Ï´Ù. |
void |
setEastPane (JComponent c)
|
protected void |
setKeyBindingActive (boolean b)
|
protected void |
setKeyBindingRegistered (boolean b)
|
void |
setNorthPane (JComponent c)
|
void |
setSouthPane (JComponent c)
|
protected void |
setupMenuCloseKey ()
|
protected void |
setupMenuOpenKey ()
|
void |
setWestPane (JComponent c)
|
protected void |
uninstallComponents ()
|
protected void |
uninstallDefaults ()
|
protected void |
uninstallKeyboardActions ()
|
protected void |
uninstallListeners ()
|
void |
uninstallUI (JComponent c)
installUI ½Ã¿¡
ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®·Î ½ÇÇàÇÑ ±¸¼ºÀ» Ãë¼ÒÇÕ´Ï´Ù. |
Ŭ·¡½º javax.swing.plaf. ComponentUI ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
contains,
getAccessibleChild,
getAccessibleChildrenCount,
paint,
update |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ÇʵåÀÇ »ó¼¼ |
---|
protected JInternalFrame frame
protected MouseInputAdapter borderListener
protected PropertyChangeListener propertyChangeListener
protected LayoutManager internalFrameLayout
protected ComponentListener componentListener
protected MouseInputListener glassPaneDispatcher
protected JComponent northPane
protected JComponent southPane
protected JComponent westPane
protected JComponent eastPane
protected BasicInternalFrameTitlePane titlePane
@Deprecated protected KeyStroke openMenuKey
»ý¼ºÀÚ »ó¼¼ |
---|
public BasicInternalFrameUI(JInternalFrame b)
¸Þ¼µåÀÇ »ó¼¼ |
---|
public static ComponentUI createUI(JComponent b)
public void installUI(JComponent c)
ComponentUI
񃬣: ComponentUI
ÀνºÅϽº°¡ ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ UI À§¾çÀ¸·Î¼ ÀνºÅç µÇ°í ÀÖÀ» ¶§ È£ÃâÇÕ´Ï´Ù. ÀÌ ¸Þ¼µå´Â ÀÌÇϸ¦ Æ÷ÇÔÇÑ Look & Feel¿ëÀÇ ÄÄÆÛ³ÍÆ®¸¦ ¿ÏÀüÇÏ°Ô ±¸¼ºÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. LayoutManager
¸¦ ÀνºÅç ÇÑ´ÙPropertyChangeListener
¸¦ ÄÄÆÛ³ÍÆ®¿¡ ÀÛ¼º ¶Ç´Â ÀνºÅç ÇÑ´Ù
ComponentUI
³»ÀÇ installUI
c
- UI À§¾çÀÌ ÀνºÅç µÇ°í ÀÖ´Â ÄÄÆÛ³ÍÆ®ComponentUI.uninstallUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
public void uninstallUI(JComponent c)
ComponentUI
񃬣: installUI
½Ã¿¡
ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®·Î ½ÇÇàÇÑ ±¸¼ºÀ» Ãë¼ÒÇÕ´Ï´Ù. ÀÌ ¸Þ¼µå´Â ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ UI À§¾çÀ¸·Î¼ÀÇ UIComponent
ÀνºÅϽº°¡ »èÁ¦µÇ°í ÀÖÀ» ¶§ È£ÃâÇÕ´Ï´Ù. ÀÌ ¸Þ¼µå´Â installUI
¿¡ ÀÇÇØ ½ÇÇàµÈ ±¸¼ºÀ» ¹ÙÅÁÀ¸·Î µÇµ¹¸± Çʿ䰡 ÀÖ½À´Ï´Ù. ÀÌ °æ¿ì
JComponent
ÀνºÅϽº¸¦ ±ú²ýÇÑ »óÅ (¿©ºÐÀÇ ¸®½º³Ê³ª, Look & Feel °íÀ¯ÀÇ ÇÁ·ÎÆÛƼ °´Ã¼°¡ ³²Áö ¾Ê°Ô)·Î Çϵµ·Ï ÃæºÐÈ÷ ÁÖÀÇÇØ ÁÖ¼¼¿ä. ¼ø¼¿¡´Â ´ÙÀ½ÀÇ °ÍÀÌ ÀÖ½À´Ï´Ù.
ComponentUI
³»ÀÇ uninstallUI
c
- ÀÌ UI À§¾çÀÌ »èÁ¦µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´ÂComponentUI.installUI(javax.swing.JComponent)
,
JComponent.updateUI()
protected void installDefaults()
protected void installKeyboardActions()
protected void installComponents()
protected void installListeners()
protected void uninstallDefaults()
protected void uninstallComponents()
protected void uninstallListeners()
protected void uninstallKeyboardActions()
protected LayoutManager createLayoutManager()
protected PropertyChangeListener createPropertyChangeListener()
public Dimension getPreferredSize(JComponent x)
ComponentUI
񃬣: null
ÀÌ ¸®ÅϵÈÀÎ °æ¿ì, ÀûÀýÇÑ »çÀÌÁî´Â ´ë½Å¿¡ ÄÄÆÛ³ÍÆ®ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¿¡ ÀÇÇØ °è»êµË´Ï´Ù (À̰ÍÀº ƯÁ¤ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¸¦ ÀνºÅç µÇ¾î ÀÖ´Â ÄÄÆÛ³ÍÆ®ÀÇ °æ¿ì¿¡ Ãßõ ÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù). ÀÌ ¸Þ¼µåÀÇ µðÆúÆ® ±¸ÇöÀº null
À»
¸®ÅÏÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ getPreferredSize
x
- ÀûÀýÇÑ »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´ÂJComponent.getPreferredSize()
,
LayoutManager.preferredLayoutSize(java.awt.Container)
public Dimension getMinimumSize(JComponent x)
ComponentUI
񃬣: null
ÀÌ ¸®ÅϵÈÀÎ °æ¿ì, ÃÖ¼Ò »çÀÌÁî´Â ´ë½Å¿¡ ÄÄÆÛ³ÍÆ®ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¿¡ ÀÇÇØ °è»êµË´Ï´Ù (À̰ÍÀº ƯÁ¤ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¸¦ ÀνºÅç µÇ¾î ÀÖ´Â ÄÄÆÛ³ÍÆ®ÀÇ °æ¿ì¿¡ Ãßõ ÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù). ÀÌ ¸Þ¼µåÀÇ µðÆúÆ® ±¸ÇöÀº getPreferredSize
¸¦ È£ÃâÇØ, ±× °ªÀ» ¸®ÅÏÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ getMinimumSize
x
- ÃÖ¼Ò »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
Dimension
°´Ã¼, ¶Ç´Â null
JComponent.getMinimumSize()
,
LayoutManager.minimumLayoutSize(java.awt.Container)
,
ComponentUI.getPreferredSize(javax.swing.JComponent)
public Dimension getMaximumSize(JComponent x)
ComponentUI
񃬣: null
ÀÌ ¸®ÅϵÈÀÎ °æ¿ì, ÃÖ´ë »çÀÌÁî´Â ´ë½Å¿¡ ÄÄÆÛ³ÍÆ®ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¿¡ ÀÇÇØ °è»êµË´Ï´Ù (À̰ÍÀº ƯÁ¤ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¸¦ ÀνºÅç µÇ¾î ÀÖ´Â ÄÄÆÛ³ÍÆ®ÀÇ °æ¿ì¿¡ Ãßõ ÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù). ÀÌ ¸Þ¼µåÀÇ µðÆúÆ® ±¸ÇöÀº getPreferredSize
¸¦ È£ÃâÇØ, ±× °ªÀ» ¸®ÅÏÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ getMaximumSize
x
- ÃÖ´ë »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
Dimension
°´Ã¼, ¶Ç´Â null
JComponent.getMaximumSize()
,
LayoutManager2.maximumLayoutSize(java.awt.Container)
protected void replacePane(JComponent currentPane, JComponent newPane)
newPane
¿¡ ÀνºÅç ÇØ, ÇÁ·¹ÀÓ¿¡ Ãß°¡ÇÕ´Ï´Ù. currentPane
¿ªÀÇ Ã³¸®ÀÔ´Ï´Ù.
protected void deinstallMouseHandlers(JComponent c)
protected void installMouseHandlers(JComponent c)
protected JComponent createNorthPane(JInternalFrame w)
protected JComponent createSouthPane(JInternalFrame w)
protected JComponent createWestPane(JInternalFrame w)
protected JComponent createEastPane(JInternalFrame w)
protected MouseInputAdapter createBorderListener(JInternalFrame w)
protected void createInternalFrameListener()
protected final boolean isKeyBindingRegistered()
protected final void setKeyBindingRegistered(boolean b)
public final boolean isKeyBindingActive()
protected final void setKeyBindingActive(boolean b)
protected void setupMenuOpenKey()
protected void setupMenuCloseKey()
public JComponent getNorthPane()
public void setNorthPane(JComponent c)
public JComponent getSouthPane()
public void setSouthPane(JComponent c)
public JComponent getWestPane()
public void setWestPane(JComponent c)
public JComponent getEastPane()
public void setEastPane(JComponent c)
protected DesktopManager getDesktopManager()
protected DesktopManager createDesktopManager()
protected void closeFrame(JInternalFrame f)
playCloseSound
¾×¼ÇÀÌ Æ®¸®°Å µË´Ï´Ù. ÀÌ ¾×¼ÇÀº DesktopManager¿¡ À§¾ç µË´Ï´Ù.
protected void maximizeFrame(JInternalFrame f)
playMaximizeSound
¾×¼ÇÀÌ Æ®¸®°Å µË´Ï´Ù. ÀÌ ¾×¼ÇÀº desktopManager¿¡ À§¾ç µË´Ï´Ù.
protected void minimizeFrame(JInternalFrame f)
playRestoreDownSound
¾×¼ÇÀÌ Æ®¸®°Å µË´Ï´Ù. ÀÌ ¾×¼ÇÀº desktopManager¿¡ À§¾ç µË´Ï´Ù.
protected void iconifyFrame(JInternalFrame f)
playMinimizeSound
¾×¼ÇÀÌ Æ®¸®°Å µË´Ï´Ù. ÀÌ ¾×¼ÇÀº desktopManager¿¡ À§¾ç µË´Ï´Ù.
protected void deiconifyFrame(JInternalFrame f)
playRestoreUpSound
¾×¼ÇÀÌ Æ®¸®°Å µË´Ï´Ù. ÀÌ ¾×¼ÇÀº desktopManager¿¡ À§¾ç µË´Ï´Ù.
protected void activateFrame(JInternalFrame f)
protected void deactivateFrame(JInternalFrame f)
protected ComponentListener createComponentListener()
protected MouseInputListener createGlassPaneDispatcher()
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.