|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.border.AbstractBorder
javax.swing.border.BevelBorder
public class BevelBorder
´Ü¼øÇÑ 2 ¶óÀÎÀÇ »ç¿µ º¸´õ¸¦ ±¸ÇöÇϴ Ŭ·¡½ºÀÔ´Ï´Ù.
°æ°í: ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ °´Ã¼´Â ÇâÈÄÀÇ Swing ¸±¸®Áî¿Í
ȣȯµÇÁö ¾ÊÀ» ¿¹Á¤ÀÔ´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈÀÇ Áö¿øÀº
´Ü±â°£ÀÇ ¿î¿ëÀ̳ª, °°Àº ¹öÀüÀÇ Swing¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. JDK ¹öÀü
1.4 ÀÌÈÄ, ¸ðµç JavaBeans™
Àå±â°£ÀÇ ¿î¿ë Áö¿øÀº
java.beans
ÆÐŰÁö¿¡ Ãß°¡µÇ°í ÀÖ½À´Ï´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº XMLEncoder
¸¦
ÂüÁ¶ÇϽʽÿÀ.
ÇÊµå °³¿ä | |
---|---|
protected int |
bevelType
|
protected Color |
highlightInner
|
protected Color |
highlightOuter
|
static int |
LOWERED
¿òÇ«ÇÑ °÷ »ç¿µÀÇ Å¸ÀÔÀÔ´Ï´Ù. |
static int |
RAISED
¶°¿Ã¶ó »ç¿µÀÇ Å¸ÀÔÀÔ´Ï´Ù. |
protected Color |
shadowInner
|
protected Color |
shadowOuter
|
»ý¼ºÀÚ °³¿ä | |
---|---|
BevelBorder (int bevelType)
ÁöÁ¤µÈ ŸÀÔÀÇ »ç¿µ º¸´õ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
BevelBorder (int bevelType,
Color highlight,
Color shadow)
»ç¿µ º¸´õ¸¦, ÁöÁ¤µÈ ŸÀÔ, ÇÏÀ̶óÀÌÆ® ¹× À½¿µÀÇ Ä÷¯·Î ÀÛ¼ºÇÕ´Ï´Ù. |
|
BevelBorder (int bevelType,
Color highlightOuterColor,
Color highlightInnerColor,
Color shadowOuterColor,
Color shadowInnerColor)
»ç¿µ º¸´õ¸¦, ÁöÁ¤µÈ ŸÀÔ, ÇÏÀ̶óÀÌÆ® ¹× À½¿µÀÇ Ä÷¯·Î ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
int |
getBevelType ()
»ç¿µ º¸´õÀÇ Å¸ÀÔÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Insets |
getBorderInsets (Component c)
º¸´õÀÇ ÀÎ ¼¼Æ®ÀÇ °ªÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Insets |
getBorderInsets (Component c,
Insets insets)
insets ÆÄ¶ó¹ÌÅ͸¦, ÀÌ Border ÇöÀçÀÇ Insets ·Î ´Ù½Ã ÃʱâÈÇÕ´Ï´Ù. |
Color |
getHighlightInnerColor ()
»ç¿µ º¸´õÀÇ ¾ÈÂÊ ÇÏÀ̶óÀÌÆ®ÀÇ Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Color |
getHighlightInnerColor (Component c)
ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®¿¡ ·»´õ¸µ µÇ¾úÀ» ¶§¿¡ »ç¿µ º¸´õÀÇ ¾ÈÂÊ ÇÏÀ̶óÀÌÆ®ÀÇ Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Color |
getHighlightOuterColor ()
»ç¿µ º¸´õÀÇ ¿ÜÃø ÇÏÀ̶óÀÌÆ®ÀÇ Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Color |
getHighlightOuterColor (Component c)
ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®¿¡ ·»´õ¸µ µÇ¾úÀ» ¶§¿¡ »ç¿µ º¸´õÀÇ ¿ÜÃø ÇÏÀ̶óÀÌÆ®ÀÇ Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Color |
getShadowInnerColor ()
»ç¿µ º¸´õÀÇ ¾ÈÂÊ À½¿µÀÇ Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Color |
getShadowInnerColor (Component c)
ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®¿¡ ·»´õ¸µ µÇ¾úÀ» ¶§¿¡ »ç¿µ º¸´õÀÇ ¾ÈÂÊ À½¿µÀÇ Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Color |
getShadowOuterColor ()
»ç¿µ º¸´õÀÇ ¿ÜÃø À½¿µÀÇ Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Color |
getShadowOuterColor (Component c)
ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®¿¡ ·»´õ¸µ µÇ¾úÀ» ¶§¿¡ »ç¿µ º¸´õÀÇ ¿ÜÃø À½¿µÀÇ Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
boolean |
isBorderOpaque ()
º¸´õ°¡ ºÒÅõ¸íÇѰ¡ ¾î¶²°¡¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
void |
paintBorder (Component c,
Graphics g,
int x,
int y,
int width,
int height)
ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ º¸´õ¸¦, ÁöÁ¤µÈ À§Ä¡ ¹× »çÀÌÁî·Î ÆäÀÎÆ® ÇÕ´Ï´Ù. |
protected void |
paintLoweredBevel (Component c,
Graphics g,
int x,
int y,
int width,
int height)
|
protected void |
paintRaisedBevel (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 |
ÇʵåÀÇ »ó¼¼ |
---|
public static final int RAISED
public static final int LOWERED
protected int bevelType
protected Color highlightOuter
protected Color highlightInner
protected Color shadowInner
protected Color shadowOuter
»ý¼ºÀÚ »ó¼¼ |
---|
public BevelBorder(int bevelType)
bevelType
- º¸´õÀÇ »ç¿µÀÇ Å¸ÀÔpublic BevelBorder(int bevelType, Color highlight, Color shadow)
bevelType
- º¸´õÀÇ »ç¿µÀÇ Å¸ÀÔhighlight
- »ç¿µÀÇ ÇÏÀ̶óÀÌÆ®¿¡ »ç¿ëÇÏ´Â Ä÷¯shadow
- »ç¿µÀÇ À½¿µ¿¡ »ç¿ëÇÏ´Â Ä÷¯public BevelBorder(int bevelType, Color highlightOuterColor, Color highlightInnerColor, Color shadowOuterColor, Color shadowInnerColor)
ÁÖ: À½¿µÀÇ ¾ÈÂÊ ¹× ¿ÜÃøÀÇ »öÀº ¿òÇ«ÇÑ °÷ »ç¿µ º¸´õ¿¡ ¸ÂÃß¾î ±³Ã¼µË´Ï´Ù.
bevelType
- º¸´õÀÇ »ç¿µÀÇ Å¸ÀÔhighlightOuterColor
- »ç¿µÀÇ ¿ÜÃø ÇÏÀ̶óÀÌÆ®¿¡ »ç¿ëÇÏ´Â Ä÷¯highlightInnerColor
- »ç¿µÀÇ ¾ÈÂÊ ÇÏÀ̶óÀÌÆ®¿¡ »ç¿ëÇÏ´Â Ä÷¯shadowOuterColor
- »ç¿µÀÇ ¿ÜÃø À½¿µ¿¡ »ç¿ëÇÏ´Â Ä÷¯shadowInnerColor
- »ç¿µÀÇ ¾ÈÂÊ À½¿µ¿¡ »ç¿ëÇÏ´Â Ä÷¯¸Þ¼µåÀÇ »ó¼¼ |
---|
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 Color getHighlightOuterColor(Component c)
c
- ÇÏÀ̶óÀÌÆ®°¡ ÆÄ»ýÇÏ´Â ÄÄÆÛ³ÍÆ®public Color getHighlightInnerColor(Component c)
c
- ÇÏÀ̶óÀÌÆ®°¡ ÆÄ»ýÇÏ´Â ÄÄÆÛ³ÍÆ®public Color getShadowInnerColor(Component c)
c
- À½¿µÀÌ ÆÄ»ýÇÏ´Â ÄÄÆÛ³ÍÆ®public Color getShadowOuterColor(Component c)
c
- À½¿µÀÌ ÆÄ»ýÇÏ´Â ÄÄÆÛ³ÍÆ®public Color getHighlightOuterColor()
public Color getHighlightInnerColor()
public Color getShadowInnerColor()
public Color getShadowOuterColor()
public int getBevelType()
public boolean isBorderOpaque()
Border
³»ÀÇ isBorderOpaque
AbstractBorder
³»ÀÇ isBorderOpaque
protected void paintRaisedBevel(Component c, Graphics g, int x, int y, int width, int height)
protected void paintLoweredBevel(Component c, Graphics g, int x, int y, int width, int height)
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.