|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.border.AbstractBorder | +--javax.swing.border.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)
ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ º¸´õ¸¦, ÁöÁ¤µÈ À§Ä¡ ¹× »çÀÌÁî·Î paint ÇÕ´Ï´Ù. |
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
- ÀÌ º¸´õ°¡ 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 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 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.