|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.plaf.basic.BasicInternalFrameTitlePane
public class BasicInternalFrameTitlePane
±âº»ÀÇ Å¸ÀÌÆ² ¹Ù¸¦ °ü¸®Çϴ Ŭ·¡½ºÀÔ´Ï´Ù.
°æ°í: ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ °´Ã¼´Â ÇâÈÄÀÇ Swing ¸±¸®Áî¿Í
ȣȯµÇÁö ¾ÊÀ» ¿¹Á¤ÀÔ´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈÀÇ Áö¿øÀº
´Ü±â°£ÀÇ ¿î¿ëÀ̳ª, °°Àº ¹öÀüÀÇ Swing¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. JDK ¹öÀü
1.4 ÀÌÈÄ, ¸ðµç JavaBeans™
Àå±â°£ÀÇ ¿î¿ë Áö¿øÀº
java.beans
ÆÐŰÁö¿¡ Ãß°¡µÇ°í ÀÖ½À´Ï´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº XMLEncoder
¸¦
ÂüÁ¶ÇϽʽÿÀ.
Áßø(Nested) Ŭ·¡½º °³¿ä | |
---|---|
class |
BasicInternalFrameTitlePane.CloseAction
ÀÌ Å¬·¡½º´Â "protected" ³»ºÎ Ŭ·¡½º·Î¼ Ãë±ÞÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. |
class |
BasicInternalFrameTitlePane.IconifyAction
ÀÌ Å¬·¡½º´Â "protected" ³»ºÎ Ŭ·¡½º·Î¼ Ãë±ÞÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. |
class |
BasicInternalFrameTitlePane.MaximizeAction
ÀÌ Å¬·¡½º´Â "protected" ³»ºÎ Ŭ·¡½º·Î¼ Ãë±ÞÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. |
class |
BasicInternalFrameTitlePane.MoveAction
ÀÌ Å¬·¡½º´Â "protected" ³»ºÎ Ŭ·¡½º·Î¼ Ãë±ÞÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. |
class |
BasicInternalFrameTitlePane.PropertyChangeHandler
ÀÌ Å¬·¡½º´Â "protected" ³»ºÎ Ŭ·¡½º·Î¼ Ãë±ÞÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. |
class |
BasicInternalFrameTitlePane.RestoreAction
ÀÌ Å¬·¡½º´Â "protected" ³»ºÎ Ŭ·¡½º·Î¼ Ãë±ÞÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. |
class |
BasicInternalFrameTitlePane.SizeAction
ÀÌ Å¬·¡½º´Â "protected" ³»ºÎ Ŭ·¡½º·Î¼ Ãë±ÞÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. |
class |
BasicInternalFrameTitlePane.SystemMenuBar
ÀÌ Å¬·¡½º´Â "protected" ³»ºÎ Ŭ·¡½º·Î¼ Ãë±ÞÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. |
class |
BasicInternalFrameTitlePane.TitlePaneLayout
ÀÌ Å¬·¡½º´Â "protected" ³»ºÎ Ŭ·¡½º·Î¼ Ãë±ÞÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. |
Ŭ·¡½º javax.swing. JComponent ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º |
---|
JComponent.AccessibleJComponent |
Ŭ·¡½º java.awt. Container ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º |
---|
Container.AccessibleAWTContainer |
Ŭ·¡½º java.awt. Component ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º |
---|
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 À§¾çÀÌ null ÀÌ ¾Æ´Ñ °æ¿ì¿¡
UI À§¾çÀÇ ÆäÀÎÆ® ¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù. |
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.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 À§¾çÀÇ ÆäÀÎÆ® ¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù. À§¾ç¿¡´Â Graphics
°´Ã¼ÀÇ º¹»çº»À» °Ç³×ÁÖ¾î, ³ª¸ÓÁöÀÇ ÆäÀÎÆ® Äڵ忡 ´ëÇØ¼ Ãë¼ÒÇÒ ¼ö ¾ø´Â º¯°æÀ» ÇÏÁö ¾Ê°Ô º¸È£ÇÕ´Ï´Ù (¿¹¸¦ µé¾î Graphics.translate
µî).
ÀÌ ¸Þ¼µå¸¦ ¼ºê Ŭ·¡½º¿¡¼ ¿À¹ö¶óÀ̵å(override) ÇÏ´Â °æ¿ì´Â °Ç³×¹ÞÀº Graphics
°´Ã¼¿¡´Â ¿µ¼ÓÀûÀÎ º¯°æÀº ½Ç½ÃÇÏÁö ¾Ê°Ô ÇÕ´Ï´Ù. ¿¹¸¦ µé¾î Rectangle
Ŭ¸³À̳ª º¯È¯Àº º¯°æÇÏÁö ¾Ê½À´Ï´Ù. ÀÌ·¯ÇÑ º¯°æÀÌ ÇÊ¿äÇÑ °æ¿ì´Â °Ç³×¹ÞÀº Graphics
·Î
ºÎÅÍ »õ·Î¿î 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 Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.