|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
| ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå | ||||||||||
java.lang.Object
|
+--javax.swing.border.AbstractBorder
|
+--javax.swing.border.EmptyBorder
½ºÆäÀ̽º¸¦ Â÷ÁöÇÏÁö¸¸ Ç¥Çö´Â ÇÏÁö ¾Ê´Â ÇÏ´ÃÀÇ Åõ°ú º¸´õ¸¦ Á¦°øÇϴ Ŭ·¡½ºÀÔ´Ï´Ù.
°æ°í:
ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ ¿ÀºêÁ§Æ®´Â ÇâÈÄÀÇ Swing ¸±¸®½º¿ÍÀÇ È£È¯¼ºÀÌ ¾ø¾îÁý´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈÀÇ ¼Æ÷Æ®´Â ´Ü±â ±â¾ïÀ̳ª, °°Àº ¹öÁ¯ÀÇ Swing ¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI ¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. JDK ¹öÁ¯ 1.4 ÀÌÈÄ, ¸ðµç JavaBeans ÀÇ Àå±â ±â¾ï¿ë ¼Æ÷Æ®´Â java.beans ÆÐŰÁö¿¡ Ãß°¡µÇ°í ÀÖ½À´Ï´Ù. ÀÚ¼¼ÇÑ °ÍÀº XMLEncoder ¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
| ÇʵåÀÇ °³¿ä | |
protected int |
bottom
|
protected int |
left
|
protected int |
right
|
protected int |
top
|
| »ý¼ºÀÚÀÇ °³¿ä | |
EmptyBorder (Insets borderInsets)
ÁöÁ¤µÈ insets ÀÇ °ªÀ» °¡Áö´Â ÇÏ´ÃÀÇ º¸´õ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
EmptyBorder (int top,
int left,
int bottom,
int right)
ÁöÁ¤µÈ insets ÀÇ °ªÀ» °¡Áö´Â ÇÏ´ÃÀÇ º¸´õ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
| ¸Þ¼ÒµåÀÇ °³¿ä | |
Insets |
getBorderInsets ()
º¸´õÀÇ ÀÎ ¼¼Æ®ÀÇ °ªÀ» µ¹·ÁÁÝ´Ï´Ù. |
Insets |
getBorderInsets (Component c)
º¸´õÀÇ ÀÎ ¼¼Æ®ÀÇ °ªÀ» µ¹·ÁÁÝ´Ï´Ù. |
Insets |
getBorderInsets (Component c,
Insets insets)
insets ÆÄ¶ó¹ÌÅ͸¦, ÀÌ Border ÀÇ ÇöÀçÀÇ Insets ·Î ´Ù½Ã ÃʱâÈÇÕ´Ï´Ù. |
boolean |
isBorderOpaque ()
ÀÌ º¸´õ°¡ ºÒÅõ¸íÇѰ¡ ¾î¶²°¡¸¦ µ¹·ÁÁÝ´Ï´Ù. |
void |
paintBorder (Component c,
Graphics g,
int x,
int y,
int width,
int height)
µðÆúÆ®¿¡¼´Â Ç¥Çö¸¦ ½Ç½ÃÇÏÁö ¾Ê½À´Ï´Ù. |
| Ŭ·¡½º javax.swing.border. AbstractBorder ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
getInteriorRectangle , getInteriorRectangle |
| Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
| ÇʵåÀÇ »ó¼¼ |
protected int left
protected int right
protected int top
protected int bottom
| »ý¼ºÀÚÀÇ »ó¼¼ |
public EmptyBorder(int top,
int left,
int bottom,
int right)
top - º¸´õ »óÀÎ ¼¼Æ®left - º¸´õÀÇ ¿ÞÂÊ ÀÎ ¼¼Æ®bottom - º¸´õÇÏÀÎ ¼¼Æ®right - º¸´õÀÇ ¿À¸¥ÂÊ ÀÎ ¼¼Æ®public EmptyBorder(Insets borderInsets)
borderInsets - º¸´õÀÇ ÀÎ ¼¼Æ®| ¸Þ¼ÒµåÀÇ »ó¼¼ |
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Border ³»ÀÇ paintBorder AbstractBorder ³»ÀÇ paintBorder c - ÀÌ º¸´õ°¡ paint µÇ´Â ÄÄÆÛ³ÍÆ®g - paintÀÇ ±×·¡ÇȽºx - paint µÈ º¸´õÀÇ x ÁÂÇ¥y - paint µÈ º¸´õÀÇ y ÁÂÇ¥width - paint µÈ º¸´õÀÇ Æøheight - paint µÈ º¸´õÀÇ ³ôÀÌpublic Insets getBorderInsets(Component c)
Border ³»ÀÇ getBorderInsets AbstractBorder ³»ÀÇ getBorderInsets c - ÀÌ º¸´õÀÇ ÀÎ ¼¼Æ®ÀÇ °ªÀ» Àû¿ëÇÏ´Â ÄÄÆÛ³ÍÆ®
Insets ¿ÀºêÁ§Æ®
public Insets getBorderInsets(Component c,
Insets insets)
AbstractBorder ³»ÀÇ getBorderInsets c - ÀÌ º¸´õÀÇ ÀÎ ¼¼Æ®ÀÇ °ªÀ» Àû¿ëÇÏ´Â ÄÄÆÛ³ÍÆ®insets - ´Ù½Ã ÃʱâÈÇÏ´Â ¿ÀºêÁ§Æ®
insets ¿ÀºêÁ§Æ®public Insets getBorderInsets()
public boolean isBorderOpaque()
Border ³»ÀÇ isBorderOpaque AbstractBorder ³»ÀÇ 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.