|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
public interface TreeCellEditor
Æ®¸®·Î ¿¡µðÅ͸¦ ¼³Á¤Çϴµ¥ ÇÊ¿äÇÑ È®Àå ±â´ÉÀ» CellEditor¿¡ Ãß°¡ÇÕ´Ï´Ù.
JTree
¸Þ¼µå °³¿ä | |
---|---|
Component |
getTreeCellEditorComponent (JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
¿¡µðÅÍÀÇ ¡¸ÃʱⰪ ¡¹¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
ÀÎÅÍÆäÀ̽º javax.swing. CellEditor ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
addCellEditorListener,
cancelCellEditing,
getCellEditorValue,
isCellEditable,
removeCellEditorListener,
shouldSelectCell,
stopCellEditing |
¸Þ¼µåÀÇ »ó¼¼ |
---|
Component getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
Ŭ¶óÀ̾ðÆ®ÀÇ Component °èÃþ¿¡ Ãß°¡ÇÒ Çʿ䰡 ÀÖ´Â ÄÄÆÛ³ÍÆ®¸¦ ¸®ÅÏÇÕ´Ï´Ù. ÀÌ ÄÄÆÛ³ÍÆ®°¡ Ŭ¶óÀ̾ðÆ®ÀÇ °èÃþ¿¡ Â¥³Ö¾îÁö¸é, »ç¿ëÀÚ ÀÔ·ÂÀ» ·»´õ¸µ ¹× ¼ö½ÅÇÒ ¼ö ÀÖ½À´Ï´Ù.
tree
- ¿¡µðÅÍ¿¡ ÆíÁýÀ» ¿ä±¸Çϰí ÀÖ´Â JTree. ÀÌ ÆÄ¶ó¹ÌÅÍ´Â nullµµ °¡´Évalue
- ÆíÁýµÇ´Â ¼¿Ä¡isSelected
- ¼¿ÀÌ ·»´õ¸µÀÌ µÇ¾î ¼±Åúΰ¡ ÇÏÀ̶óÀÌÆ® µÇ°í ÀÖ´Â °æ¿ì´Â trueexpanded
- ³ëµå°¡ Àü°³µÇ°í ÀÖ´Â °æ¿ì´Â trueleaf
- ³ëµå°¡ ÀÙ³ëµåÀÇ °æ¿ì´Â truerow
- ÆíÁýÁßÀÇ ³ëµåÀÇ Çà À妽º
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.