|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.DefaultDesktopManager
DesktopManager
ÀÇ ±¸ÇöÀÔ´Ï´Ù. Çö½ÃÁ¡¿¡¼´Â ÀÓÀÇÀÇ ºÎ¸ð·Î JInternalFrame
¸¦ °ü¸®Çϱâ À§Çؼ ±âº» µ¿ÀÛÀ» ±¸ÇöÇÕ´Ï´Ù. JDesktop
ÀÇ ¾ÆÀ̰¡ ¾Æ´Ñ JInternalFrame
´Â ÀÌ ÄÄÆÛ³ÍÆ®¸¦ »ç¿ëÇØ ±× µ¥½ºÅ©Å¾ ¾ç½ÄÀÇ ¾×¼ÇÀ» ó¸®ÇÕ´Ï´Ù.
JDesktopPane
,
JInternalFrame
»ý¼ºÀÚÀÇ °³¿ä | |
DefaultDesktopManager ()
|
¸Þ¼ÒµåÀÇ °³¿ä | |
void |
activateFrame (JInternalFrame f)
f ¸¦ ¾×ƼºêÇÏ°Ô ÇØ, ÇÁ·±Æ®·Î À̵¿ÇÕ´Ï´Ù. |
void |
beginDraggingFrame (JComponent f)
Åë»ó, À¯Àú°¡ ÄÄÆÛ³ÍÆ®ÀÇ µå·¯±× °³½Ã¸¦ ³ªÅ¸³»¸é(ÀÚ) ºÒ·Á °©´Ï´Ù. |
void |
beginResizingFrame (JComponent f,
int direction)
Åë»ó, À¯Àú°¡ ÇÁ·¹ÀÓÀÇ »çÀÌÁî º¯°æ °³½Ã¸¦ ³ªÅ¸³»¸é(ÀÚ) ºÒ·Á °©´Ï´Ù. |
void |
closeFrame (JInternalFrame f)
ÇÁ·¹ÀÓÀ» »èÁ¦ÇØ, Çʿ信 µû¶ó¼ ±× ºÎ¸ð·ÎºÎÅÍ desktopIcon ¸¦ »èÁ¦ÇÕ´Ï´Ù. |
void |
deactivateFrame (JInternalFrame f)
Åë»ó, ÇÁ·¹ÀÓÀÌ Æ÷Ä¿½º¸¦ ÀÒÀº °ÍÀ» ³ªÅ¸³À´Ï´Ù. |
void |
deiconifyFrame (JInternalFrame f)
desktopIcon ¸¦ ±× ºÎ¸ð·ÎºÎÅÍ »èÁ¦ÇØ, ±× ÇÁ·¹ÀÓÀ» ºÎ¸ð¿¡°Ô Ãß°¡ÇÕ´Ï´Ù. |
void |
dragFrame (JComponent f,
int newX,
int newY)
µå·¯±× µÇ°í ÀÖ´Â ÇÁ·¹ÀÓÀÇ °¡½Ã À§Ä¡°¡ ÁöÁ¤µÈ À§Ä¡·Î À̵¿ÇÕ´Ï´Ù. |
void |
endDraggingFrame (JComponent f)
µå·¯±× ¼¼¼ÇÀÇ ¸¶Áö¸·À» ³ªÅ¸³À´Ï´Ù. |
void |
endResizingFrame (JComponent f)
»çÀÌÁî º¯°æ ¼¼¼ÇÀÇ ¸¶Áö¸·À» ³ªÅ¸³À´Ï´Ù. |
protected Rectangle |
getBoundsForIconOf (JInternalFrame f)
iconifyFrame()ÀÇ ÄÚµå´Â ÀÌ ¸Þ¼Òµå¸¦ È£ÃâÇØ, desktopIcon ÀÇ ÀûÀýÇÑ °æ°è¸¦ ÁöÁ¤ÇÕ´Ï´Ù. |
protected Rectangle |
getPreviousBounds (JInternalFrame f)
ÄÄÆÛ³ÍÆ®ÀÇ Åë»óÀÇ °æ°è¸¦ ÄÄÆÛ³ÍÆ® ÃÖ´ëÈÀÇ Á÷Àü¿¡ µ¹·ÁÁÝ´Ï´Ù. |
void |
iconifyFrame (JInternalFrame f)
ÇÁ·¹ÀÓÀ» ±× ºÎ¸ð·ÎºÎÅÍ »èÁ¦ÇØ, ±× desktopIcon ¸¦ ºÎ¸ð¿¡°Ô Ãß°¡ÇÕ´Ï´Ù. |
void |
maximizeFrame (JInternalFrame f)
±× ºÎ¸ðÀÇ °æ°è¸¦ ä¿ìµµ·Ï(µíÀÌ), ÇÁ·¹ÀÓÀÇ »çÀÌÁ º¯°æÇÕ´Ï´Ù. |
void |
minimizeFrame (JInternalFrame f)
maximizeFrame ÀÇ È£ÃâÀüÀÇ »çÀÌÁî¿Í À§Ä¡¿¡ ÇÁ·¹ÀÓÀ» º¹¿øÇÕ´Ï´Ù. |
void |
openFrame (JInternalFrame f)
ÀÌ ¸Þ¼Òµå´Â Åë»óÀº ºÒ·Á °¡Áö ¾Ê½À´Ï´Ù. |
protected void |
removeIconFor (JInternalFrame f)
f ÀÇ desktopIcon ¸¦ »èÁ¦ÇÏ´Â °£ÀÌ ¸Þ¼Òµå°¡ ÇÊ¿äÇÕ´Ï´Ù. |
void |
resizeFrame (JComponent f,
int newX,
int newY,
int newWidth,
int newHeight)
»õ·Î¿î °ªÀ» ÁöÁ¤ÇØ setBoundsForFrame ¸¦ È£ÃâÇÕ´Ï´Ù. |
void |
setBoundsForFrame (JComponent f,
int newX,
int newY,
int newWidth,
int newHeight)
JComponent ¸¦ À̵¿ÇØ, ¿µÇâÀ» ¹ÞÀº area¸¦ Àçpaint ÇÕ´Ï´Ù. |
protected void |
setPreviousBounds (JInternalFrame f,
Rectangle r)
ÄÄÆÛ³ÍÆ®ÀÇ °æ°è¸¦, ÃÖ´ë Ç¥½Ã È£ÃâÀÇ Á÷Àü¿¡ ÀúÀåÇÕ´Ï´Ù. |
protected void |
setWasIcon (JInternalFrame f,
Boolean value)
ÄÄÆÛ³ÍÆ®¸¦ ¾ÆÀÌÄÜÈ ÇØ, desktopIcon ÀÇ °æ°è°¡ À¯È¿ÇÏ°Ô µÇµµ·Ï(µíÀÌ) ¼³Á¤ÇÕ´Ï´Ù. |
protected boolean |
wasIcon (JInternalFrame f)
ÄÄÆÛ³ÍÆ®°¡ ¾ÆÀÌÄÜÈ µÇ¾î desktopIcon ÀÇ °æ°è°¡ À¯È¿ÇÑ °æ¿ì´Â true ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
»ý¼ºÀÚÀÇ »ó¼¼ |
public DefaultDesktopManager()
¸Þ¼ÒµåÀÇ »ó¼¼ |
public void openFrame(JInternalFrame f)
DesktopManager
³»ÀÇ openFrame
public void closeFrame(JInternalFrame f)
desktopIcon
¸¦ »èÁ¦ÇÕ´Ï´Ù.
DesktopManager
³»ÀÇ closeFrame
f
- »èÁ¦ÇÏ´Â JInternalFrame
public void maximizeFrame(JInternalFrame f)
DesktopManager
³»ÀÇ maximizeFrame
public void minimizeFrame(JInternalFrame f)
maximizeFrame
ÀÇ È£ÃâÀüÀÇ »çÀÌÁî¿Í À§Ä¡¿¡ ÇÁ·¹ÀÓÀ» º¹¿øÇÕ´Ï´Ù.
DesktopManager
³»ÀÇ minimizeFrame
f
- º¹¿øÇÏ´Â JInternalFrame
public void iconifyFrame(JInternalFrame f)
desktopIcon
¸¦ ºÎ¸ð¿¡°Ô Ãß°¡ÇÕ´Ï´Ù.
DesktopManager
³»ÀÇ iconifyFrame
f
- ¾ÆÀÌÄÜÈ ÇÏ´Â JInternalFrame
public void deiconifyFrame(JInternalFrame f)
DesktopManager
³»ÀÇ deiconifyFrame
f
- ¾ÆÀÌÄÜÈ ÇØÁ¦ÇÏ´Â JInternalFrame
public void activateFrame(JInternalFrame f)
IS_SELECTED_PROPERTY
°¡ false
·Î ¼³Á¤µË´Ï´Ù. ¾×ƼºêÇÑ ÇÁ·¹ÀÓÀº ·¹À̾î Àüü·Î 1 °³ »ÓÀÔ´Ï´Ù.
DesktopManager
³»ÀÇ activateFrame
f
- ¾×ƼºêÇÏ°Ô ÇÏ´Â JInternalFrame
public void deactivateFrame(JInternalFrame f)
DesktopManager
ÀÇ ±â¼ú:
DesktopManager
³»ÀÇ deactivateFrame
public void beginDraggingFrame(JComponent f)
DesktopManager
ÀÇ ±â¼ú:
DesktopManager
³»ÀÇ beginDraggingFrame
public void dragFrame(JComponent f, int newX, int newY)
endDraggingFrame
°¡ ºÒ·Á °¥ ¶§±îÁö º¯°æµÇÁö ¾Ê½À´Ï´Ù.
DesktopManager
³»ÀÇ dragFrame
public void endDraggingFrame(JComponent f)
DesktopManager
ÀÇ ±â¼ú:
DesktopManager
³»ÀÇ endDraggingFrame
public void beginResizingFrame(JComponent f, int direction)
DesktopManager
ÀÇ ±â¼ú:
DesktopManager
³»ÀÇ beginResizingFrame
public void resizeFrame(JComponent f, int newX, int newY, int newWidth, int newHeight)
setBoundsForFrame
¸¦ È£ÃâÇÕ´Ï´Ù.
DesktopManager
³»ÀÇ resizeFrame
f
- »çÀÌÁî º¯°æµÇ´Â ÄÄÆÛ³ÍÆ®newX
- »õ·Î¿î x ÁÂÇ¥newY
- »õ·Î¿î y ÁÂÇ¥newWidth
- »õ·Î¿î ÆønewHeight
- »õ·Î¿î ³ôÀÌpublic void endResizingFrame(JComponent f)
DesktopManager
ÀÇ ±â¼ú:
DesktopManager
³»ÀÇ endResizingFrame
public void setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight)
JComponent
¸¦ À̵¿ÇØ, ¿µÇâÀ» ¹ÞÀº area¸¦ Àçpaint ÇÕ´Ï´Ù.
DesktopManager
³»ÀÇ setBoundsForFrame
protected void removeIconFor(JInternalFrame f)
protected Rectangle getBoundsForIconOf(JInternalFrame f)
protected void setPreviousBounds(JInternalFrame f, Rectangle r)
f
- »çÀÌÁî º¯°æµÇ´Â ÄÄÆÛ³ÍÆ®r
- ´Ù¸¥ ¸Åü¿¡ º¸Á¸µÇ´Â Åë»óÀÇ °æ°èprotected Rectangle getPreviousBounds(JInternalFrame f)
f
- ´ë»óÀÇ JInternalFrame
protected void setWasIcon(JInternalFrame f, Boolean value)
desktopIcon
ÀÇ °æ°è°¡ À¯È¿ÇÏ°Ô µÇµµ·Ï(µíÀÌ) ¼³Á¤ÇÕ´Ï´Ù.
protected boolean wasIcon(JInternalFrame f)
desktopIcon
ÀÇ °æ°è°¡ À¯È¿ÇÑ °æ¿ì´Â true
¸¦ µ¹·ÁÁÝ´Ï´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
¸¦ µ¹·ÁÁÝ´Ï´Ù.
f
- ´ë»óÀÇ JInternalFrame
true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
|
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.