JavaTM 2
Platform
Std.  Ed.  v1. 4.0

javax.swing.plaf.basic
Ŭ·¡½º BasicInternalFrameUI

java.lang.Object 
  |
  +--javax.swing.plaf.ComponentUI 
        |
        +--javax.swing.plaf.InternalFrameUI 
              |
              +--javax.swing.plaf.basic.BasicInternalFrameUI
Á÷°èÀÇ ±âÁ¸ÀÇ ¼­ºê Ŭ·¡½º:
MetalInternalFrameUI

public class BasicInternalFrameUI
extends InternalFrameUI

JInternalFrame ÀÇ ±âº» Look & Feel ¿¡ ÀÇÇÑ ±¸ÇöÀÔ´Ï´Ù.


ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä
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)
          ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ UI delegateÀÇ ÀνºÅϽº¸¦ µ¹·ÁÁÝ´Ï´Ù.
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
 

ÇʵåÀÇ »ó¼¼

frame

protected JInternalFrame  frame

borderListener

protected MouseInputAdapter  borderListener

propertyChangeListener

protected PropertyChangeListener  propertyChangeListener

internalFrameLayout

protected LayoutManager  internalFrameLayout

componentListener

protected ComponentListener  componentListener

glassPaneDispatcher

protected MouseInputListener  glassPaneDispatcher

northPane

protected JComponent  northPane

southPane

protected JComponent  southPane

westPane

protected JComponent  westPane

eastPane

protected JComponent  eastPane

titlePane

protected BasicInternalFrameTitlePane  titlePane

openMenuKey

protected KeyStroke  openMenuKey
Ãßõ µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù.  Java 2 Ç÷§Æû v1. 3 ½ÃÁ¡

¹®¼­·ÎºÎÅÍ »èÁ¦Á¦ÀÇ ÀÌ Çʵå´Â Java 2 Ç÷§Æû v1. 3 ¿¡¼­´Â »ç¿ëµÇÁö ¾Ê½À´Ï´Ù. Ű ¹ÙÀεùÀº LookAndFeel ¿¡ ÀÇÇØ Á¤Àǵ˴ϴÙ. ÀÚ¼¼ÇÑ °ÍÀº Ű ¹ÙÀεùÀÇ »ç¾çÀ» ÂüÁ¶ÇØ ÁÖ¼¼¿ä.

»ý¼ºÀÚÀÇ »ó¼¼

BasicInternalFrameUI

public BasicInternalFrameUI(JInternalFrame  b)
¸Þ¼ÒµåÀÇ »ó¼¼

createUI

public static ComponentUI  createUI(JComponent  b)
Ŭ·¡½º ComponentUI ÀÇ ±â¼ú:
ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ UI delegateÀÇ ÀνºÅϽº¸¦ µ¹·ÁÁÝ´Ï´Ù. °¢ ¼­ºê Ŭ·¡½º´Â ±× ÀÚüÀÇ Á¤ÀûÀÎ createUI ¸Þ¼Òµå¸¦ Á¦°øÇØ, ±× UI delegateÀÇ ¼­ºê Ŭ·¡½ºÀÇ ÀνºÅϽº¸¦ µ¹·ÁÁÙ Çʿ䰡 ÀÖ½À´Ï´Ù. UI delegateÀÇ ¼­ºê Ŭ·¡½º°¡ »óÅ ¾øÀ½ÀÇ °æ¿ì, º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â ÀνºÅϽº¸¦ µ¹·ÁÁÝ´Ï´Ù. UI delegateÀÌ »óÅ ÀÖ´Â °æ¿ì, ÄÄÆÛ³ÍÆ® ¸¶´Ù »õ·Î¿î ÀνºÅϽº¸¦ µ¹·ÁÁÙ Çʿ䰡 ÀÖ½À´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â È£ÃâÇØ¼± ¾È µÇ±â ¶§¹®¿¡, ±× µðÆúÆ® ±¸ÇöÀº ¿¡·¯¸¦ ½½·Î¿ì ÇÕ´Ï´Ù.


installUI

public void installUI(JComponent  c)
Ŭ·¡½º ComponentUI ÀÇ ±â¼ú:
Look & Feel ¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®¸¦ ±¸¼ºÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â ComponentUI ÀνºÅϽº°¡, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ UI delegateÀ¸·Î¼­ ÀνºÅç µÇ°í ÀÖÀ» ¶§ ºÒ·Á °©´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â ÀÌÇϸ¦ Æ÷ÇÔÇÑ Look & Feel ¿ëÀÇ ÄÄÆÛ³ÍÆ®¸¦ ¿ÏÀüÇÏ°Ô ±¸¼ºÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù.
  1. Ä®¶ó, ÆùÆ®, º¸´õ, ¾ÆÀÌÄÜ, ºÒÅõ¸íÇÔ µî ¸ðµç µðÆúÆ® ÇÁ·ÎÆÛƼÀÇ °ªÀ» ÄÄÆÛ³ÍÆ®¿¡ ÀνºÅç ÇÑ´Ù. °¡´ÉÇÑ °æ¿ì´Â Ŭ¶óÀÌ¾ðÆ® ÇÁ·Î±×·¥¿¡ ÀÇÇØ ÃʱâÈ­µÈ ÇÁ·ÎÆÛƼÀÇ °ªÀ» ¿À¹ö¶óÀ̵å(override) ÇØ¼­´Â ¾È µÈ´Ù
  2. Çʿ信 µû¶ó¼­, ÄÄÆÛ³ÍÆ®¿¡ LayoutManager ¸¦ ÀνºÅç ÇÑ´Ù
  3. ÇÊ¿äÇÑ ¼­ºê ÄÄÆÛ³ÍÆ®¸¦, ÄÄÆÛ³ÍÆ®¿¡ ÀÛ¼º ¶Ç´Â Ãß°¡ÇÑ´Ù
  4. À̺¥Æ® ûÃëÀÚ¸¦, ÄÄÆÛ³ÍÆ®¿¡ ÀÛ¼º ¶Ç´Â ÀνºÅç ÇÑ´Ù
  5. ÄÄÆÛ³ÍÆ®ÀÇ ÇÁ·ÎÆÛƼÀÇ º¯°æÀ» ÀûÀýÈ÷ °ËÃâÇØ, ÀÀ´äÇϱâ À§Çؼ­,PropertyChangeListener ¸¦ ÄÄÆÛ³ÍÆ®¿¡ ÀÛ¼º ¶Ç´Â ÀνºÅç ÇÑ´Ù
  6. Űº¸µå UI (¹«¸­ °üÀý ¸ð´ÖÅ©, È£¶ûÀÌ ¿ë±âµî)¸¦, ÄÄÆÛ³ÍÆ®¿¡ ÀνºÅç ÇÑ´Ù
  7. ÀûÀýÇÑ ÀνºÅϽºÀÇ µ¥ÀÌÅ͸¦ ÃʱâÈ­ÇÑ´Ù

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ installUI
ÆÄ¶ó¹ÌÅÍ:
c - UI delegateÀÌ ÀνºÅç µÇ°í ÀÖ´Â ÄÄÆÛ³ÍÆ®
°ü·Ã Ç׸ñ:
ComponentUI.uninstallUI(javax.swing.JComponent) , JComponent.setUI(javax.swing.plaf.ComponentUI) , JComponent.updateUI()

uninstallUI

public void uninstallUI(JComponent  c)
Ŭ·¡½º ComponentUI ÀÇ ±â¼ú:
installUI ½Ã¿¡, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®·Î ½ÇÇàÇÑ ±¸¼ºÀ» Ãë¼ÒÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ UI delegateÀ¸·Î¼­ÀÇ UIComponent ÀνºÅϽº°¡ »èÁ¦µÇ°í ÀÖÀ» ¶§ ºÒ·Á °©´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â installUI ¿¡ ÀÇÇØ ½ÇÇàµÈ ±¸¼ºÀ» ¹ÙÅÁÀ¸·Î µÇµ¹¸± Çʿ䰡 ÀÖ½À´Ï´Ù. ÀÌ °æ¿ì,JComponent ÀνºÅϽº¸¦ ±ú²ýÇÑ »óÅ (¿©ºÐÀÇ Ã»ÃëÀÚ³ª, Look & Feel °íÀ¯ÀÇ ÇÁ·ÎÆÛƼ ¿ÀºêÁ§Æ®°¡ ³²Áö ¾Ê°Ô)·Î Çϵµ·Ï(µíÀÌ) ÃæºÐÈ÷ ÁÖÀÇÇØ ÁÖ¼¼¿ä. ¼ø¼­¿¡´Â ´ÙÀ½ÀÇ °ÍÀÌ ÀÖ½À´Ï´Ù.
  1. UI ·Î¼­ ¼³Á¤µÈ ¸ðµç º¸´õ¸¦, ÄÄÆÛ³ÍÆ®·ÎºÎÅÍ »èÁ¦ÇÑ´Ù
  2. UI ·Î¼­ ¼³Á¤µÈ ¸ðµç ·¹À̾ƿô ¸Å´ÏÀú¸¦, ÄÄÆÛ³ÍÆ®·ÎºÎÅÍ »èÁ¦ÇÑ´Ù
  3. UI ·Î¼­ Ãß°¡µÈ ¸ðµç ¼­ºê ÄÄÆÛ³ÍÆ®¸¦, ÄÄÆÛ³ÍÆ®·ÎºÎÅÍ »èÁ¦ÇÑ´Ù
  4. UI ·Î¼­ Ãß°¡µÈ ¸ðµç À̺¥Æ®/ûÃëÀÚ¸¦, ÄÄÆÛ³ÍÆ®·ÎºÎÅÍ »èÁ¦ÇÑ´Ù
  5. UI ·Î¼­ ÀνºÅç µÈ ¸ðµç Űº¸µå UI ¸¦, ÄÄÆÛ³ÍÆ®·ÎºÎÅÍ »èÁ¦ÇÑ´Ù
  6. GC ¿ëÀ¸·Î ÇÒ´çÇÒ ¼ö ÀÖ´ø ¸ðµç ÀνºÅϽºÀÇ µ¥ÀÌÅÍ ¿ÀºêÁ§Æ®¸¦ ¹«È¿·Î ÇÑ´Ù

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ uninstallUI
ÆÄ¶ó¹ÌÅÍ:
c - ÀÌ UI delegateÀÌ »èÁ¦µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Â
°ü·Ã Ç׸ñ:
ComponentUI.installUI(javax.swing.JComponent) , JComponent.updateUI()

installDefaults

protected void installDefaults()

installKeyboardActions

protected void installKeyboardActions()

installComponents

protected void installComponents()

installListeners

protected void installListeners()

uninstallDefaults

protected void uninstallDefaults()

uninstallComponents

protected void uninstallComponents()

uninstallListeners

protected void uninstallListeners()

uninstallKeyboardActions

protected void uninstallKeyboardActions()

createLayoutManager

protected LayoutManager  createLayoutManager()

createPropertyChangeListener

protected PropertyChangeListener  createPropertyChangeListener()

getPreferredSize

public Dimension  getPreferredSize(JComponent  x)
Ŭ·¡½º ComponentUI ÀÇ ±â¼ú:
Look & Feel ¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ ÀûÀýÇÑ »çÀÌÁ µ¹·ÁÁÝ´Ï´Ù. null °¡ µ¹·ÁÁÖ¾îÁö´Â °æ¿ì, ÀûÀýÇÑ »çÀÌÁî´Â ´ë½Å¿¡ ÄÄÆÛ³ÍÆ®ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¿¡ ÀÇÇØ °è»êµË´Ï´Ù (À̰ÍÀº ƯÁ¤ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¸¦ ÀνºÅç µÇ¾î ÀÖ´Â ÄÄÆÛ³ÍÆ®ÀÇ °æ¿ì¿¡ Ãßõ ÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù). ÀÌ ¸Þ¼ÒµåÀÇ µðÆúÆ® ±¸ÇöÀº null ¸¦ µ¹·ÁÁÝ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ getPreferredSize
ÆÄ¶ó¹ÌÅÍ:
x - ÀûÀýÇÑ »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Â
°ü·Ã Ç׸ñ:
JComponent.getPreferredSize() , LayoutManager.preferredLayoutSize(java.awt.Container)

getMinimumSize

public Dimension  getMinimumSize(JComponent  x)
Ŭ·¡½º ComponentUI ÀÇ ±â¼ú:
Look & Feel ¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ ÃÖ¼Ò »çÀÌÁ µ¹·ÁÁÝ´Ï´Ù. null °¡ µ¹·ÁÁÖ¾îÁö´Â °æ¿ì, ÃÖ¼Ò »çÀÌÁî´Â ´ë½Å¿¡ ÄÄÆÛ³ÍÆ®ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¿¡ ÀÇÇØ °è»êµË´Ï´Ù (À̰ÍÀº ƯÁ¤ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¸¦ ÀνºÅç µÇ¾î ÀÖ´Â ÄÄÆÛ³ÍÆ®ÀÇ °æ¿ì¿¡ Ãßõ ÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù). ÀÌ ¸Þ¼ÒµåÀÇ µðÆúÆ® ±¸ÇöÀº getPreferredSize ¸¦ È£ÃâÇØ, ±× °ªÀ» µ¹·ÁÁÝ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ getMinimumSize
ÆÄ¶ó¹ÌÅÍ:
x - ÃÖ¼Ò »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
¹Ýȯ°ª:
Dimension ¿ÀºêÁ§Æ®, ¶Ç´Â null
°ü·Ã Ç׸ñ:
JComponent.getMinimumSize() , LayoutManager.minimumLayoutSize(java.awt.Container) , ComponentUI.getPreferredSize(javax.swing.JComponent)

getMaximumSize

public Dimension  getMaximumSize(JComponent  x)
Ŭ·¡½º ComponentUI ÀÇ ±â¼ú:
Look & Feel ¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ ÃÖ´ë »çÀÌÁ µ¹·ÁÁÝ´Ï´Ù. null °¡ µ¹·ÁÁÖ¾îÁö´Â °æ¿ì, ÃÖ´ë »çÀÌÁî´Â ´ë½Å¿¡ ÄÄÆÛ³ÍÆ®ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¿¡ ÀÇÇØ °è»êµË´Ï´Ù (À̰ÍÀº ƯÁ¤ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¸¦ ÀνºÅç µÇ¾î ÀÖ´Â ÄÄÆÛ³ÍÆ®ÀÇ °æ¿ì¿¡ Ãßõ ÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù). ÀÌ ¸Þ¼ÒµåÀÇ µðÆúÆ® ±¸ÇöÀº getPreferredSize ¸¦ È£ÃâÇØ, ±× °ªÀ» µ¹·ÁÁÝ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ getMaximumSize
ÆÄ¶ó¹ÌÅÍ:
x - ÃÖ´ë »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
¹Ýȯ°ª:
Dimension ¿ÀºêÁ§Æ®, ¶Ç´Â null
°ü·Ã Ç׸ñ:
JComponent.getMaximumSize() , LayoutManager2.maximumLayoutSize(java.awt.Container)

replacePane

protected void replacePane(JComponent  currentPane,
                           JComponent  newPane)
ÇÊ¿äÇÑ ¸¶¿ì½º Çڵ鷯¸¦ newPane ¿¡ ÀνºÅç ÇØ, ÇÁ·¹ÀÓ¿¡ Ãß°¡ÇÕ´Ï´Ù. currentPane ÀÇ ¿ªÀÇ Ã³¸®ÀÔ´Ï´Ù.


deinstallMouseHandlers

protected void deinstallMouseHandlers(JComponent  c)

installMouseHandlers

protected void installMouseHandlers(JComponent  c)

createNorthPane

protected JComponent  createNorthPane(JInternalFrame  w)

createSouthPane

protected JComponent  createSouthPane(JInternalFrame  w)

createWestPane

protected JComponent  createWestPane(JInternalFrame  w)

createEastPane

protected JComponent  createEastPane(JInternalFrame  w)

createBorderListener

protected MouseInputAdapter  createBorderListener(JInternalFrame  w)

createInternalFrameListener

protected void createInternalFrameListener()

isKeyBindingRegistered

protected final boolean isKeyBindingRegistered()

setKeyBindingRegistered

protected final void setKeyBindingRegistered(boolean b)

isKeyBindingActive

public final boolean isKeyBindingActive()

setKeyBindingActive

protected final void setKeyBindingActive(boolean b)

setupMenuOpenKey

protected void setupMenuOpenKey()

setupMenuCloseKey

protected void setupMenuCloseKey()

getNorthPane

public JComponent  getNorthPane()

setNorthPane

public void setNorthPane(JComponent  c)

getSouthPane

public JComponent  getSouthPane()

setSouthPane

public void setSouthPane(JComponent  c)

getWestPane

public JComponent  getWestPane()

setWestPane

public void setWestPane(JComponent  c)

getEastPane

public JComponent  getEastPane()

setEastPane

public void setEastPane(JComponent  c)

getDesktopManager

protected DesktopManager  getDesktopManager()
ÀûÀýÇÑ DesktopManager ¸¦ µ¹·ÁÁÝ´Ï´Ù. getDesktopPane()¸¦ È£ÃâÇØ JDesktop ÄÄÆÛ³ÍÆ®¸¦ °Ë»öÇØ, µ¿ÄÄÆÛ³ÍÆ®·ÎºÎÅÍ DesktopManager ¸¦ µ¹·ÁÁÝ´Ï´Ù. À̰ÍÀÌ ½ÇÆÐÇßÀ» °æ¿ì´Â ÀÓÀÇÀÇ ºÎ¸ð·Î µ¿ÀÛÇÏ´Â µðÆúÆ®ÀÇ DesktopManager ¸¦ µ¹·ÁÁÝ´Ï´Ù.


createDesktopManager

protected DesktopManager  createDesktopManager()

closeFrame

protected void closeFrame(JInternalFrame  f)
À¯Àú°¡ ÇÁ·¹ÀÓÀ» ´ÝÀ» ¶§ ºÒ·Á °©´Ï´Ù. playCloseSound ¾×¼ÇÀÌ ¹æ¾Æ¼è µË´Ï´Ù. ÀÌ ¾×¼ÇÀº DesktopManager ¿¡ delegate µË´Ï´Ù.


maximizeFrame

protected void maximizeFrame(JInternalFrame  f)
À¯Àú°¡ ÇÁ·¹ÀÓÀ» ÃÖ´ëÈ­ÇÒ °æ¿ì¿¡ ºÒ·Á °©´Ï´Ù. playMaximizeSound ¾×¼ÇÀÌ ¹æ¾Æ¼è µË´Ï´Ù. ÀÌ ¾×¼ÇÀº desktopManager ¿¡ delegate µË´Ï´Ù.


minimizeFrame

protected void minimizeFrame(JInternalFrame  f)
À¯Àú°¡ ÇÁ·¹ÀÓÀ» ÃÖ¼ÒÈ­ÇÒ °æ¿ì¿¡ ºÒ·Á °©´Ï´Ù. playRestoreDownSound ¾×¼ÇÀÌ ¹æ¾Æ¼è µË´Ï´Ù. ÀÌ ¾×¼ÇÀº desktopManager ¿¡ delegate µË´Ï´Ù.


iconifyFrame

protected void iconifyFrame(JInternalFrame  f)
À¯Àú°¡ ÇÁ·¹ÀÓÀ» ¾ÆÀÌÄÜÈ­ ÇÒ °æ¿ì¿¡ ºÒ·Á °©´Ï´Ù. playMinimizeSound ¾×¼ÇÀÌ ¹æ¾Æ¼è µË´Ï´Ù. ÀÌ ¾×¼ÇÀº desktopManager ¿¡ delegate µË´Ï´Ù.


deiconifyFrame

protected void deiconifyFrame(JInternalFrame  f)
À¯Àú°¡ ÇÁ·¹ÀÓÀÇ ¾ÆÀÌÄÜÈ­¸¦ ¹ÙÅÁÀ¸·Î µÇµ¹¸± ¶§ ºÒ·Á °©´Ï´Ù. playRestoreUpSound ¾×¼ÇÀÌ ¹æ¾Æ¼è µË´Ï´Ù. ÀÌ ¾×¼ÇÀº desktopManager ¿¡ delegate µË´Ï´Ù.


activateFrame

protected void activateFrame(JInternalFrame  f)
ÇÁ·¹ÀÓÀÌ ¼±ÅõǾúÀ» ¶§¿¡ ºÒ·Á °©´Ï´Ù. ÀÌ ¾×¼ÇÀº desktopManager ¿¡ delegate µË´Ï´Ù.


deactivateFrame

protected void deactivateFrame(JInternalFrame  f)
ÇÁ·¹ÀÓÀÌ ÀÌ¹Ì ¼±ÅõÇÁö ¾Ê°Ô µÇ¾úÀ» ¶§¿¡ ºÒ·Á °©´Ï´Ù. ÀÌ ¾×¼ÇÀº desktopManager ¿¡ delegate µË´Ï´Ù.


createComponentListener

protected ComponentListener  createComponentListener()

createGlassPaneDispatcher

protected MouseInputListener  createGlassPaneDispatcher()

JavaTM 2
Platform
Std.  Ed.  v1. 4.0

¹ö±×ÀÇ º¸°í¿Í ±â´ÉÀÇ ¸®Äù½ºÆ®
ÀÌ¿ÜÀÇ API ·¹ÆÛ·±½º ¹× °³¹ßÀÚ¿ë ¹®¼­¿¡ ´ëÇØ¼­´Â Java 2 SDK SE °³¹ßÀÚ¿ë ¹®¼­¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä. °³¹ßÀÚÀü¿ëÀÇ »ó¼¼ÇÑ ÇØ¼³, °³³äÀÇ °³¿ä, ¿ë¾îÀÇ Á¤ÀÇ, ¹ö±×ÀÇ È¸ÇÇÃ¥, ¹× ÄÚµå ½Ç·Ê°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù.

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.