|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.plaf.basic.BasicInternalFrameTitlePane
±âº»ÀÇ Å¸ÀÌÆ² ¹Ù¸¦ °ü¸®Çϴ Ŭ·¡½ºÀÔ´Ï´Ù.
°æ°í:
ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ ¿ÀºêÁ§Æ®´Â ÇâÈÄÀÇ Swing ¸±¸®½º¿ÍÀÇ È£È¯¼ºÀÌ ¾ø¾îÁý´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈÀÇ ¼Æ÷Æ®´Â ´Ü±â ±â¾ïÀ̳ª, °°Àº ¹öÁ¯ÀÇ Swing ¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI ¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. ¹öÁ¯ 1.4 ÀÇ ½ÃÁ¡¿¡¼´Â JavaBeans ÀÇ Àå±â ±â¾ï¿ëÀÇ ¼Æ÷Æ®´Â ¸ðµÎ java.beans
ÆÐŰÁö¿¡ Ãß°¡µÇ°í ÀÖ½À´Ï´Ù. XMLEncoder
¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä | |
class |
BasicInternalFrameTitlePane.CloseAction
ÀÌ ³»ºÎ Ŭ·¡½º´Â public ¿Í ¸¶Å© µË´Ï´Ù¸¸, À̰ÍÀº ÄÄÆÄÀÏ·¯ÀÇ ¹ö±×°¡ ¿øÀÎÀÔ´Ï´Ù. |
class |
BasicInternalFrameTitlePane.IconifyAction
ÀÌ ³»ºÎ Ŭ·¡½º´Â public ¿Í ¸¶Å© µË´Ï´Ù¸¸, À̰ÍÀº ÄÄÆÄÀÏ·¯ÀÇ ¹ö±×°¡ ¿øÀÎÀÔ´Ï´Ù. |
class |
BasicInternalFrameTitlePane.MaximizeAction
ÀÌ ³»ºÎ Ŭ·¡½º´Â public ¿Í ¸¶Å© µË´Ï´Ù¸¸, À̰ÍÀº ÄÄÆÄÀÏ·¯ÀÇ ¹ö±×°¡ ¿øÀÎÀÔ´Ï´Ù. |
class |
BasicInternalFrameTitlePane.MoveAction
ÀÌ ³»ºÎ Ŭ·¡½º´Â public ¿Í ¸¶Å© µË´Ï´Ù¸¸, À̰ÍÀº ÄÄÆÄÀÏ·¯ÀÇ ¹ö±×°¡ ¿øÀÎÀÔ´Ï´Ù. |
class |
BasicInternalFrameTitlePane.PropertyChangeHandler
ÀÌ ³»ºÎ Ŭ·¡½º´Â public ¿Í ¸¶Å© µË´Ï´Ù¸¸, À̰ÍÀº ÄÄÆÄÀÏ·¯ÀÇ ¹ö±×°¡ ¿øÀÎÀÔ´Ï´Ù. |
class |
BasicInternalFrameTitlePane.RestoreAction
ÀÌ ³»ºÎ Ŭ·¡½º´Â public ¿Í ¸¶Å© µË´Ï´Ù¸¸, À̰ÍÀº ÄÄÆÄÀÏ·¯ÀÇ ¹ö±×°¡ ¿øÀÎÀÔ´Ï´Ù. |
class |
BasicInternalFrameTitlePane.SizeAction
ÀÌ ³»ºÎ Ŭ·¡½º´Â public ¿Í ¸¶Å© µË´Ï´Ù¸¸, À̰ÍÀº ÄÄÆÄÀÏ·¯ÀÇ ¹ö±×°¡ ¿øÀÎÀÔ´Ï´Ù. |
class |
BasicInternalFrameTitlePane.SystemMenuBar
ÀÌ ³»ºÎ Ŭ·¡½º´Â public ¿Í ¸¶Å© µË´Ï´Ù¸¸, À̰ÍÀº ÄÄÆÄÀÏ·¯ÀÇ ¹ö±×°¡ ¿øÀÎÀÔ´Ï´Ù. |
class |
BasicInternalFrameTitlePane.TitlePaneLayout
ÀÌ ³»ºÎ Ŭ·¡½º´Â public ¿Í ¸¶Å© µË´Ï´Ù¸¸, À̰ÍÀº ÄÄÆÄÀÏ·¯ÀÇ ¹ö±×°¡ ¿øÀÎÀÔ´Ï´Ù. |
Ŭ·¡½º javax.swing. JComponent À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
JComponent.AccessibleJComponent |
Ŭ·¡½º java.awt. Container À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
Container.AccessibleAWTContainer |
Ŭ·¡½º java.awt. Component À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
Component.AccessibleAWTComponent , Component.BltBufferStrategy , Component.FlipBufferStrategy |
ÇʵåÀÇ °³¿ä | |
protected static String |
CLOSE_CMD
|
protected Action |
closeAction
|
protected JButton |
closeButton
|
protected Icon |
closeIcon
|
protected JInternalFrame |
frame
|
protected JButton |
iconButton
|
protected Icon |
iconIcon
|
protected static String |
ICONIFY_CMD
|
protected Action |
iconifyAction
|
protected JButton |
maxButton
|
protected Icon |
maxIcon
|
protected static String |
MAXIMIZE_CMD
|
protected Action |
maximizeAction
|
protected JMenuBar |
menuBar
|
protected Icon |
minIcon
|
protected static String |
MOVE_CMD
|
protected Action |
moveAction
|
protected Color |
notSelectedTextColor
|
protected Color |
notSelectedTitleColor
|
protected PropertyChangeListener |
propertyChangeListener
|
protected static String |
RESTORE_CMD
|
protected Action |
restoreAction
|
protected Color |
selectedTextColor
|
protected Color |
selectedTitleColor
|
protected static String |
SIZE_CMD
|
protected Action |
sizeAction
|
protected JMenu |
windowMenu
|
Ŭ·¡½º 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 |
»ý¼ºÀÚÀÇ °³¿ä | |
BasicInternalFrameTitlePane (JInternalFrame f)
|
¸Þ¼ÒµåÀÇ °³¿ä | |
protected void |
addSubComponents ()
|
protected void |
addSystemMenuItems (JMenu systemMenu)
|
protected void |
assembleSystemMenu ()
|
protected void |
createActions ()
|
protected void |
createButtons ()
|
protected LayoutManager |
createLayout ()
|
protected PropertyChangeListener |
createPropertyChangeListener ()
|
protected JMenu |
createSystemMenu ()
|
protected JMenuBar |
createSystemMenuBar ()
|
protected void |
enableActions ()
|
protected String |
getTitle (String text,
FontMetrics fm,
int availTextWidth)
|
protected void |
installDefaults ()
|
protected void |
installListeners ()
|
protected void |
installTitlePane ()
|
void |
paintComponent (Graphics g)
UI delegateÀÌ null °¡ ¾Æ´Ñ °æ¿ì¿¡, UI delegateÀÇ paint ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
protected void |
paintTitleBackground (Graphics g)
paintComponent ·ÎºÎÅÍ È£ÃâÇÕ´Ï´Ù. |
protected void |
postClosingEvent (JInternalFrame frame)
Åë»óÀÇ Frame ¿Í °°°Ô ó¸®ÇÒ ¼ö ÀÖ°Ô, ÇÁ·¹ÀÓ¿¡ WINDOW_CLOSING ¿Í °°Àº À̺¥Æ®¸¦ Àü¼Û ÇÕ´Ï´Ù. |
protected void |
setButtonIcons ()
|
protected void |
showSystemMenu ()
|
protected void |
uninstallDefaults ()
|
protected void |
uninstallListeners ()
|
Ŭ·¡½º java.awt. Container ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
add , add , add , add , add , addContainerListener , addImpl , 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 , remove , remove , removeAll , removeContainerListener , setFocusCycleRoot , setFocusTraversalKeys , setFocusTraversalPolicy , setLayout , transferFocusBackward , transferFocusDownCycle , validate , validateTree |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
ÇʵåÀÇ »ó¼¼ |
protected JMenuBar menuBar
protected JButton iconButton
protected JButton maxButton
protected JButton closeButton
protected JMenu windowMenu
protected JInternalFrame frame
protected Color selectedTitleColor
protected Color selectedTextColor
protected Color notSelectedTitleColor
protected Color notSelectedTextColor
protected Icon maxIcon
protected Icon minIcon
protected Icon iconIcon
protected Icon closeIcon
protected PropertyChangeListener propertyChangeListener
protected Action closeAction
protected Action maximizeAction
protected Action iconifyAction
protected Action restoreAction
protected Action moveAction
protected Action sizeAction
protected static final String CLOSE_CMD
protected static final String ICONIFY_CMD
protected static final String RESTORE_CMD
protected static final String MAXIMIZE_CMD
protected static final String MOVE_CMD
protected static final String SIZE_CMD
»ý¼ºÀÚÀÇ »ó¼¼ |
public BasicInternalFrameTitlePane(JInternalFrame f)
¸Þ¼ÒµåÀÇ »ó¼¼ |
protected void installTitlePane()
protected void addSubComponents()
protected void createActions()
protected void installListeners()
protected void uninstallListeners()
protected void installDefaults()
protected void uninstallDefaults()
protected void createButtons()
protected void setButtonIcons()
protected void assembleSystemMenu()
protected void addSystemMenuItems(JMenu systemMenu)
protected JMenu createSystemMenu()
protected JMenuBar createSystemMenuBar()
protected void showSystemMenu()
public void paintComponent(Graphics g)
JComponent
ÀÇ ±â¼ú: null
°¡ ¾Æ´Ñ °æ¿ì¿¡, UI delegateÀÇ paint ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. delegate¿¡´Â Graphics
¿ÀºêÁ§Æ®ÀÇ Ä«ÇǸ¦ °Ç³×ÁÖ¾î, ³ª¸ÓÁöÀÇ paint Äڵ忡 ´ëÇØ¼ Ãë¼ÒÇÒ ¼ö ¾ø´Â º¯°æÀ» ÇÏÁö ¾Ê°Ô º¸È£ÇÕ´Ï´Ù (¿¹¸¦ µé¾î Graphics.translate
µî).
ÀÌ ¸Þ¼Òµå¸¦ ¼ºê Ŭ·¡½º¿¡¼ ¿À¹ö¶óÀ̵å(override) ÇÏ´Â °æ¿ì´Â °Ç³×¹ÞÀº Graphics
ÀÇ ¿ÀºêÁ§Æ®¿¡´Â ¿µ¼ÓÀûÀÎ º¯°æÀº ½Ç½ÃÇÏÁö ¾Ê°Ô ÇÕ´Ï´Ù. ¿¹¸¦ µé¾î Rectangle
Ŭ¸³À̳ª º¯È¯Àº º¯°æÇÏÁö ¾Ê½À´Ï´Ù. ÀÌ·¯ÇÑ º¯°æÀÌ ÇÊ¿äÇÑ °æ¿ì´Â °Ç³×¹ÞÀº Graphics
·ÎºÎÅÍ »õ·Î¿î Graphics
¸¦ »ý¼ºÇØ, ±×°ÍÀ» º¯°æÇÏ´Â ÆíÀÌ ¿ëÀÌÇÕ´Ï´Ù. ÇÑÃþ ´õ »óÀ§ ¿ÀºêÁ§Æ®ÀÇ ±¸ÇöÀ» ½Ç½ÃÇÏÁö ¾Ê´Â °æ¿ì´Â ºÒÅõ¸í ÇÁ·ÎÆÛƼ¿¡ ÁÖÀÇÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. Áï ÀÌ ÄÄÆÛ³ÍÆ®°¡ ºÒÅõ¸íÇÑ °æ¿ì´Â ¹é±×¶ó¿îµå¿¡´Â ºÒÅõ¸íÇÏÁö ¾ÊÀº »öÀ» »ç¿ëÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. ºÒÅõ¸í ÇÁ·ÎÆÛƼ¸¦ ¹«½ÃÇϸé ȸéÀÌ º¸±â ³ª»µÁý´Ï´Ù.
JComponent
³»ÀÇ paintComponent
g
- º¸È£ ´ë»óÀÇ Graphics
¿ÀºêÁ§Æ®JComponent.paint(java.awt.Graphics)
,
ComponentUI
protected void paintTitleBackground(Graphics g)
g
- ¹é±×¶ó¿îµå¸¦ Ç¥Çö Çϱâ À§Çؼ »ç¿ëµÇ´Â ±×·¡ÇȽºprotected String getTitle(String text, FontMetrics fm, int availTextWidth)
protected void postClosingEvent(JInternalFrame frame)
protected void enableActions()
protected PropertyChangeListener createPropertyChangeListener()
protected LayoutManager createLayout()
|
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.