|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.text.FlowView.FlowStrategy
Ç÷οì(flow)ÀÇ ¹°¸®ÀûÀÎ ÆûÀ» À¯ÁöÇϱâ À§ÇÑ ¹æ¹ýÀÔ´Ï´Ù. µðÆúÆ®ÀÇ ±¸Çö¿¡´Â »óŰ¡ ÀüÇô ¾ø°í, ·¹À̾ƿôÀÌ ÁöÁ¤µÈ FlowView Áß(¾È)¿¡¼ ¹«È¿ÀÎ °æ¿ì´Â ÀüÇ÷οì(flow)¸¦ Àç°è»êÇÕ´Ï´Ù. Çϳª ´õÀÇ ¹æ¹ýÀº ¼ºê Ŭ·¡½º¿¡¼ ±¸ÇöÇØ, ·¹À̾ƿôÀ» Ãß°¡ ¼öº¹Çϵ簡 ¶Ç´Â ´ëüÀÇ ºê·¹ÀÌÅ© µ¿ÀÛÀ» ½ÇÇàÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù.
»ý¼ºÀÚÀÇ °³¿ä | |
FlowView.FlowStrategy ()
|
¸Þ¼ÒµåÀÇ °³¿ä | |
protected void |
adjustRow (FlowView fv,
int rowIndex,
int desiredSpan,
int x)
ÁöÁ¤µÈ ÇàÀ» °¡´ÉÇϸé Á¶Á¤ÇØ, ¹èÄ¡ ½ºÆÒ³»¿¡ ³Öµµ·Ï(µíÀÌ) ÇÕ´Ï´Ù. |
void |
changedUpdate (FlowView fv,
DocumentEvent e,
Rectangle alloc)
ÀÌ ºä°¡ Ãë±ÞÇÏ´Â À§Ä¡¿¡¼ ¼Ó¼ºÀÌ º¯°æµÈ °ÍÀ» ¹®¼·ÎºÎÅÍ ÅëÁöÇÕ´Ï´Ù. |
protected View |
createView (FlowView fv,
int startOffset,
int spanLeft,
int rowIndex)
ÇöÀçÀÇ Ç÷οì(flow)ÀÇ ÀϺθ¦ ³ªÅ¸³»±â À§Çؼ(¶§¹®¿¡) »ç¿ëÇÒ ¼ö ÀÖ´Â ºä¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
protected View |
getLogicalView (FlowView fv)
ÀÌ ¸Þ¼Òµå´Â FlowView ÀÇ ³í¸® ºä¿¡ÀÇ Ç÷οì(flow)¸¦ ³ªÅ¸³À´Ï´Ù. |
void |
insertUpdate (FlowView fv,
DocumentEvent e,
Rectangle alloc)
ÀÌ ºä°¡ ´ã´çÇÏ´Â À§Ä¡¿¡¼ ¹®¼¿¡ ¹«¾ùÀΰ¡°¡ »ðÀÔµÈ °ÍÀ» ÅëÁöÇÕ´Ï´Ù. |
void |
layout (FlowView fv)
ÁöÁ¤µÈ FlowView ÀÇ Ç÷οì(flow)¸¦ °»½ÅÇÕ´Ï´Ù. |
protected int |
layoutRow (FlowView fv,
int rowIndex,
int pos)
ÇàÀÇ ¹èÄ¡ ½ºÆÒ ¼Ó¿¡ ¾ÈÁ¤µÇ´Â ºäÀÇ ÇàÀ» ÀÛ¼ºÇÕ´Ï´Ù. |
void |
removeUpdate (FlowView fv,
DocumentEvent e,
Rectangle alloc)
ÀÌ ºä°¡ ´ã´çÇÏ´Â ¹®¼³»ÀÇ À§Ä¡·ÎºÎÅÍ ¹«¾ùÀΰ¡°¡ »èÁ¦µÇ¾ú´Ù°í ÇÏ´Â °ÍÀ» ÅëÁöÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
»ý¼ºÀÚÀÇ »ó¼¼ |
public FlowView.FlowStrategy()
¸Þ¼ÒµåÀÇ »ó¼¼ |
public void insertUpdate(FlowView fv, DocumentEvent e, Rectangle alloc)
e
- °ü·ÃÇÏ´Â ¹®¼·ÎºÎÅÍÀÇ º¯°æ Á¤º¸alloc
- ÀÎ ¼¼Æ®ÀÇ ¾ÈÂÊÀÇ ºäÀÇ ÇöÀçÀÇ ÇÒ´ç. ºä°¡ Ç¥½ÃµÇ¾î ÀÖÁö ¾ÊÀº °æ¿ì, ¹Ýȯ°ªÀº nullView.insertUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)
public void removeUpdate(FlowView fv, DocumentEvent e, Rectangle alloc)
e
- °ü·ÃÇÏ´Â ¹®¼·ÎºÎÅÍÀÇ º¯°æ Á¤º¸alloc
- ÀÎ ¼¼Æ®ÀÇ ¾ÈÂÊÀÇ ºäÀÇ ÇöÀçÀÇ ÇÒ´çView.removeUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)
public void changedUpdate(FlowView fv, DocumentEvent e, Rectangle alloc)
View.changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)
protected View getLogicalView(FlowView fv)
public void layout(FlowView fv)
protected int layoutRow(FlowView fv, int rowIndex, int pos)
rowIndex
- ºä¸¦ °ÅµÎ´Â ÇàÀÇ À妽º. ÇàÀº ÀÔ±¸¿¡¼´Â ÇÏ´Ãpos
- ÀÌ ¾ÆÀÌ ºä ¿ä¼Ò ¼ÓÀÇ ÇöÀçÀÇ °³½Ã À§Ä¡
protected void adjustRow(FlowView fv, int rowIndex, int desiredSpan, int x)
desiredSpan
- ÇöÀçÀÇ ¹èÄ¡ ½ºÆÒ >= 0x
- r ÀÇ °³½Ã À§Ä¡protected View createView(FlowView fv, int startOffset, int spanLeft, int rowIndex)
fv
- Ç÷οì(flow)¸¦ º¸°ü À¯ÁöÇÏ´Â ºästartOffset
- ÀÛ¼ºµÇ´Â ºäÀÇ °³½Ã À§Ä¡spanLeft
- Çà¿¡ »ðÀԵǴ ³ª¸ÓÁöÀÇ ½ºÆÒrowIndex
- ºäÀÇ ¹èġóÀÇ Çà
|
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.