|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.text.View | +--javax.swing.text.CompositeView | +--javax.swing.text.BoxView | +--javax.swing.text.FlowView | +--javax.swing.text.ParagraphView | +--javax.swing.text.html.ParagraphView
´Ü¶ôÀ» Ç¥½ÃÇØ, CSS ¼Ó¼º¿¡ ±Ù°ÅÇØ ±¸¼ºÇÕ´Ï´Ù.
ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä |
Ŭ·¡½º javax.swing.text. FlowView À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
FlowView.FlowStrategy |
ÇʵåÀÇ °³¿ä |
Ŭ·¡½º javax.swing.text. ParagraphView ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
firstLineIndent |
Ŭ·¡½º javax.swing.text. FlowView ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
layoutPool , layoutSpan , strategy |
Ŭ·¡½º 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 |
»ý¼ºÀÚÀÇ °³¿ä | |
ParagraphView (Element elem)
ÁöÁ¤µÈ ¿ä¼ÒÀÇ ParagraphView ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ °³¿ä | |
protected SizeRequirements |
calculateMinorAxisRequirements (int axis,
SizeRequirements r)
ªÀº Ãà ¹æÇâ¿¡ µû¸¥ ´Ü¶ô¿¡ ´ëÇÑ Çʿ䷮À» °è»êÇÕ´Ï´Ù. |
AttributeSet |
getAttributes ()
Ç¥Çö·Î »ç¿ëÇÏ´Â ¼Ó¼ºÀ» ²¨³À´Ï´Ù. |
float |
getMaximumSpan (int axis)
ÀÌ ºäÀÇ, Ãà (axis)¿¡ µû¸¥ ÃÖ´ë ½ºÆÒÀ» °áÁ¤ÇÕ´Ï´Ù. |
float |
getMinimumSpan (int axis)
ÀÌ ºäÀÇ, Ãà (axis)¿¡ µû¸¥ ÃÖ¼Ò ½ºÆÒÀ» °áÁ¤ÇÕ´Ï´Ù. |
float |
getPreferredSpan (int axis)
ÀÌ ºäÀÇ ÀûÀýÇÑ ½ºÆÒÀ» °áÁ¤ÇÕ´Ï´Ù. |
protected StyleSheet |
getStyleSheet ()
|
boolean |
isVisible ()
ÀÌ ºä°¡ Ç¥½ÃµÉÁö ¾î¶³Áö¸¦ ÆÇÁ¤ÇÕ´Ï´Ù. |
void |
paint (Graphics g,
Shape a)
ÁöÁ¤µÈ Ç¥Çö Ç¥¸é°ú ±× area¸¦ »ç¿ëÇØ Ç¥Çö ÇÕ´Ï´Ù. |
void |
setParent (View parent)
ÀÌ ºä¿¡ »ç¿ëÇϴ ģºä¸¦ È®¸³ÇÕ´Ï´Ù. |
protected void |
setPropertiesFromAttributes ()
StyleConstants ³»ÀÇ ¼öÄ¡ (½´ÆÛ Ŭ·¡½º¿¡¼ »ç¿ëµÈ´Ù)´Â ¾Æ´Ï°í CSS ¼Ó¼ºÀ¸·ÎºÎÅÍ ´Ü¶ôÀ» ¼³Á¤ÇÕ´Ï´Ù. |
Ŭ·¡½º javax.swing.text. ParagraphView ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
adjustRow , breakView , changedUpdate , createRow , findOffsetToCharactersInString , flipEastAndWestAtEnds , getAlignment , getBreakWeight , getClosestPositionTo , getFlowSpan , getFlowStart , getLayoutView , getLayoutViewCount , getNextNorthSouthVisualPositionFrom , getPartialSize , getTabBase , getTabSet , nextTabStop , setFirstLineIndent , setJustification , setLineSpacing |
Ŭ·¡½º javax.swing.text. FlowView ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
getFlowAxis , getViewIndexAtPosition , insertUpdate , layout , loadChildren , removeUpdate |
Ŭ·¡½º javax.swing.text. BoxView ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
baselineLayout , baselineRequirements , calculateMajorAxisRequirements , childAllocation , forwardUpdate , getAxis , getChildAllocation , getHeight , getOffset , getResizeWeight , getSpan , getViewAtPoint , getWidth , isAfter , isAllocationValid , isBefore , isLayoutValid , layoutChanged , layoutMajorAxis , layoutMinorAxis , modelToView , paintChild , preferenceChanged , replace , setAxis , setSize , viewToModel |
Ŭ·¡½º javax.swing.text. CompositeView ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
getBottomInset , getInsideAllocation , getLeftInset , getNextEastWestVisualPositionFrom , getNextVisualPositionFrom , getRightInset , getTopInset , getView , getViewAtPosition , getViewCount , getViewIndex , modelToView , setInsets , setParagraphInsets |
Ŭ·¡½º javax.swing.text. View ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
append , breakView , createFragment , forwardUpdateToView , getBreakWeight , getContainer , getDocument , getElement , getEndOffset , getGraphics , getParent , getStartOffset , getToolTipText , getViewFactory , getViewIndex , insert , modelToView , remove , removeAll , updateChildren , updateLayout , viewToModel |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
»ý¼ºÀÚÀÇ »ó¼¼ |
public ParagraphView(Element elem)
elem
- ÀÌ ºä°¡ Ãë±ÞÇÏ´Â ¿ä¼Ò¸Þ¼ÒµåÀÇ »ó¼¼ |
public void setParent(View parent)
ÀÌ ¸Þ¼Òµå´Â ½´ÆÛ Ŭ·¡½º¿¡ÀÇ Àü¼ÛÀ» À§Çؼ(¶§¹®¿¡) ±¸ÇöµË´Ï´Ù. ¶Ç setPropertiesFromAttributes ¸Þ¼Òµå¸¦ È£ÃâÇØ CSS ¼Ó¼ºÀ¸·ÎºÎÅÍ ´Ü¶ô ÇÁ·ÎÆÛƼ¸¦ ¼³Á¤Çϱâ À§Çؼ ±¸ÇöµË´Ï´Ù. È£ÃâÀÌ ÀÌ Å¸Àֿ̹¡ ÇàÇØÁö´Â °ÍÀº »óÀ§ ¹æÇâÀÇ ¸ðµç Ä£ºäÀÇ ¼Ó¼ºÀ¸·Î ÇØ°áÇÒ ¼ö ÀÖ´Â °ÍÀ» ÇÁ·ÎÅØ¼ÇÇϱâ (À§ÇØ)¶§¹®¿¡ÀÔ´Ï´Ù.
CompositeView
³»ÀÇ setParent
parent
- »õ·Î¿î ºÎ¸ð. ºä°¡ ÀÌÀü¿¡ Ãß°¡µÈ ºÎ¸ð·ÎºÎÅÍ »èÁ¦µÇ´Â °æ¿ì´Â nullpublic AttributeSet getAttributes()
View
³»ÀÇ getAttributes
protected void setPropertiesFromAttributes()
ParagraphView
³»ÀÇ setPropertiesFromAttributes
protected StyleSheet getStyleSheet()
protected SizeRequirements calculateMinorAxisRequirements(int axis, SizeRequirements r)
FlowView
³»ÀÇ calculateMinorAxisRequirements
axis
- Á¶»çÁßÀÇ Ãàr
- SizeRequirements
¿ÀºêÁ§Æ®. null
ÀÇ °æ¿ì, 1 kr ÀÛ¼ºµÈ´Ù
SizeRequirements
¿ÀºêÁ§Æ®SizeRequirements
public boolean isVisible()
View
³»ÀÇ isVisible
public void paint(Graphics g, Shape a)
ParagraphView
³»ÀÇ paint
g
- »ç¿ëÇϴ ǥÇö Ç¥¸éa
- Ç¥Çö¸¦ À§Çؼ(¶§¹®¿¡) ÇÒ´çÇÒ ¼ö ÀÖ¾ú´ø areaView.paint(java.awt.Graphics, java.awt.Shape)
public float getPreferredSpan(int axis)
BoxView
³»ÀÇ getPreferredSpan
axis
- View.X_AXIS ¶Ç´Â View.Y_AXIS
BoxView.getPreferredSpan(int)
public float getMinimumSpan(int axis)
BoxView
³»ÀÇ getMinimumSpan
axis
- View.X_AXIS
¶Ç´Â View.Y_AXIS
BoxView.getMinimumSpan(int)
public float getMaximumSpan(int axis)
BoxView
³»ÀÇ getMaximumSpan
axis
- View.X_AXIS
¶Ç´Â View.Y_AXIS
BoxView.getMaximumSpan(int)
|
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.