JavaTM 2
Platform
Std.  Ed.  v1. 4.0

javax.swing.text.html
Ŭ·¡½º ObjectView

java.lang.Object 
  |
  +--javax.swing.text.View 
        |
        +--javax.swing.text.ComponentView 
              |
              +--javax.swing.text.html.ObjectView
¸ðµç ±¸Çö ÀÎÅÍÆäÀ̽º:
SwingConstants

public class ObjectView
extends ComponentView

<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
 

»ý¼ºÀÚÀÇ »ó¼¼

ObjectView

public ObjectView(Element  elem)
»õ·Î¿î ObjectView ¿ÀºêÁ§Æ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
elem - µ¥ÄÚ·¹ÀÌÆ® µÇ´Â ¿ä¼Ò
¸Þ¼ÒµåÀÇ »ó¼¼

createComponent

protected Component  createComponent()
ÄÄÆÛ³ÍÆ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù. classid ´Â ·Îµå ´ë»óÀÌ µÇ´Â Ŭ·¡½ºÀÇ À̸§ÀÇ ÁöÁ¤¿¡ »ç¿ëÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentView ³»ÀÇ createComponent

JavaTM 2
Platform
Std.  Ed.  v1. 4.0

¹ö±×ÀÇ º¸°í¿Í ±â´ÉÀÇ ¸®Äù½ºÆ®
ÀÌ¿ÜÀÇ API ·¹ÆÛ·±½º ¹× °³¹ßÀÚ¿ë ¹®¼­¿¡ ´ëÇØ¼­´Â Java 2 SDK SE °³¹ßÀÚ¿ë ¹®¼­¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä. °³¹ßÀÚÀü¿ëÀÇ »ó¼¼ÇÑ ÇØ¼³, °³³äÀÇ °³¿ä, ¿ë¾îÀÇ Á¤ÀÇ, ¹ö±×ÀÇ È¸ÇÇÃ¥, ¹× ÄÚµå ½Ç·Ê°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù.

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.