|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
Æ®¸®·Î ¿¡µðÅ͸¦ ¼³Á¤Çϴµ¥ ÇÊ¿äÇÑ È®Àå ±â´ÉÀ» 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 |
¸Þ¼ÒµåÀÇ »ó¼¼ |
public 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 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.