|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.border.AbstractBorder
javax.swing.border.EmptyBorder
javax.swing.border.MatteBorder
public class 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)
Àå½ÄÀο¬ º¸´õ¸¦ ÆäÀÎÆ® ÇÕ´Ï´Ù. |
Ŭ·¡½º 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
- ÀÌ º¸´õ°¡ ÆäÀÎÆ® µÇ´Â ÄÄÆÛ³ÍÆ®g
- ÆäÀÎÆ®ÀÇ ±×·¡ÇÈx
- ÆäÀÎÆ® µÈ º¸´õÀÇ x ÁÂÇ¥y
- ÆäÀÎÆ® µÈ º¸´õÀÇ y ÁÂÇ¥width
- ÆäÀÎÆ® µÈ º¸´õÀÇ Æøheight
- ÆäÀÎÆ® µÈ º¸´õÀÇ ³ôÀÌpublic Insets getBorderInsets(Component c)
Border
³»ÀÇ getBorderInsets
EmptyBorder
³»ÀÇ getBorderInsets
c
- ÀÌ º¸´õÀÇ ÀÎ ¼¼Æ®ÀÇ °ªÀ» Àû¿ëÇÏ´Â ÄÄÆÛ³ÍÆ®
Insets
°´Ã¼public Insets getBorderInsets(Component c, Insets insets)
EmptyBorder
³»ÀÇ getBorderInsets
c
- ÀÌ º¸´õÀÇ ÀÎ ¼¼Æ®ÀÇ °ªÀ» Àû¿ëÇÏ´Â ÄÄÆÛ³ÍÆ®insets
- ´Ù½Ã ÃʱâÈÇÏ´Â °´Ã¼
insets
°´Ã¼public Insets getBorderInsets()
EmptyBorder
³»ÀÇ getBorderInsets
public Color getMatteColor()
public Icon getTileIcon()
public boolean isBorderOpaque()
Border
³»ÀÇ isBorderOpaque
EmptyBorder
³»ÀÇ 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 µµ ÂüÁ¶ÇϽʽÿÀ.