|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.text.View
javax.swing.text.CompositeView
javax.swing.text.BoxView
javax.swing.text.TableView.TableRow
public class TableView.TableRow
Çà Áß½ÉÀÇ Å×ÀÌºí³»ÀÇ ÇàÀÇ ºäÀÔ´Ï´Ù.
ÇÊµå °³¿ä |
---|
Ŭ·¡½º javax.swing.text. View ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
BadBreakWeight,
ExcellentBreakWeight,
ForcedBreakWeight,
GoodBreakWeight,
X_AXIS,
Y_AXIS |
ÀÎÅÍÆäÀ̽º javax.swing. SwingConstants ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
BOTTOM,
CENTER,
EAST,
HORIZONTAL,
LEADING,
LEFT,
NEXT,
NORTH,
NORTH_EAST,
NORTH_WEST,
PREVIOUS,
RIGHT,
SOUTH,
SOUTH_EAST,
SOUTH_WEST,
TOP,
TRAILING,
VERTICAL,
WEST |
»ý¼ºÀÚ °³¿ä | |
---|---|
TableView.TableRow (Element elem)
ÁöÁ¤µÈ ¿ä¼ÒÀÇ TableView¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
int |
getResizeWeight (int axis)
ÁöÁ¤µÈ ÃàÀ¸·Î µû¶ó ºäÀÇ »çÀÌÁ º¯°æÇÒ ¼ö ÀÖÀ»Áö ¾î¶³Áö¸¦ ÁöÁ¤ÇÕ´Ï´Ù. |
protected View |
getViewAtPosition (int pos,
Rectangle a)
¸ðµ¨³»¿¡¼ ÁöÁ¤µÈ À§Ä¡¸¦ ³ªÅ¸³»´ÂÀÚ½Ä ºä¸¦ ÃëµæÇÕ´Ï´Ù. |
protected void |
layoutMajorAxis (int targetSpan,
int axis,
int[] offsets,
int[] spans)
¹Ú½ºÀÇ ÁÖÃà (Áï, ±×°ÍÀÌ ³ªÅ¸³»´Â Ãà)À» ·¹À̾ƿô ÇÕ´Ï´Ù. |
protected void |
layoutMinorAxis (int targetSpan,
int axis,
int[] offsets,
int[] spans)
¹Ú½ºÀÇ ºÎÃà (Áï, ±×°ÍÀÌ ³ªÅ¸³»´Â Ãà°ú Á÷°¢ÀÇ Ãà)À» ·¹À̾ƿô ÇÕ´Ï´Ù. |
void |
replace (int offset,
int length,
View [] views)
¾ÆÀÌ ºä¸¦ º¯°æÇÕ´Ï´Ù. |
Ŭ·¡½º javax.swing.text. BoxView ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
baselineLayout,
baselineRequirements,
calculateMajorAxisRequirements,
calculateMinorAxisRequirements,
childAllocation,
flipEastAndWestAtEnds,
forwardUpdate,
getAlignment,
getAxis,
getChildAllocation,
getHeight,
getMaximumSpan,
getMinimumSpan,
getOffset,
getPreferredSpan,
getSpan,
getViewAtPoint,
getWidth,
isAfter,
isAllocationValid,
isBefore,
isLayoutValid,
layout,
layoutChanged,
modelToView,
paint,
paintChild,
preferenceChanged,
setAxis,
setSize,
viewToModel |
Ŭ·¡½º javax.swing.text. CompositeView ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
getBottomInset,
getInsideAllocation,
getLeftInset,
getNextEastWestVisualPositionFrom,
getNextNorthSouthVisualPositionFrom,
getNextVisualPositionFrom,
getRightInset,
getTopInset,
getView,
getViewCount,
getViewIndex,
getViewIndexAtPosition,
loadChildren,
modelToView,
setInsets,
setParagraphInsets,
setParent |
Ŭ·¡½º javax.swing.text. View ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
append,
breakView,
changedUpdate,
createFragment,
forwardUpdateToView,
getAttributes,
getBreakWeight,
getContainer,
getDocument,
getElement,
getEndOffset,
getGraphics,
getParent,
getStartOffset,
getToolTipText,
getViewFactory,
getViewIndex,
insert,
insertUpdate,
isVisible,
modelToView,
remove,
removeAll,
removeUpdate,
updateChildren,
updateLayout,
viewToModel |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public TableView.TableRow(Element elem)
elem
- ÀÌ ºä°¡ Ãë±ÞÇÏ´Â ¿ä¼Ò¸Þ¼µåÀÇ »ó¼¼ |
---|
public void replace(int offset, int length, View [] views)
BoxView
³»ÀÇ replace
offset
- »õ·Î¿î ºä¸¦ »ðÀÔÇϱâ À§ÇÑ,
ÀÚ½Ä
ºäÀÇ °³½Ã À妽º. ÀÌ °ªÀº 0 ÀÌ»óÀ¸·Î getViewCount ÀÌÇÏlength
- »èÁ¦ÇÏ´Â ÇöÀçÀÇÀÚ½Ä
ºäÀÇ ¼ö. ÀÌ °ªÀº 0 ÀÌ»óÀ¸·Î (getViewCount() - offset) ÀÌÇÏviews
- Ãß°¡ÇÏ´ÂÀÚ½Ä
ºä. Ãß°¡ÇÏ´ÂÀÚ½Ä
(»èÁ¦Çϱ⠽±´Ù)°¡ ¾ø´Â °ÍÀ» ³ªÅ¸³»´Â °æ¿ì´Â null
°¡´É¼ºµµ ÀÖ´Ùprotected void layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans)
ÀÌ ¸Þ¼µå´Â °¢ ÀÚ¿¡°Ô Å×À̺íÀÇ ·ÄÆøÀÇ ½ºÆÒÀ» Á¦°øÇØ, º¹¼öÀÇ ¿À» º¸ÃæÇÏ´Â ¼¿¿¡´Â º¹¼ö¿ÀÇ ½ºÆÒÀ» Á¦°øÇϱâ À§Çؼ À籸ÇöµË´Ï´Ù.
BoxView
³»ÀÇ layoutMajorAxis
targetSpan
- ºä·Î ÁöÁ¤µÈ ½ºÆÒÀÇ ÇÕ°è. ÀÚ½ÄÀ» ·¹À̾ƿô Çϱâ À§Çؼ »ç¿ëµÇ´Âaxis
- ·¹À̾ƿô µÇ´Â Ãàoffsets
- °¢ ÀÚ ºäÀÇ ºäÀÇ ±âÁ¡À¸·ÎºÎÅÍÀÇ ¿ÀÇÁ¼Â(offset). ÀÌ°ÍÀº ¹Ýȯ°ªÀ̸ç, ÀÌ ¸Þ¼µåÀÇ ±¸Çö¿¡ ÀÇÇØ ÇÒ´çÇÒ ¼ö ÀÖ´Âspans
- °¢ ÀÚ ºäÀÇ ½ºÆÒ. ÀÌ°ÍÀº ¹Ýȯ°ªÀ̸ç, ÀÌ ¸Þ¼µåÀÇ ±¸Çö¿¡ ÀÇÇØ ÇÒ´çÇÒ ¼ö ÀÖ´Ùprotected void layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans)
ÀÌ ¸Þ¼µå´Â ½´ÆÛ Å¬·¡½º¿¡ À§¾çÀÇÇØ º¹¼öÇà¿¡ °ÉÄ¡´Â ¼¿ÀÇ ½ºÆÒÀ» Á¶Á¤Çϱâ À§Çؼ ±¸ÇöµË´Ï´Ù.
BoxView
³»ÀÇ layoutMinorAxis
targetSpan
- ºä·Î ÁöÁ¤µÈ ½ºÆÒÀÇ ÇÕ°è. ÀÚ½ÄÀ» ·¹À̾ƿô Çϱâ À§Çؼ »ç¿ëµÇ´Âaxis
- ·¹À̾ƿô µÇ´Â Ãàoffsets
- °¢ ÀÚ ºäÀÇ ºäÀÇ ±âÁ¡À¸·ÎºÎÅÍÀÇ ¿ÀÇÁ¼Â(offset). ÀÌ°ÍÀº ¹Ýȯ°ªÀ̸ç, ÀÌ ¸Þ¼µåÀÇ ±¸Çö¿¡ ÀÇÇØ ÇÒ´çÇÒ ¼ö ÀÖ´Âspans
- °¢ ÀÚ ºäÀÇ ½ºÆÒ. ÀÌ°ÍÀº ¹Ýȯ°ªÀ̸ç, ÀÌ ¸Þ¼µåÀÇ ±¸Çö¿¡ ÀÇÇØ ÇÒ´çÇÒ ¼ö ÀÖ´Ùpublic int getResizeWeight(int axis)
BoxView
³»ÀÇ getResizeWeight
axis
- View.X_AXIS ¶Ç´Â View.Y_AXIS
IllegalArgumentException
- ÃàÀÌ ¹«È¿ÀÎ °æ¿ìprotected View getViewAtPosition(int pos, Rectangle a)
CompositeView
³»ÀÇ getViewAtPosition
pos
- °Ë»ö À§Ä¡ >= 0a
- Å×ÀÌºí¿¡ÀÇ ÀԷ½ÃÀÇ ÇÒ´ç. ¹×, Á¾·á½ÃÀÇ À§Ä¡¸¦ Æ÷ÇÔÇÑ ºä¿¡ÀÇ ÇÒ´ç
null
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.