|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.border.AbstractBorder
javax.swing.plaf.basic.BasicBorders.MenuBarBorder
public static class BasicBorders.MenuBarBorder
»ý¼ºÀÚ °³¿ä | |
---|---|
BasicBorders.MenuBarBorder (Color shadow,
Color highlight)
|
¸Þ¼µå °³¿ä | |
---|---|
Insets |
getBorderInsets (Component c)
ÀÌ µðÆúÆ® ±¸ÇöÀº, top , left , bottom ¹× right Çʵ尡 0 À¸·Î ¼³Á¤µÇ´Â »õ·Î¿î Insets ÀνºÅϽº¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Insets |
getBorderInsets (Component c,
Insets insets)
ÀÎ ¼¼Æ® ÆÄ¶ó¹ÌÅ͸¦, ÀÌ Border ÇöÀçÀÇ ÀÎ ¼¼Æ®·Î ´Ù½Ã ÃʱâÈÇÕ´Ï´Ù. |
void |
paintBorder (Component c,
Graphics g,
int x,
int y,
int width,
int height)
ÀÌ µðÆúÆ® ±¸Çö¿¡¼´Â ÆäÀÎÆ®¸¦ ½Ç½ÃÇÏÁö ¾Ê½À´Ï´Ù. |
Ŭ·¡½º javax.swing.border. AbstractBorder ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
getInteriorRectangle,
getInteriorRectangle,
isBorderOpaque |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public BasicBorders.MenuBarBorder(Color shadow, Color highlight)
¸Þ¼µåÀÇ »ó¼¼ |
---|
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
AbstractBorder
񃬣:
Border
³»ÀÇ paintBorder
AbstractBorder
³»ÀÇ paintBorder
c
- ÀÌ º¸´õ°¡ ÆäÀÎÆ® µÇ´Â ÄÄÆÛ³ÍÆ®g
- ÆäÀÎÆ®ÀÇ ±×·¡ÇÈx
- ÆäÀÎÆ® µÈ º¸´õÀÇ x ÁÂÇ¥y
- ÆäÀÎÆ® µÈ º¸´õÀÇ y ÁÂÇ¥width
- ÆäÀÎÆ® µÈ º¸´õÀÇ Æøheight
- ÆäÀÎÆ® µÈ º¸´õÀÇ ³ôÀÌpublic Insets getBorderInsets(Component c)
AbstractBorder
񃬣: top
, left
, bottom
¹× right
Çʵ尡 0
À¸·Î ¼³Á¤µÇ´Â »õ·Î¿î Insets
ÀνºÅϽº¸¦ ¸®ÅÏÇÕ´Ï´Ù.
Border
³»ÀÇ getBorderInsets
AbstractBorder
³»ÀÇ getBorderInsets
c
- ÀÌ º¸´õÀÇ ÀÎ ¼¼Æ®ÀÇ °ªÀ» Àû¿ëÇÏ´Â ÄÄÆÛ³ÍÆ®
Insets
°´Ã¼public Insets getBorderInsets(Component c, Insets insets)
AbstractBorder
񃬣:
AbstractBorder
³»ÀÇ getBorderInsets
c
- ÀÌ º¸´õÀÇ ÀÎ ¼¼Æ®ÀÇ °ªÀ» Àû¿ëÇÏ´Â ÄÄÆÛ³ÍÆ®insets
- ´Ù½Ã ÃʱâÈÇÏ´Â °´Ã¼
insets
°´Ã¼
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.