JavaTM 2 Platform
Standard Ed. 5.0

javax.swing.plaf.metal
Ŭ·¡½º MetalInternalFrameTitlePane

java.lang.Object 
  »óÀ§¸¦ È®Àå java.awt.Component 
      »óÀ§¸¦ È®Àå java.awt.Container 
          »óÀ§¸¦ È®Àå javax.swing.JComponent 
              »óÀ§¸¦ È®Àå javax.swing.plaf.basic.BasicInternalFrameTitlePane 
                  »óÀ§¸¦ È®Àå javax.swing.plaf.metal.MetalInternalFrameTitlePane
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
ImageObserver, MenuContainer, Serializable

public class MetalInternalFrameTitlePane
extends BasicInternalFrameTitlePane

JLF »ç¾çÀÇ Å¸ÀÌƲ ¹Ù¸¦ °ü¸®Çϴ Ŭ·¡½ºÀÔ´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.3

Áßø(Nested) Ŭ·¡½º °³¿ä
 
Ŭ·¡½º javax.swing.plaf.basic. BasicInternalFrameTitlePane ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º
BasicInternalFrameTitlePane.CloseAction, BasicInternalFrameTitlePane.IconifyAction, BasicInternalFrameTitlePane.MaximizeAction, BasicInternalFrameTitlePane.MoveAction, BasicInternalFrameTitlePane.PropertyChangeHandler, BasicInternalFrameTitlePane.RestoreAction, BasicInternalFrameTitlePane.SizeAction, BasicInternalFrameTitlePane.SystemMenuBar, BasicInternalFrameTitlePane.TitlePaneLayout
 
Ŭ·¡½º javax.swing. JComponent ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º
JComponent.AccessibleJComponent
 
Ŭ·¡½º java.awt. Container ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º
Container.AccessibleAWTContainer
 
Ŭ·¡½º java.awt. Component ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
ÇÊµå °³¿ä
protected  boolean isPalette
           
protected  Icon paletteCloseIcon
           
protected  int paletteTitleHeight
           
 
Ŭ·¡½º javax.swing.plaf.basic. BasicInternalFrameTitlePane ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå
CLOSE_CMD, closeAction, closeButton, closeIcon, frame, iconButton, iconIcon, ICONIFY_CMD, iconifyAction, maxButton, maxIcon, MAXIMIZE_CMD, maximizeAction, menuBar, minIcon, MOVE_CMD, moveAction, notSelectedTextColor, notSelectedTitleColor, propertyChangeListener, RESTORE_CMD, restoreAction, selectedTextColor, selectedTitleColor, SIZE_CMD, sizeAction, 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
 
»ý¼ºÀÚ °³¿ä
MetalInternalFrameTitlePane (JInternalFrame  f)
           
 
¸Þ¼­µå °³¿ä
 void addNotify ()
          ÀÌ ÄÄÆÛ³ÍÆ®¿¡ ÇöÀçÄ£ÄÄÆÛ³ÍÆ®°¡ ÀÖ´Â °ÍÀ» ÀÌ ÄÄÆÛ³ÍÆ®¿¡ ÅëÁöÇÕ´Ï´Ù.
protected  void addSubComponents ()
          ºÎ¸ðÀÇ ¸Þ¼­µå¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ, µµ±¸¸ðÀ½ÀÇ ÀÛ¼ºÀ» ¸·½À´Ï´Ù.
protected  void addSystemMenuItems (JMenu  systemMenu)
          ºÎ¸ðÀÇ ¸Þ¼­µå¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ, 󸮴 ½Ç½ÃÇÏÁö ¾Ê½À´Ï´Ù.
protected  void assembleSystemMenu ()
          ºÎ¸ðÀÇ ¸Þ¼­µå¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ, 󸮴 ½Ç½ÃÇÏÁö ¾Ê½À´Ï´Ù.
protected  void createButtons ()
           
protected  LayoutManager createLayout ()
           
protected  PropertyChangeListener createPropertyChangeListener ()
           
protected  void installDefaults ()
           
 void paintComponent (Graphics  g)
          UI À§¾çÀÌ nullÀÌ ¾Æ´Ñ °æ¿ì¿¡ UI À§¾çÀÇ ÆäÀÎÆ® ¸Þ¼­µå¸¦ È£ÃâÇÕ´Ï´Ù.
 void paintPalette (Graphics  g)
           
 void setPalette (boolean b)
           
protected  void showSystemMenu ()
          ºÎ¸ðÀÇ ¸Þ¼­µå¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ, 󸮴 ½Ç½ÃÇÏÁö ¾Ê½À´Ï´Ù.
protected  void uninstallDefaults ()
           
 
Ŭ·¡½º javax.swing.plaf.basic. BasicInternalFrameTitlePane ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
createActions, createSystemMenu, createSystemMenuBar, enableActions, getTitle, installListeners, installTitlePane, paintTitleBackground, postClosingEvent, setButtonIcons, uninstallListeners
 
Ŭ·¡½º javax.swing. JComponent ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
 
Ŭ·¡½º java.awt. Container ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Ŭ·¡½º java.awt. Component ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

ÇʵåÀÇ »ó¼¼

isPalette

protected boolean isPalette

paletteCloseIcon

protected Icon  paletteCloseIcon

paletteTitleHeight

protected int paletteTitleHeight
»ý¼ºÀÚ »ó¼¼

MetalInternalFrameTitlePane

public MetalInternalFrameTitlePane(JInternalFrame  f)
¸Þ¼­µåÀÇ »ó¼¼

addNotify

public void addNotify()
Ŭ·¡½º JComponent ±â¼ú:
ÀÌ ÄÄÆÛ³ÍÆ®¿¡ ÇöÀçÄ£ÄÄÆÛ³ÍÆ®°¡ ÀÖ´Â °ÍÀ» ÀÌ ÄÄÆÛ³ÍÆ®¿¡ ÅëÁöÇÕ´Ï´Ù. ÀÌ ¸Þ¼­µå°¡ ºÒ·Á°¡ ¸é, Ä£ÄÄÆÛ³ÍÆ®ÀÇ Ã¼ÀÎÀÌ KeyboardAction À̺¥Æ® ¸®½º³Ê·Î ¼³Á¤µË´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º JComponent ³»ÀÇ addNotify
°ü·Ã Ç׸ñ:
JComponent.registerKeyboardAction(java.awt.event.ActionListener, java.lang.String, javax.swing.KeyStroke, int)

installDefaults

protected void installDefaults()
¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º BasicInternalFrameTitlePane ³»ÀÇ installDefaults

uninstallDefaults

protected void uninstallDefaults()
¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º BasicInternalFrameTitlePane ³»ÀÇ uninstallDefaults

createButtons

protected void createButtons()
¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º BasicInternalFrameTitlePane ³»ÀÇ createButtons

assembleSystemMenu

protected void assembleSystemMenu()
ºÎ¸ðÀÇ ¸Þ¼­µå¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ, 󸮴 ½Ç½ÃÇÏÁö ¾Ê½À´Ï´Ù. Metal ÇÁ·¹ÀÓ¿¡´Â ½Ã½ºÅÛ ¸Þ´º°¡ ¾ø½À´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º BasicInternalFrameTitlePane ³»ÀÇ assembleSystemMenu

addSystemMenuItems

protected void addSystemMenuItems(JMenu  systemMenu)
ºÎ¸ðÀÇ ¸Þ¼­µå¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ, 󸮴 ½Ç½ÃÇÏÁö ¾Ê½À´Ï´Ù. Metal ÇÁ·¹ÀÓ¿¡´Â ½Ã½ºÅÛ ¸Þ´º°¡ ¾ø½À´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º BasicInternalFrameTitlePane ³»ÀÇ addSystemMenuItems

showSystemMenu

protected void showSystemMenu()
ºÎ¸ðÀÇ ¸Þ¼­µå¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ, 󸮴 ½Ç½ÃÇÏÁö ¾Ê½À´Ï´Ù. Metal ÇÁ·¹ÀÓ¿¡´Â ½Ã½ºÅÛ ¸Þ´º°¡ ¾ø½À´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º BasicInternalFrameTitlePane ³»ÀÇ showSystemMenu

addSubComponents

protected void addSubComponents()
ºÎ¸ðÀÇ ¸Þ¼­µå¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ, µµ±¸¸ðÀ½ÀÇ ÀÛ¼ºÀ» ¸·½À´Ï´Ù. ±Ý¼ÓÅ׿¡´Â ½Ã½ºÅÛ ¸Þ´º°¡ ¾ø½À´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º BasicInternalFrameTitlePane ³»ÀÇ addSubComponents

createPropertyChangeListener

protected PropertyChangeListener  createPropertyChangeListener()
¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º BasicInternalFrameTitlePane ³»ÀÇ createPropertyChangeListener

createLayout

protected LayoutManager  createLayout()
¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º BasicInternalFrameTitlePane ³»ÀÇ createLayout

paintPalette

public void paintPalette(Graphics  g)

paintComponent

public void paintComponent(Graphics  g)
Ŭ·¡½º JComponent ±â¼ú:
UI À§¾çÀÌ nullÀÌ ¾Æ´Ñ °æ¿ì¿¡ UI À§¾çÀÇ ÆäÀÎÆ® ¸Þ¼­µå¸¦ È£ÃâÇÕ´Ï´Ù. À§¾ç¿¡´Â Graphics °´Ã¼ÀÇ º¹»çº»À» °Ç³×ÁÖ¾î, ³ª¸ÓÁöÀÇ ÆäÀÎÆ® Äڵ忡 ´ëÇؼ­ Ãë¼ÒÇÒ ¼ö ¾ø´Â º¯°æÀ» ÇÏÁö ¾Ê°Ô º¸È£ÇÕ´Ï´Ù (¿¹¸¦ µé¾î Graphics.translate µî).

ÀÌ ¸Þ¼­µå¸¦ ¼­ºê Ŭ·¡½º¿¡¼­ ¿À¹ö¶óÀ̵å(override) ÇÏ´Â °æ¿ì´Â °Ç³×¹ÞÀº Graphics °´Ã¼¿¡´Â ¿µ¼ÓÀûÀÎ º¯°æÀº ½Ç½ÃÇÏÁö ¾Ê°Ô ÇÕ´Ï´Ù. ¿¹¸¦ µé¾î Rectangle Ŭ¸³À̳ª º¯È¯Àº º¯°æÇÏÁö ¾Ê½À´Ï´Ù. ÀÌ·¯ÇÑ º¯°æÀÌ ÇÊ¿äÇÑ °æ¿ì´Â °Ç³×¹ÞÀº Graphics·Î ºÎÅÍ »õ·Î¿î Graphics¸¦ »ý¼ºÇØ, ±×°ÍÀ» º¯°æÇÏ´Â ÆíÀÌ ¿ëÀÌÇÕ´Ï´Ù. ¶ÇÇÑ »óÀ§ °´Ã¼ÀÇ ±¸ÇöÀ» ½Ç½ÃÇÏÁö ¾Ê´Â °æ¿ì´Â ºÒÅõ¸í ÇÁ·ÎÆÛƼ¿¡ ÁÖÀÇÇÒ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù. Áï ÀÌ ÄÄÆÛ³ÍÆ®°¡ ºÒÅõ¸íÇÑ °æ¿ì´Â ¹é±×¶ó¿îµå¿¡´Â ºÒÅõ¸íÇÏÁö ¾ÊÀº »öÀ» »ç¿ëÇÒ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù. ºÒÅõ¸í ÇÁ·ÎÆÛƼ¸¦ ¹«½ÃÇϸé È­¸éÀÌ º¸±â ³ª»µÁý´Ï´Ù.

°Ç³×¹ÞÀº Graphics °´Ã¼¿¡´Â ÀνºÅç µÇ°í ÀÖ´Â º¯È¯ ÀÌ¿ÜÀÇ º¯È¯ÀÌ Æ÷ÇԵǾî ÀÖ´Â ÀÏÀÌ ÀÖ½À´Ï´Ù. ÀÌ °æ¿ì ´Ù¸¥ º¯È¯À» ´©ÀûÀûÀ¸·Î Àû¿ëÇϸé, ¿¹±âÄ¡ ¾ÊÀº °á°ú°¡ »ý±æ °¡´É¼ºÀÌ ÀÖ½À´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º BasicInternalFrameTitlePane ³»ÀÇ paintComponent
ÆĶó¹ÌÅÍ:
g - º¸È£ ´ë»óÀÇ Graphics °´Ã¼
°ü·Ã Ç׸ñ:
JComponent.paint(java.awt.Graphics), ComponentUI

setPalette

public void setPalette(boolean b)

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.