|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 모든 클래스 | ||||||||||
개요: 상자 | 필드 | constructor | 메소드 | 상세: 필드 | constructor | 메소드 |
java.lang.Object | +--javax.swing.border.AbstractBorder | +--javax.swing.border.EmptyBorder | +--javax.swing.border.MatteBorder
전부 칠해 칼라나 타일링 된 아이콘을 사용하는 장식인연 보더를 제공하는 클래스입니다.
경고:
이 클래스의 직렬화 된 오브젝트는 향후의 Swing 릴리스와의 호환성이 없어집니다. 현재의 직렬화의 서포트는 단기 기억이나, 같은 버젼의 Swing 를 실행하는 어플리케이션간의 RMI 에 적절하고 있습니다. JDK 버젼 1.4 이후, 모든 JavaBeans 의 장기 기억용 서포트는 java.beans
패키지에 추가되고 있습니다. 자세한 것은 XMLEncoder
를 참조해 주세요.
필드의 개요 | |
protected Color |
color
|
protected Icon |
tileIcon
|
클래스 javax.swing.border. EmptyBorder 에서 상속받은 필드 |
bottom , left , right , top |
생성자의 개요 | |
MatteBorder (Icon tileIcon)
장식인연 보더를, 지정된 타일 아이콘으로 작성합니다. |
|
MatteBorder (Insets borderInsets,
Color matteColor)
장식인연 보더를, 지정된 인 세트 및 칼라로 작성합니다. |
|
MatteBorder (Insets borderInsets,
Icon tileIcon)
장식인연 보더를, 지정된 인 세트 및 타일 아이콘으로 작성합니다. |
|
MatteBorder (int top,
int left,
int bottom,
int right,
Color matteColor)
장식인연 보더를, 지정된 인 세트 및 칼라로 작성합니다. |
|
MatteBorder (int top,
int left,
int bottom,
int right,
Icon tileIcon)
장식인연 보더를, 지정된 인 세트 및 타일 아이콘으로 작성합니다. |
메소드의 개요 | |
Insets |
getBorderInsets ()
보더의 인 세트의 값을 돌려줍니다. |
Insets |
getBorderInsets (Component c)
보더의 인 세트의 값을 돌려줍니다. |
Insets |
getBorderInsets (Component c,
Insets insets)
insets 파라미터를, 이 Border 의 현재의 Insets 로 다시 초기화합니다. |
Color |
getMatteColor ()
보더의 타일링에 사용한 칼라를 돌려줍니다. |
Icon |
getTileIcon ()
보더의 타일링에 사용한 칼라를 돌려줍니다. |
boolean |
isBorderOpaque ()
보더가 불투명한가 어떤가를 돌려줍니다. |
void |
paintBorder (Component c,
Graphics g,
int x,
int y,
int width,
int height)
장식인연 보더를 paint 합니다. |
클래스 javax.swing.border. AbstractBorder 에서 상속받은 메소드 |
getInteriorRectangle , getInteriorRectangle |
클래스 java.lang. Object 에서 상속받은 메소드 |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
필드의 상세 |
protected Color color
protected Icon tileIcon
생성자의 상세 |
public MatteBorder(int top, int left, int bottom, int right, Color matteColor)
top
- 보더 상인 세트left
- 보더의 왼쪽 인 세트bottom
- 보더하인 세트right
- 보더의 오른쪽 인 세트matteColor
- 보더를 표현 한 칼라public MatteBorder(Insets borderInsets, Color matteColor)
borderInsets
- 보더의 인 세트matteColor
- 보더를 표현 한 칼라public MatteBorder(int top, int left, int bottom, int right, Icon tileIcon)
top
- 보더 상인 세트left
- 보더의 왼쪽 인 세트bottom
- 보더하인 세트right
- 보더의 오른쪽 인 세트tileIcon
- 보더의 타일링에 사용하는 아이콘public MatteBorder(Insets borderInsets, Icon tileIcon)
borderInsets
- 보더의 인 세트tileIcon
- 보더의 타일링에 사용하는 아이콘public MatteBorder(Icon tileIcon)
tileIcon
- 보더의 타일링에 사용하는 아이콘메소드의 상세 |
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Border
내의 paintBorder
EmptyBorder
내의 paintBorder
c
- 이 보더가 paint 되는 컴퍼넌트g
- paint의 그래픽스x
- paint 된 보더의 x 좌표y
- paint 된 보더의 y 좌표width
- paint 된 보더의 폭height
- paint 된 보더의 높이public Insets getBorderInsets(Component c)
Border
내의 getBorderInsets
EmptyBorder
내의 getBorderInsets
c
- 이 보더의 인 세트의 값을 적용하는 컴퍼넌트public Insets getBorderInsets(Component c, Insets insets)
EmptyBorder
내의 getBorderInsets
c
- 이 보더의 인 세트의 값을 적용하는 컴퍼넌트insets
- 다시 초기화하는 오브젝트public Insets getBorderInsets()
EmptyBorder
내의 getBorderInsets
public Color getMatteColor()
public Icon getTileIcon()
public boolean isBorderOpaque()
Border
내의 isBorderOpaque
EmptyBorder
내의 isBorderOpaque
|
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.