| Prima :: Grids. PRIMA :: GRIDS´Â °ÝÀÚ À§Á¬À» Æ÷ÇÔÇÏ´Â PERL ¸ðµâÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Prima :: Grids. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Dmitry Karasik
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~karasik/Prima-1.26/pod/Prima/Widget.pod
Prima :: Grids. ű×
Prima :: Grids. ¼³¸í
Prima :: Grids´Â Grid Widgets°¡ Æ÷ÇÔ µÈ Perl ¸ðµâÀÔ´Ï´Ù. Prima :: Grids´Â Grid Widgets.Synopsis »ç¿ë Prima :: Grids¸¦ Æ÷ÇÔÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. $ grid = prima :: grid-> create (cells => , , ,], onclick => sub {print $ _ -> get_cell_text ($ _ -> focusedcell), "selecthn";}. ¸ðµâÀº ¸î °¡Áö Ãß»óÈ µÈ °ÝÀÚ Ç¥Çö ·¹À̾î. Ŭ·¡½º °èÃþ ±¸Á¶´Â ´ÙÀ½°ú °°½À´Ï´Ù. AbstractGridViewer AbstractGrid GridViewer GridThe ·çÆ® Ŭ·¡½º, Prima :: AbstractGridViewer´Â ÀϹÝÀûÀÎ ÀÎÅÍÆäÀ̽º¸¦ Á¦°øÇϸç, ±× ÀÚü·Î Á÷Á¢ »ç¿ëÇÒ ¼ö¾ø´Â °ÍÀÔ´Ï´Ù. Ŭ·¡½º °£ÀÇ ÁÖ¿ä Â÷ÀÌÁ¡Àº ¼¿ µ¥ÀÌÅÍ°¡ ÀúÀåµÇ´Â ¹æ½ÄÀ» Áß½ÉÀ¸·ÎÇÕ´Ï´Ù. Prima :: Grid¿¡¼ Á¦°øÇÏ´Â ÅؽºÆ® Àü¿ë ¼¿ÀÇ °¡Àå °£´ÜÇÑ Á¶Á÷Àº µ¥ÀÌÅ͸¦ 2 Â÷¿ø ½ºÄ®¶óÀÇ 2 Â÷¿ø ¹è¿·Î ÀúÀåÇÕ´Ï´Ù. º¸´Ù Á¤±³ÇÑ ÀúÀå ¹× Ç¥Çö À¯ÇüÀÌ ½ÇÇöµÇÁö ¾ÊÀ¸¸ç ÇÁ·Î±×·¡¸Ó´Â ´õ ¸¹Àº Ãß»ó Ŭ·¡½º¸¦ »ç¿ëÇÏ¿© ÀÚü ¸ÞÄ¿´ÏÁòÀ» À¯µµÇÏ´Â °ÍÀ» Ã˱¸ÇÕ´Ï´Ù. Prima :: Grid¿Í ´Ù¸¥ Ç׸ñ ÀúÀå¼Ò¸¦ ±¸¼ºÇÏ·Á¸é, ÀϹÝÀûÀ¸·Î ¹®ÀÚ¿, ÃøÁ¤ ¹× ±×¸®±â À̺¥Æ® ¶Ç´Â ±× ¸Þ¼ÒµåÀÇ ¸Þ¼Òµå°¡ counterparts : get_cell_text, columnwidth, rowheight ¹× draw_items.The °ÝÀÚ À§Á¬À» Æ÷ÇÔÇϵµ·Ï ¼³°èµÇ¾ú½À´Ï´Ù. °¡º¯ ¹üÀ§ÀÇ ¼¼Æ÷, µÎ °¡Áö À¯Çü, Á¤»ó ¹× µé¿© ¾²±â. µé¿© ¾²±â Çà°ú ¿Àº ±×¸®µå ¿©¹é¿¡ Ç¥½ÃµÇ¸ç ÇØ´ç ¼¿Àº °íÀ¯ ÇÑ »ö»óÀ¸·Î ±×·ÁÁý´Ï´Ù. ÇÏ´Ü µé¿© ¾²±â Çà¿¡ ´ëÇÑ »ç¿ë ¿¹Á¦´Â ½ºÇÁ·¹µå ½ÃÆ® ÀÀ¿ë ÇÁ·Î±×·¥ÀÇ Sum ÇàÀÔ´Ï´Ù. ¸Ç À§·Î µé¿© ¾²±â ÇàÀº ¿ÀÇ Çì´õ¸¦ Ç¥½ÃÇÏ´Â µ¥ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÏ¹Ý ¼¿À» »ç¿ëÀÚ°¡ ¼±ÅÃÇÏ°í ½ºÅ©·ÑÇÏ°í ¼±ÅÃÇÒ ¼ö ÀÖ½À´Ï´Ù. ¼¿ ¼±ÅÃÀº Á÷»ç°¢Çü ¿µ¿ª¸¸À» Æ÷ÇÔ ÇÒ ¼ö ÀÖÀ¸¹Ç·Î ¼±ÅÃÀÇ ½ÃÀÛ°ú ³¡°ú µÎ °³ÀÇ Á¤¼ö ½ÖÀ¸·Î ÀÛµ¿µË´Ï´Ù. À§Á¬Àº µÎ °³ÀÇ ½Ã°¢Àû ½ºÅ©·Ñ ¸ðµå¿¡¼ ÀÛµ¿ÇÕ´Ï´Ù. °ø°£À» Çã¿ëÇÏ¸é ½ºÅ©·Ñ ¸·´ë´Â °¡Àå ¿ÞÂÊ ¼¿¿¡ ¿µÇâÀ» ¹ÌĨ´Ï´Ù. À§Á¬ÀÌ Àû¾îµµ ÇϳªÀÇ ¼¿°ú ¸ðµç µé¿© ¾²±â¸¦ ¼ö¿ëÇϱ⿡ ÃæºÐÈ÷ Å©Áö ¾ÊÀ¸¸é ·¹À̾ƿôÀÌ Çȼ¿·Î ½ºÅ©·ÑµË´Ï´Ù. ÀÌ·¯ÇÑ ¸ðµå´Â ½ºÅ©·Ñ À¯´Ö ÀÌÈÄÀÇ '¼¿'¹× 'Çȼ¿'À̶ó´Â À̸§ÀÌ ÁöÁ¤µË´Ï´Ù. À§Á¬Àº ¼¿ÀÇ ±×¸®µå ¼±À» µå·¡±×ÇÏ¿© ¼¿ ³Êºñ¿Í ³ôÀ̸¦ ´ëȽÄÀ¸·Î º¯°æÇÒ ¼ö ÀÖ½À´Ï´Ù. ¼¿ :: AbstractGridViewerPrima :: AbstractGridViewer, ¸ðµç ±×¸®µåÀÇ ±âº» ¸ðµâÀÇ À§Á¬Àº ÀÏ¹Ý ±×¸®µå ºê¶ó¿ì¡ ±â´É°ú ÅؽºÆ® ÁöÇ⠱׸®µåÀÇ ±â´É¿¡ ´ëÇÑ ÀÎÅÍÆäÀ̽º¸¦ Á¦°øÇÕ´Ï´Ù. Ŭ·¡½º´Â Á÷Á¢ »ç¿ëÇÒ ¼ö ¾ø½À´Ï´Ù .prima :: AbstractGridViewer´Â Prima :: GroupScrollerÀÇ ÀÚ¼ÕÀ̸ç ÀϺΠ¼Ó¼ºÀº ¿©±â¿¡ ¼³¸íµÇ¾î ÀÖÁö ¾Ê½À´Ï´Ù. Prima :: IntutilsÀÇ "Prima :: GroupScroller"¸¦ ÂüÁ¶ÇϽʽÿÀ. ¿ä±¸ »çÇ× : ¡¤ Perl.
Prima :: Grids. °ü·Ã ¼ÒÇÁÆ®¿þ¾î