|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JLabel | +--javax.swing.DefaultListCellRenderer | +--javax.swing.plaf.metal.MetalFileChooserUI.FilterComboBoxRenderer
°¢Á¾ÀÇ »çÀÌÁî ¹× ½ºÅ¸ÀÏÀ» Ç¥Çö ÇÕ´Ï´Ù.
ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä |
Ŭ·¡½º javax.swing. DefaultListCellRenderer À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
DefaultListCellRenderer.UIResource |
Ŭ·¡½º javax.swing. JLabel À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
JLabel.AccessibleJLabel |
Ŭ·¡½º javax.swing. JComponent À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
JComponent.AccessibleJComponent |
Ŭ·¡½º java.awt. Container À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
Container.AccessibleAWTContainer |
Ŭ·¡½º java.awt. Component À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
Component.AccessibleAWTComponent , Component.BltBufferStrategy , Component.FlipBufferStrategy |
ÇʵåÀÇ °³¿ä |
Ŭ·¡½º javax.swing. DefaultListCellRenderer ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
noFocusBorder |
Ŭ·¡½º javax.swing. JLabel ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
labelFor |
Ŭ·¡½º 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 |
ÀÎÅÍÆäÀ̽º javax.swing. SwingConstants ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
BOTTOM , CENTER , EAST , HORIZONTAL , LEADING , LEFT , NEXT , NORTH , NORTH_EAST , NORTH_WEST , PREVIOUS , RIGHT , SOUTH , SOUTH_EAST , SOUTH_WEST , TOP , TRAILING , VERTICAL , WEST |
ÀÎÅÍÆäÀ̽º java.awt.image. ImageObserver ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
ABORT , ALLBITS , ERROR , FRAMEBITS , HEIGHT , PROPERTIES , SOMEBITS , WIDTH |
»ý¼ºÀÚÀÇ °³¿ä | |
MetalFileChooserUI.FilterComboBoxRenderer ()
|
¸Þ¼ÒµåÀÇ °³¿ä | |
Component |
getListCellRendererComponent (JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
ÁöÁ¤ÀÇ °ªÀ» Ç¥½ÃÇϵµ·Ï(µíÀÌ) ¼³Á¤µÈ ÄÄÆÛ³ÍÆ®¸¦ µ¹·ÁÁÝ´Ï´Ù. |
Ŭ·¡½º javax.swing. DefaultListCellRenderer ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , repaint , repaint , revalidate , validate |
Ŭ·¡½º javax.swing. JLabel ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
checkHorizontalKey , checkVerticalKey , getAccessibleContext , getDisabledIcon , getDisplayedMnemonic , getDisplayedMnemonicIndex , getHorizontalAlignment , getHorizontalTextPosition , getIcon , getIconTextGap , getLabelFor , getText , getUI , getUIClassID , getVerticalAlignment , getVerticalTextPosition , imageUpdate , paramString , setDisabledIcon , setDisplayedMnemonic , setDisplayedMnemonic , setDisplayedMnemonicIndex , setHorizontalAlignment , setHorizontalTextPosition , setIcon , setIconTextGap , setLabelFor , setText , setUI , setVerticalAlignment , setVerticalTextPosition , updateUI |
Ŭ·¡½º 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 , validateTree |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
»ý¼ºÀÚÀÇ »ó¼¼ |
public MetalFileChooserUI.FilterComboBoxRenderer()
¸Þ¼ÒµåÀÇ »ó¼¼ |
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
ListCellRenderer
ÀÇ ±â¼ú: paint
¸Þ¼Òµå°¡ ºÒ·Á °¡, ¼¿À» ¡¸Ç¥Çö¡¹ÇÕ´Ï´Ù. ¸®½ºÆ® ¼¿ÀÇ »çÀÌÁî°¡ °íÁ¤µÇ¾î ÀÖÁö ¾Ê±â ¶§¹®¿¡, ¸®½ºÆ®ÀÇ Ä¡¼ö¸¦ °è»êÇÒ Çʿ䰡 ÀÖ´Â °æ¿ì¿¡´Â ÀÌ ¸Þ¼Òµå°¡ ºÒ·Á °¡,getPreferredSize
¸¦ È£ÃâÇÒ ¼ö ÀÖ´Â ÄÄÆÛ³ÍÆ®¸¦ »ý¼ºÇÕ´Ï´Ù.
ListCellRenderer
³»ÀÇ getListCellRendererComponent
DefaultListCellRenderer
³»ÀÇ getListCellRendererComponent
list
- paint Çϰí ÀÖ´Â JListvalue
- list.getModel(). getElementAt(index)¿¡ ÀÇÇØ µ¹·ÁÁÖ¾îÁö´Â °ªindex
- ¼¿ÀÇ À妽ºisSelected
- ÁöÁ¤ÀÇ ¼¿ÀÌ ¼±ÅõǾúÀ» °æ¿ì´Â truecellHasFocus
- ÁöÁ¤ÀÇ ¼¿¿¡ Æ÷Ä¿½º°¡ ÀÖ´Â °æ¿ì´Â true
JList
,
ListSelectionModel
,
ListModel
|
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.