JavaTM Platform
Standard Ed. 6

인터페이스
java.awt.Shape 의 사용

Shape 를 사용하고 있는 패키지
java.awt 사용자 인터페이스의 작성 및 그래픽스와 이미지의 페인트용의 모든 클래스를 포함합니다.  
java.awt.font 폰트 관련의 클래스 및 인터페이스를 제공합니다.  
java.awt.geom 2 차원 기하학적 도형에 관련하는 객체로 처리를 정의 및 실행하는 Java 2D 클래스를 제공합니다.  
java.awt.image.renderable draw에 의존하지 않는 이미지를 작성하기 위한 클래스 및 인터페이스를 제공합니다.  
javax.swing 모든 플랫폼에서 가능한 한 똑같이 기능하는 「경량」(Java 공통 언어) 컴퍼넌트세트를 제공합니다.  
javax.swing.plaf.basic 기본 Look & Feel 에 따라 구축된 사용자 인터페이스 객체를 제공합니다.  
javax.swing.text 편집 가능한 텍스트 컴퍼넌트와 편집 불능인 텍스트 컴퍼넌트를 처리하는 클래스와 인터페이스를 제공합니다.  
javax.swing.text.html HTML 텍스트 문자 편집기를 작성하기 위한 HTMLEditorKit 클래스와 지원 클래스를 제공합니다.  
 

java.awt 에서의 Shape 의 사용
 

Shape 를 구현하고 있는 java.awt 의 클래스
 class Polygon
          Polygon 클래스는, 좌표 공간을 가지는 닫혀진 2 차원 영역의 기술을 캡슐화합니다.
 class Rectangle
          Rectangle 는,Rectangle 객체의 좌표 공간에서의 좌상의 점 (x, y), 및 그 폭과 높이에 의해 둘러싸이는 좌표 공간내의 영역을 지정합니다.
 

Shape 를 돌려주는 java.awt 의 메소드
 Shape BasicStroke. createStrokedShape (Shape  s)
          지정된 Shape 를 stroke로 draw 한 윤곽을 나타내는 내부를 가지는 Shape 를 돌려줍니다.
 Shape Stroke. createStrokedShape (Shape  p)
          Stroke 인터페이스를 구현하는 객체에 의해 정의되는 규칙에 따라,Shape 의 stroke가 draw 될 때 draw 되는 영역을 둘러싸는 윤곽 Shape 를 돌려줍니다.
abstract  Shape Graphics. getClip ()
          현재의 클리핑 영역을 돌려줍니다.
 

Shape 형의 파라미터를 가지는 java.awt 의 메소드
abstract  void Graphics2D. clip (Shape  s)
          현재의 Clip 가 지정된 Shape 의 내부와 교차시켜, 결과적으로 생긴 공통 부분에 그 Clip 를 설정합니다.
 Shape BasicStroke. createStrokedShape (Shape  s)
          지정된 Shape 를 stroke로 draw 한 윤곽을 나타내는 내부를 가지는 Shape 를 돌려줍니다.
 Shape Stroke. createStrokedShape (Shape  p)
          Stroke 인터페이스를 구현하는 객체에 의해 정의되는 규칙에 따라,Shape 의 stroke가 draw 될 때 draw 되는 영역을 둘러싸는 윤곽 Shape 를 돌려줍니다.
abstract  void Graphics2D. draw (Shape  s)
          현재의 Graphics2D 문맥의 설정을 사용하는 것으로,Shape 의 윤곽을 stroke로 draw 합니다.
abstract  void Graphics2D. fill (Shape  s)
          Graphics2D 문맥의 설정을 사용하는 것으로,Shape 의 내부를 전부 칠합니다.
abstract  boolean Graphics2D. hit (Rectangle  rect, Shape  s, boolean onStroke)
          지정된 Shape 가 지정된 Rectangle (디바이스 공간에 있다)와 교차할지 어떨지를 판정합니다.
abstract  void Graphics. setClip (Shape  clip)
          현재의 클리핑 영역을 임의의 클립 형상으로 설정합니다.
 

java.awt.font 에서의 Shape 의 사용
 

Shape 를 돌려주는 java.awt.font 의 메소드
 Shape TextLayout. getBlackBoxBounds (int firstEndpoint, int secondEndpoint)
          지정된 범위에 있는 모든 문자의 블랙 박스 경계를 돌려줍니다.
 Shape TextLayout. getCaretShape (TextHitInfo  hit)
          이 TextLayout 의 자연 경계내의 지정된 히트에 있는 caret를 나타내는 Shape 를 돌려줍니다.
 Shape TextLayout. getCaretShape (TextHitInfo  hit, Rectangle2D  bounds)
          지정된 경계내의 지정된 히트에 있는 caret를 나타내는 Shape 를 돌려줍니다.
 Shape [] TextLayout. getCaretShapes (int offset)
          강한 caret와 약한 caret에 대응하는 2 개의 윤곽선을 돌려줍니다.
 Shape [] TextLayout. getCaretShapes (int offset, Rectangle2D  bounds)
          강한 caret와 약한 caret에 대응하는 2 개의 윤곽선을 돌려줍니다.
 Shape [] TextLayout. getCaretShapes (int offset, Rectangle2D  bounds, TextLayout.CaretPolicy  policy)
          강한 caret와 약한 caret에 대응하는 2 개의 윤곽선을 돌려줍니다.
abstract  Shape GlyphVector. getGlyphLogicalBounds (int glyphIndex)
          이 GlyphVector 내의 지정된 Glyph의 논리 경계를 돌려줍니다.
abstract  Shape GlyphVector. getGlyphOutline (int glyphIndex)
          그 내부가 이 GlyphVector 내의 지정된 Glyph의 시각 표현에 대응하는 Shape 를 돌려줍니다.
 Shape GlyphVector. getGlyphOutline (int glyphIndex, float x, float y)
          그 내부가 이 GlyphVector 내의 지정된 Glyph의 시각 표현에 대응하는 Shape 를, x,  y 로부터의 위치의 오프셋(offset)로서 돌려줍니다.
abstract  Shape GlyphVector. getGlyphVisualBounds (int glyphIndex)
          GlyphVector 내의 지정된 Glyph의 시각 경계를 돌려줍니다.
 Shape TextLayout. getLogicalHighlightShape (int firstEndpoint, int secondEndpoint)
          지정된 범위의 논리적인 선택 범위를 둘러싸는 Shape 를, 이 TextLayout 의 자연 경계까지 확장해 돌려줍니다.
 Shape TextLayout. getLogicalHighlightShape (int firstEndpoint, int secondEndpoint, Rectangle2D  bounds)
          지정된 범위의 논리적인 선택 범위를 둘러싸는 Shape 를, 지정된 bounds 까지 확장해 돌려줍니다.
abstract  Shape GlyphVector. getOutline ()
          그 내부가 이 GlyphVector 의 시각 표현에 대응하는 Shape 를 돌려줍니다.
 Shape TextLayout. getOutline (AffineTransform  tx)
          이 TextLayout 의 윤곽을 나타내는 Shape 를 돌려줍니다.
 Shape ShapeGraphicAttribute. getOutline (AffineTransform  tx)
          이 ShapeGraphicAttribute 에 의해 draw 되는 영역을 나타내는 Shape 를 돌려줍니다.
 Shape GraphicAttribute. getOutline (AffineTransform  tx)
          이 GraphicAttribute 에 의해 draw 되는 영역을 나타내는 Shape 를 돌려줍니다.
abstract  Shape GlyphVector. getOutline (float x, float y)
          x,  y 로 draw 되었을 때에, 그 내부가 이 GlyphVector 의 시각 표현에 대응하는 Shape 를 돌려줍니다.
 Shape TextLayout. getVisualHighlightShape (TextHitInfo  firstEndpoint, TextHitInfo  secondEndpoint)
          지정된 범위의 시각적인 선택 범위를 둘러싸는 Shape 를, 경계까지 확장해 돌려줍니다.
 Shape TextLayout. getVisualHighlightShape (TextHitInfo  firstEndpoint, TextHitInfo  secondEndpoint, Rectangle2D  bounds)
          지정된 범위의 시각적인 선택 범위를 둘러싸는 윤곽선을,bounds 까지 확장해 돌려줍니다.
 

Shape 형의 파라미터를 가지는 java.awt.font 의 생성자
ShapeGraphicAttribute (Shape  shape, int alignment, boolean stroke)
          지정된 ShapeShapeGraphicAttribute 를 구축합니다.
 

java.awt.geom 에서의 Shape 의 사용
 

Shape 를 구현하고 있는 java.awt.geom 의 클래스
 class Arc2D
          Arc2D 는, 표시범위의 구형, 시각, 모퉁이의 크기 (호의 길이), 및 닫는 방법의 종류 (OPEN,CHORD, 또는 PIE)에 의해 정의되는 2 차원의 호를 포함하는 모든 객체의 추상 슈퍼 클래스입니다.
static class Arc2D.Double
          이 클래스는,double 정밀도로 지정된 호를 정의합니다.
static class Arc2D.Float
          이 클래스는,float 정밀도로 지정된 호를 정의합니다.
 class Area
          Area 객체는, 2 차원 공간이 닫은 영역에 도착해 해상도에 의존하지 않는 기술을 포함 및 조작합니다.
 class CubicCurve2D
          CubicCurve2D 클래스는,(x, y) 좌표 공간의 3 차 파라메트릭 곡선 세그먼트(segment)를 정의합니다.
static class CubicCurve2D.Double
          double 좌표로 지정한, 3 차 파라메트릭 곡선 세그먼트(segment)입니다.
static class CubicCurve2D.Float
          float 좌표로 지정한, 3 차 파라메트릭 곡선 세그먼트(segment)입니다.
 class Ellipse2D
          Ellipse2D 클래스는, 표시범위 구형에 의해 정의되는 타원을 기술합니다.
static class Ellipse2D.Double
          Double 클래스는,double 정밀도로 지정된 타원을 정의합니다.
static class Ellipse2D.Float
          Float 클래스는,float 정밀도로 지정된 타원을 정의합니다.
 class GeneralPath
          GeneralPath 클래스는, 직선, 2 차 곡선, 및 3 차 (베쥬) 곡선으로부터 작성된 기하학적 패스를 나타냅니다.
 class Line2D
          Line2D 클래스는,(x, y) 좌표 공간의 라인 세그먼트(segment)를 나타냅니다.
static class Line2D.Double
          double 좌표로 지정된 라인 세그먼트(segment)입니다.
static class Line2D.Float
          float 좌표로 지정된 라인 세그먼트(segment)입니다.
 class Path2D
          Path2D 클래스는, 단순합니다만 유연성이 있는, 임의의 기하학적 패스를 나타내는 형상을 제공합니다.
static class Path2D.Double
          Double 클래스는, 좌표가 배정밀도 부동 소수점으로써 포함되는 기하학적 패스를 정의합니다.
static class Path2D.Float
          Float 클래스는, 좌표가 단정밀도 부동 소수점으로써 포함되는 기하학적 패스를 정의합니다.
 class QuadCurve2D
          QuadCurve2D 클래스는,(x, y) 좌표 공간의 2 차 파라메트릭 곡선 세그먼트(segment)를 정의합니다.
static class QuadCurve2D.Double
          double 좌표로 지정한, 2 차 파라메트릭 곡선 세그먼트(segment)입니다.
static class QuadCurve2D.Float
          float 좌표로 지정한, 2 차 파라메트릭 곡선 세그먼트(segment)입니다.
 class Rectangle2D
          Rectangle2D 클래스는, 위치 (x, y) 및 사이즈 (w x h) 로 정의되는 구형을 기술합니다.
static class Rectangle2D.Double
          Double 클래스는, double 좌표로 지정되는 구형을 정의합니다.
static class Rectangle2D.Float
          Float 클래스는, float 좌표로 지정되는 구형을 정의합니다.
 class RectangularShape
          RectangularShape 는, 기하학적 도형이 구형 프레임에 의해 정의되는 많은 Shape 객체의 base class입니다.
 class RoundRectangle2D
          RoundRectangle2D 클래스는, 위치 (x, y), 사이즈 (w x h), 및 모퉁이를 마는 호의 폭과 높이로 정의되는 둥그스름을 붙인 모퉁이를 가지는 구형을 정의합니다.
static class RoundRectangle2D.Double
          Double 클래스는,double 좌표로 지정되는, 둥그스름을 붙인 모퉁이를 가지는 구형을 정의합니다.
static class RoundRectangle2D.Float
          Float 클래스는,float 좌표로 지정되는, 모퉁이를 만 구형을 정의합니다.
 

Shape 를 돌려주는 java.awt.geom 의 메소드
 Shape Path2D. createTransformedShape (AffineTransform  at)
          이 Path2D 의 변환된 뒤의 버젼을 나타내는, 새로운 Shape 를 돌려줍니다.
 Shape AffineTransform. createTransformedShape (Shape  pSrc)
          지정된 Shape 를 이 변환에 의해 변환해, 그 Shape 의 기하학적 도형에 의해 정의되는 새로운 Shape 객체를 돌려줍니다.
 

Shape 형의 파라미터를 가지는 java.awt.geom 의 메소드
 void Path2D. append (Shape  s, boolean connect)
          지정된 Shape 객체의 기하학적 도형을 패스에 추가합니다.
 Shape AffineTransform. createTransformedShape (Shape  pSrc)
          지정된 Shape 를 이 변환에 의해 변환해, 그 Shape 의 기하학적 도형에 의해 정의되는 새로운 Shape 객체를 돌려줍니다.
 

Shape 형의 파라미터를 가지는 java.awt.geom 의 생성자
Area (Shape  s)
          Area 클래스는, 지정된 Shape 객체로부터 영역 기하학적 도형을 작성합니다.
GeneralPath (Shape  s)
          임의 Shape 객체로부터 새로운 GeneralPath 객체를 구축합니다.
Path2D.Double (Shape  s)
          임의 Shape 객체로부터 새로운 배정밀도 Path2D 객체를 구축합니다.
Path2D.Double (Shape  s, AffineTransform  at)
          AffineTransform 객체에 의해 변환된 임의 Shape 객체로부터 새로운 배정밀도 Path2D 객체를 구축합니다.
Path2D.Float (Shape  s)
          임의 Shape 객체로부터 새로운 단정밀도 Path2D 객체를 구축합니다.
Path2D.Float (Shape  s, AffineTransform  at)
          AffineTransform 객체에 의해 변환된 임의 Shape 객체로부터 새로운 단정밀도 Path2D 객체를 구축합니다.
 

java.awt.image.renderable 에서의 Shape 의 사용
 

Shape 를 돌려주는 java.awt.image.renderable 의 메소드
 Shape RenderContext. getAreaOfInterest ()
          현재 RenderContext 에 포함되고 있는 처리 대상 범위를 돌려줍니다.
 

Shape 형의 파라미터를 가지는 java.awt.image.renderable 의 메소드
 void RenderContext. setAreaOfInterest (Shape  newAoi)
          현재의 처리 대상 범위를 설정합니다.
 

Shape 형의 파라미터를 가지는 java.awt.image.renderable 의 생성자
RenderContext (AffineTransform  usr2dev, Shape  aoi)
          지정된 변환 및 처리 대상 범위를 사용해 RenderContext 를 구축합니다.
RenderContext (AffineTransform  usr2dev, Shape  aoi, RenderingHints  hints)
          지정된 변환을 사용해 RenderContext 를 구축합니다.
 

javax.swing 에서의 Shape 의 사용
 

Shape 를 돌려주는 javax.swing 의 메소드
 Shape DebugGraphics. getClip ()
          Graphics.getClip 를 오버라이드(override) 합니다.
 

Shape 형의 파라미터를 가지는 javax.swing 의 메소드
 void DebugGraphics. setClip (Shape  clip)
          Graphics.setClip 를 오버라이드(override) 합니다.
 

javax.swing.plaf.basic 에서의 Shape 의 사용
 

Shape 를 구현하고 있는 javax.swing.plaf.basic 의 클래스
static class BasicTextUI.BasicCaret
           
 

javax.swing.text 에서의 Shape 의 사용
 

Shape 를 구현하고 있는 javax.swing.text 의 클래스
 class DefaultCaret
          Caret 의 디폴트의 구현입니다.
 

Shape 를 돌려주는 javax.swing.text 의 메소드
protected  Shape FieldView. adjustAllocation (Shape  a)
          뷰로 지정된 할당을 조정해, 텍스트 필드에 적절한 할당으로 합니다.
protected  Shape AsyncBoxView.ChildLocator. getChildAllocation (int index)
          아이 뷰에 사용하는 할당을 가져옵니다.
 Shape View. getChildAllocation (int index, Shape  a)
          지정된 아이 뷰의 할당을 꺼냅니다.
 Shape CompositeView. getChildAllocation (int index, Shape  a)
          지정된, draw 하는 아이 뷰에의 할당을 가져옵니다.
 Shape BoxView. getChildAllocation (int index, Shape  a)
          지정된 아이 뷰의 할당을 가져옵니다.
 Shape AsyncBoxView. getChildAllocation (int index, Shape  a)
          지정된 아이 뷰의 할당을 가져옵니다.
 Shape AsyncBoxView.ChildLocator. getChildAllocation (int index, Shape  a)
          아이 뷰에 사용하는 할당을 가져옵니다.
abstract  Shape GlyphView.GlyphPainter. modelToView (GlyphView  v, int pos, Position.Bias  bias, Shape  a)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape View. modelToView (int p0, Position.Bias  b0, int p1, Position.Bias  b1, Shape  a)
          지정한 범위에 대해, 문서 모델 좌표 공간으로부터 뷰 좌표 공간에의 맵을 제공합니다.
 Shape CompositeView. modelToView (int p0, Position.Bias  b0, int p1, Position.Bias  b1, Shape  a)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape View. modelToView (int pos, Shape  a)
          추천 되고 있지 않습니다.   
abstract  Shape View. modelToView (int pos, Shape  a, Position.Bias  b)
          지정한 몬지에 도착해, 문서 모델 좌표 공간으로부터 뷰 좌표 공간에의 맵을 제공합니다.
 Shape FieldView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape PlainView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape PasswordView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape IconView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape GlyphView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape CompositeView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape ComponentView. modelToView (int pos, Shape  a, Position.Bias  b)
          모델의 좌표 공간으로부터, 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape BoxView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape AsyncBoxView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape DefaultHighlighter.DefaultHighlightPainter. paintLayer (Graphics  g, int offs0, int offs1, Shape  bounds, JTextComponent  c, View  view)
          하이라이트의 일부분을 그립니다.
abstract  Shape LayeredHighlighter.LayerPainter. paintLayer (Graphics  g, int p0, int p1, Shape  viewBounds, JTextComponent  editor, View  view)
           
 

Shape 형의 파라미터를 가지는 javax.swing.text 의 메소드
protected  Shape FieldView. adjustAllocation (Shape  a)
          뷰로 지정된 할당을 조정해, 텍스트 필드에 적절한 할당으로 합니다.
 View ParagraphView. breakView (int axis, float len, Shape  a)
          지정된 축 및 지정된 길이로 이 뷰를 분할합니다.
 void View. changedUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
 void PlainView. changedUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
 void WrappedPlainView. changedUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
 void ParagraphView. changedUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
 void LabelView. changedUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
 void GlyphView. changedUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
 void FlowView. changedUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
protected  void PlainView. damageLineRange (int line0, int line1, Shape  a, Component  host)
          지정된 행 범위를 재그립니다.
protected  void View. forwardUpdate (DocumentEvent.ElementChange  ec, DocumentEvent  e, Shape  a, ViewFactory  f)
          지정된 DocumentEvent 를 모델의 변경 통지가 필요한 아이 뷰에 전송 합니다.
protected  void TableView. forwardUpdate (DocumentEvent.ElementChange  ec, DocumentEvent  e, Shape  a, ViewFactory  f)
           
protected  void BoxView. forwardUpdate (DocumentEvent.ElementChange  ec, DocumentEvent  e, Shape  a, ViewFactory  f)
          지정된 DocumentEvent 를 모델의 변경 통지가 필요한 아이 뷰에 전송 합니다.
protected  void View. forwardUpdateToView (View  v, DocumentEvent  e, Shape  a, ViewFactory  f)
          지정된 아이 뷰에 DocumentEvent 를 전송 합니다.
 Shape View. getChildAllocation (int index, Shape  a)
          지정된 아이 뷰의 할당을 꺼냅니다.
 Shape CompositeView. getChildAllocation (int index, Shape  a)
          지정된, draw 하는 아이 뷰에의 할당을 가져옵니다.
 Shape BoxView. getChildAllocation (int index, Shape  a)
          지정된 아이 뷰의 할당을 가져옵니다.
 Shape AsyncBoxView. getChildAllocation (int index, Shape  a)
          지정된 아이 뷰의 할당을 가져옵니다.
 Shape AsyncBoxView.ChildLocator. getChildAllocation (int index, Shape  a)
          아이 뷰에 사용하는 할당을 가져옵니다.
protected  int ParagraphView. getClosestPositionTo (int pos, Position.Bias  b, Shape  a, int direction, Position.Bias [] biasRet, int rowIndex, int x)
          x 에 가장 근접한 모델내의 위치를 돌려줍니다.
protected  Rectangle CompositeView. getInsideAllocation (Shape  a)
          뷰로 지정된 불변의 할당을, 내부 할당을 나타내는 가변 할당해로 변경합니다.
protected  int CompositeView. getNextEastWestVisualPositionFrom (int pos, Position.Bias  b, Shape  a, int direction, Position.Bias [] biasRet)
          커서를 둘 수 있는, 다음의 시각적인 위치를 돌려줍니다.
protected  int ParagraphView. getNextNorthSouthVisualPositionFrom (int pos, Position.Bias  b, Shape  a, int direction, Position.Bias [] biasRet)
          커서를 둘 수 있는, 다음의 시각적인 위치를 돌려줍니다.
protected  int CompositeView. getNextNorthSouthVisualPositionFrom (int pos, Position.Bias  b, Shape  a, int direction, Position.Bias [] biasRet)
          커서를 둘 수 있는, 다음의 시각적인 위치를 돌려줍니다.
 int GlyphView.GlyphPainter. getNextVisualPositionFrom (GlyphView  v, int pos, Position.Bias  b, Shape  a, int direction, Position.Bias [] biasRet)
          caret가 배치될 가능성이 있는, 시각적으로 나타내진 다음의 모델 위치를 결정하는 수단을 제공합니다.
 int View. getNextVisualPositionFrom (int pos, Position.Bias  b, Shape  a, int direction, Position.Bias [] biasRet)
          caret가 배치될 가능성이 있는, 시각적으로 나타내진 다음의 모델 위치를 결정하는 수단을 제공합니다.
 int GlyphView. getNextVisualPositionFrom (int pos, Position.Bias  b, Shape  a, int direction, Position.Bias [] biasRet)
          caret가 배치될 가능성이 있는, 시각적으로 나타내진 다음의 모델 위치를 결정하는 수단을 제공합니다.
 int CompositeView. getNextVisualPositionFrom (int pos, Position.Bias  b, Shape  a, int direction, Position.Bias [] biasRet)
          caret가 배치될 가능성이 있는, 시각적으로 나타내진 다음의 모델 위치를 결정하는 수단을 제공합니다.
 int AsyncBoxView. getNextVisualPositionFrom (int pos, Position.Bias  b, Shape  a, int direction, Position.Bias [] biasRet)
          caret가 배치될 가능성이 있는, 시각적으로 나타내진 다음의 모델 위치를 결정하는 수단을 제공합니다.
 String View. getToolTipText (float x, float y, Shape  allocation)
          지정된 위치에 있는 툴팁의 텍스트를 돌려줍니다.
 int View. getViewIndex (float x, float y, Shape  allocation)
          뷰내의 지정된 위치를 나타내는 아이 뷰인젝스를 돌려줍니다.
 int AsyncBoxView.ChildLocator. getViewIndexAtPoint (float x, float y, Shape  a)
          지정된 포인트의 아이 뷰인젝스를 가져옵니다.
 void View. insertUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 void FieldView. insertUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 void PlainView. insertUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 void ZoneView. insertUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 void WrappedPlainView. insertUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 void GlyphView. insertUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 void FlowView. insertUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
protected  Rectangle PlainView. lineToRect (Shape  a, int line)
          지정한 행을 나타내는 구형을 판별합니다.
abstract  Shape GlyphView.GlyphPainter. modelToView (GlyphView  v, int pos, Position.Bias  bias, Shape  a)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape View. modelToView (int p0, Position.Bias  b0, int p1, Position.Bias  b1, Shape  a)
          지정한 범위에 대해, 문서 모델 좌표 공간으로부터 뷰 좌표 공간에의 맵을 제공합니다.
 Shape CompositeView. modelToView (int p0, Position.Bias  b0, int p1, Position.Bias  b1, Shape  a)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape View. modelToView (int pos, Shape  a)
          추천 되고 있지 않습니다.   
abstract  Shape View. modelToView (int pos, Shape  a, Position.Bias  b)
          지정한 몬지에 도착해, 문서 모델 좌표 공간으로부터 뷰 좌표 공간에의 맵을 제공합니다.
 Shape FieldView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape PlainView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape PasswordView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape IconView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape GlyphView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape CompositeView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape ComponentView. modelToView (int pos, Shape  a, Position.Bias  b)
          모델의 좌표 공간으로부터, 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape BoxView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 Shape AsyncBoxView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
abstract  void GlyphView.GlyphPainter. paint (GlyphView  v, Graphics  g, Shape  a, int p0, int p1)
          지정된 범위를 나타내는 Glyph를 그립니다.
 void DefaultHighlighter.DefaultHighlightPainter. paint (Graphics  g, int offs0, int offs1, Shape  bounds, JTextComponent  c)
          하이라이트를 그립니다.
 void Highlighter.HighlightPainter. paint (Graphics  g, int p0, int p1, Shape  bounds, JTextComponent  c)
          하이라이트를 draw 합니다.
abstract  void View. paint (Graphics  g, Shape  allocation)
          지정된 draw 표면 및 그 표면상의 영역을 사용해 draw 합니다.
 void FieldView. paint (Graphics  g, Shape  a)
          지정된 draw 표면 및 그 표면상의 영역을 사용해 draw 합니다.
 void PlainView. paint (Graphics  g, Shape  a)
          지정된 draw 표면 및 그 표면상의 영역을 사용해 draw 합니다.
 void WrappedPlainView. paint (Graphics  g, Shape  a)
          지정된 draw 표면 및 그 표면상의 영역을 사용해 draw 합니다.
 void ParagraphView. paint (Graphics  g, Shape  a)
          지정된 draw 표면 및 그 표면상의 영역을 사용해 draw 합니다.
 void IconView. paint (Graphics  g, Shape  a)
          아이콘을 그립니다.
 void GlyphView. paint (Graphics  g, Shape  a)
          텍스트 서식의 행의 일부를 draw 합니다.
 void ComponentView. paint (Graphics  g, Shape  a)
          실제의 draw의 동작은, 컴퍼넌트가 그 친컨테이너 (이 뷰를 수용하는 컨테이너)와의 사이에 있는 관련성으로부터 발생합니다.
 void BoxView. paint (Graphics  g, Shape  allocation)
          지정된 draw 표면 및 그 표면상의 영역을 사용해 BoxView 를 draw 합니다.
 void AsyncBoxView. paint (Graphics  g, Shape  alloc)
          지정된 할당 및 draw 표면을 사용해, 뷰를 draw 합니다.
 Shape DefaultHighlighter.DefaultHighlightPainter. paintLayer (Graphics  g, int offs0, int offs1, Shape  bounds, JTextComponent  c, View  view)
          하이라이트의 일부분을 그립니다.
abstract  Shape LayeredHighlighter.LayerPainter. paintLayer (Graphics  g, int p0, int p1, Shape  viewBounds, JTextComponent  editor, View  view)
           
 void DefaultHighlighter. paintLayeredHighlights (Graphics  g, int p0, int p1, Shape  viewBounds, JTextComponent  editor, View  view)
          이 메소드는, LabelView 와 같은, 잎이 되는 View 의 draw중에 불려 갑니다.
abstract  void LayeredHighlighter. paintLayeredHighlights (Graphics  g, int p0, int p1, Shape  viewBounds, JTextComponent  editor, View  view)
          이 메소드는, LabelView 와 같은, 잎이 되는 View 의 draw중에 불려 갑니다.
 void View. removeUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
 void FieldView. removeUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
 void PlainView. removeUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
 void ZoneView. removeUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
 void WrappedPlainView. removeUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
 void GlyphView. removeUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
 void FlowView. removeUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
protected  void AsyncBoxView.ChildLocator. setAllocation (Shape  a)
          현재 할당할 수 있고 있는 형상을, 현재의 할당을 포함하는데 사용하는 구형에 카피합니다.
protected  void PlainView. updateDamage (DocumentEvent  changes, Shape  a, ViewFactory  f)
          지정된 문서 이벤트로 커버되는 변경 영역을 재그립니다.
protected  void View. updateLayout (DocumentEvent.ElementChange  ec, DocumentEvent  e, Shape  a)
          모델로부터 변경의 통지를 받았을 경우에, 레이아웃을 갱신합니다.
protected  void AsyncBoxView. updateLayout (DocumentEvent.ElementChange  ec, DocumentEvent  e, Shape  a)
          모델로부터 변경의 통지를 받았을 경우에, 레이아웃을 갱신합니다.
 int View. viewToModel (float x, float y, Shape  a)
          추천 되고 있지 않습니다.   
abstract  int View. viewToModel (float x, float y, Shape  a, Position.Bias [] biasReturn)
          뷰의 좌표 공간으로부터 모델의 논리 좌표 공간에의 매핑을 제공합니다.
 int FieldView. viewToModel (float fx, float fy, Shape  a, Position.Bias [] bias)
          뷰의 좌표 공간으로부터 모델의 논리 좌표 공간에의 매핑을 제공합니다.
 int PlainView. viewToModel (float fx, float fy, Shape  a, Position.Bias [] bias)
          뷰의 좌표 공간으로부터 모델의 논리 좌표 공간에의 매핑을 제공합니다.
 int PasswordView. viewToModel (float fx, float fy, Shape  a, Position.Bias [] bias)
          뷰의 좌표 공간으로부터 모델의 논리 좌표 공간에의 매핑을 제공합니다.
 int IconView. viewToModel (float x, float y, Shape  a, Position.Bias [] bias)
          뷰의 좌표 공간으로부터 모델의 논리 좌표 공간에의 매핑을 제공합니다.
 int GlyphView. viewToModel (float x, float y, Shape  a, Position.Bias [] biasReturn)
          뷰의 좌표 공간으로부터 모델의 논리 좌표 공간에의 매핑을 제공합니다.
 int CompositeView. viewToModel (float x, float y, Shape  a, Position.Bias [] bias)
          뷰의 좌표 공간으로부터 모델의 논리 좌표 공간에의 매핑을 제공합니다.
 int ComponentView. viewToModel (float x, float y, Shape  a, Position.Bias [] bias)
          뷰의 좌표 공간으로부터 모델의 논리 좌표 공간에의 매핑을 제공합니다.
 int BoxView. viewToModel (float x, float y, Shape  a, Position.Bias [] bias)
          뷰의 좌표 공간으로부터 모델의 논리 좌표 공간에의 매핑을 제공합니다.
 int AsyncBoxView. viewToModel (float x, float y, Shape  a, Position.Bias [] biasReturn)
          뷰의 좌표 공간으로부터 모델의 논리 좌표 공간에의 매핑을 제공합니다.
abstract  int GlyphView.GlyphPainter. viewToModel (GlyphView  v, float x, float y, Shape  a, Position.Bias [] biasReturn)
          뷰의 좌표 공간으로부터 모델의 논리 좌표 공간에의 매핑을 제공합니다.
 

javax.swing.text.html 에서의 Shape 의 사용
 

Shape 를 돌려주는 javax.swing.text.html 의 메소드
 Shape ImageView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 

Shape 형의 파라미터를 가지는 javax.swing.text.html 의 메소드
 void InlineView. changedUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
 void ImageView. changedUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          Elements 속성의 변경시에 불려 갑니다.
 void BlockView. changedUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
           
 String ImageView. getToolTipText (float x, float y, Shape  allocation)
          이미지의 경우, 툴팁의 텍스트는,ALT 속성으로 지정한 텍스트가 됩니다.
 void InlineView. insertUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 Shape ImageView. modelToView (int pos, Shape  a, Position.Bias  b)
          문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다.
 void ParagraphView. paint (Graphics  g, Shape  a)
          지정된 draw 표면 및 그 표면상의 영역을 사용해 draw 합니다.
 void ListView. paint (Graphics  g, Shape  allocation)
          지정된 draw 표면 및 그 표면상의 영역을 사용해 draw 합니다.
 void ImageView. paint (Graphics  g, Shape  a)
          View 를 그립니다.
 void BlockView. paint (Graphics  g, Shape  allocation)
          지정된 draw 표면 및 그 표면상의 영역을 사용해 draw 합니다.
 void InlineView. removeUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
 int ImageView. viewToModel (float x, float y, Shape  a, Position.Bias [] bias)
          뷰의 좌표 공간으로부터 모델의 논리 좌표 공간에의 매핑을 제공합니다.
 


JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.