|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.text.View | +--javax.swing.text.ComponentView | +--javax.swing.text.html.ObjectView
<object> ¿ä¼Ò¸¦ À§ÇÑ ºäÀΟÆä½º¸¦ ±¸ÇöÇÏ´Â ÄÜÆ÷³ÙÆ®µ¥ÄÚ·¹ÀÌŸÀÔ´Ï´Ù.
ÀÌ ºä´Â classid
¼Ó¼ºÀ¸·Î ÁöÁ¤µÈ Ŭ·¡½ºÀÇ ·Îµå¸¦ ½Ç½ÃÇÕ´Ï´Ù. °¡´ÉÇÑ °æ¿ì´Â °ü·ÃÇÏ´Â Document ÀÇ ·Îµå¿¡ »ç¿ëµÈ Classloader °¡ »ç¿ëµË´Ï´Ù. Åë»óÀº EditorKit ÀÇ ·Îµå¿¡ »ç¿ëÇÏ´Â ClassLoader ¿Í °°½À´Ï´Ù. ¹®¼ÀÇ ClassLoader °¡ null ÀÇ °æ¿ì´Â Class.forName
°¡ »ç¿ëµË´Ï´Ù.
Ŭ·¡½ºÀÇ ·Îµå¿¡ ¼º°øÇßÀ» °æ¿ì´Â Class.newInstance
¸¦ È£ÃâÇÏ´Â °ÍÀ¸·Î, Ŭ·¡½ºÀÇ ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù. ¿ÀºêÁ§Æ®¸¦ Ç¥½ÃÇϱâ À§Çؼ, ±× ÀνºÅϽº¸¦ java.awt.Component
Çü¿¡ ³×·Î¿ì º¯È¯ÇÕ´Ï´Ù.
ÀÌ ºä´Â ÆÄ¶ó¹ÌÅͼ¼Æ®¸¦ Á¦ÇѺηΠ°ü¸®ÇÒ ¼öµµ ÀÖ½À´Ï´Ù. <object> ¿ä¼Ò·Î ÁöÁ¤ÇÏ´Â ÆÄ¶ó¹ÌÅÍ´Â °ü·ÃÇÏ´Â ¿ä¼ÒÀÇ ¼Ó¼º ¼¼Æ®¿¡µµ, ´Ü¼øÇÑ Ä³¸¯ÅÍ ¶óÀÎÀÇ ÇüÅ·ΠÁ¸ÀçÇÑ´Ù°í º¸¿©Áý´Ï´Ù. °¢°¢ÀÇ bean ÇÁ·ÎÆÛƼ´Â AttributeSet ÀÇ Å°·Î¼ Á¶È¸µÇ¾î ÀÌ ¶§, ÇÁ·ÎÆÛƼÀÇ ÆÄ¶ó¹ÌÅÍ ÁöÁ¤ÀÌ ÀÖÀ¸¸é, null ÀÌ¿ÜÀÇ (String ÇüÀÇ) °ªÀÌ ÀÖ´Ù°í º¸¿©Áý´Ï´Ù. ÆÄ¶ó¹ÌÅÍÀÇ ¼³Á¤¿¡´Â ¸®Ç÷º¼ÇÀÌ »ç¿ëµË´Ï´Ù. Çö½ÃÁ¡¿¡¼´Â À̰ÍÀº String ÇüÀÇ ´Ü¼øÇÑ ´ÜÀÏÀÇ ÆÄ¶ó¹ÌÅÍ·Î ÇÑÁ¤µÇ°í ÀÖ½À´Ï´Ù.
html È£ÃâÀÇ ´Ü¼øÇÑ ¿¹¸¦, ´ÙÀ½¿¡ ³ªÅ¸³À´Ï´Ù.
ÇʵåÀÇ °³¿ä |
Ŭ·¡½º 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 |
»ý¼ºÀÚÀÇ °³¿ä | |
ObjectView (Element elem)
»õ·Î¿î ObjectView ¿ÀºêÁ§Æ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ °³¿ä | |
protected Component |
createComponent ()
ÄÄÆÛ³ÍÆ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
Ŭ·¡½º javax.swing.text. ComponentView ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
getAlignment , getComponent , getMaximumSpan , getMinimumSpan , getPreferredSpan , modelToView , paint , setParent , viewToModel |
Ŭ·¡½º javax.swing.text. View ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
append , breakView , changedUpdate , createFragment , forwardUpdate , forwardUpdateToView , getAttributes , getBreakWeight , getChildAllocation , getContainer , getDocument , getElement , getEndOffset , getGraphics , getNextVisualPositionFrom , getParent , getResizeWeight , getStartOffset , getToolTipText , getView , getViewCount , getViewFactory , getViewIndex , getViewIndex , insert , insertUpdate , isVisible , modelToView , modelToView , preferenceChanged , remove , removeAll , removeUpdate , replace , setSize , updateChildren , updateLayout , viewToModel |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
»ý¼ºÀÚÀÇ »ó¼¼ |
public ObjectView(Element elem)
elem
- µ¥ÄÚ·¹ÀÌÆ® µÇ´Â ¿ä¼Ò¸Þ¼ÒµåÀÇ »ó¼¼ |
protected Component createComponent()
ComponentView
³»ÀÇ createComponent
|
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.