|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.text.FlowView.FlowStrategy
public static class FlowView.FlowStrategy
È帧ÀÇ ¹°¸®ÀûÀÎ ÆûÀ» À¯ÁöÇϱâ À§ÇÑ ¹æ¹ýÀÔ´Ï´Ù. µðÆúÆ®ÀÇ ±¸Çö¿¡´Â »óŰ¡ ÀüÇô ¾ø°í, ·¹À̾ƿôÀÌ ÁöÁ¤µÈ FlowView ¾È¿¡¼ ¹«È¿ÀÎ °æ¿ì´Â ÀüÇ÷ο츦 Àç°è»êÇÕ´Ï´Ù. Çϳª ´õÀÇ ¹æ¹ýÀº ¼ºê Ŭ·¡½º¿¡¼ ±¸ÇöÇØ, ·¹À̾ƿôÀ» Ãß°¡ ¼öº¹Çϵ簡 ¶Ç´Â ´ëüÀÇ ºê·¹ÀÌÅ© µ¿ÀÛÀ» ½ÇÇàÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù.
»ý¼ºÀÚ °³¿ä | |
---|---|
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)
ÇöÀçÀÇ È帧ÀÇ ÀϺθ¦ ³ªÅ¸³»±â À§Çؼ »ç¿ëÇÒ ¼ö ÀÖ´Â ºä¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
protected View |
getLogicalView (FlowView fv)
ÀÌ ¸Þ¼µå´Â FlowView ³í¸® ºä¿¡ÀÇ Ç÷ο츦 ³ªÅ¸³À´Ï´Ù. |
void |
insertUpdate (FlowView fv,
DocumentEvent e,
Rectangle alloc)
ÀÌ ºä°¡ ´ã´çÇÏ´Â À§Ä¡¿¡¼ ¹®¼¿¡ ¹«¾ùÀΰ¡°¡ »ðÀÔµÈ °ÍÀ» ÅëÁöÇÕ´Ï´Ù. |
void |
layout (FlowView fv)
ÁöÁ¤µÈ FlowView Ç÷ο츦 °»½ÅÇÕ´Ï´Ù. |
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)
fv
- º¯°æÀ» Æ÷ÇÔÇÑ FlowView
e
- Document¿¡ ´ëÇØ¼ ÇàÇØÁø º¯°æ¿¡ ´ëÇØ ¼³¸íÇÏ´Â DocumentEvent
alloc
- View
BoundsView.changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)
protected View getLogicalView(FlowView fv)
public void layout(FlowView fv)
fv
- ÀçÇ÷οì ÇÏ´Â ºäprotected int layoutRow(FlowView fv, int rowIndex, int pos)
rowIndex
- ºä¸¦ °ÅµÎ´Â ÇàÀÇ À妽º. ÇàÀº ÀÔ±¸¿¡¼´Â °ø¹épos
- ÀÌÀÚ½Ä
ºä ¿ä¼Ò ¼ÓÀÇ ÇöÀçÀÇ °³½Ã À§Ä¡
protected void adjustRow(FlowView fv, int rowIndex, int desiredSpan, int x)
rowIndex
- ÇöÀçÀÇ ¹èÄ¡ ½ºÆÒ¿¡ Á¶Á¤µÇ´Â ÇàdesiredSpan
- ÇöÀçÀÇ ¹èÄ¡ ½ºÆÒ >= 0x
- r
°³½Ã À§Ä¡protected View createView(FlowView fv, int startOffset, int spanLeft, int rowIndex)
fv
- Ç÷ο츦 º¸°ü À¯ÁöÇÏ´Â ºästartOffset
- ÀÛ¼ºµÇ´Â ºäÀÇ °³½Ã À§Ä¡spanLeft
- Çà¿¡ »ðÀԵǴ ³ª¸ÓÁöÀÇ ½ºÆÒrowIndex
- ºäÀÇ ¹èġóÀÇ Çà
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.