|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
java.lang.Objectjavax.swing.border.AbstractBorder
javax.swing.border.EmptyBorder
public class 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 - ÀÌ º¸´õ°¡ ÆäÀÎÆ® µÇ´Â ÄÄÆÛ³ÍÆ®g - ÆäÀÎÆ®ÀÇ ±×·¡ÇÈx - ÆäÀÎÆ® µÈ º¸´õÀÇ x ÁÂÇ¥y - ÆäÀÎÆ® µÈ º¸´õÀÇ y ÁÂÇ¥width - ÆäÀÎÆ® µÈ º¸´õÀÇ Æøheight - ÆäÀÎÆ® µÈ º¸´õÀÇ ³ôÀÌ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 Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.