|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
java.lang.Objectjavax.swing.text.html.CSS
public class CSS
CSS ¼Ó¼º¼¼Æ®¸¦ ÇüÅ º¸ÁõµÈ ¿°Å·Î¼ Á¤ÀÇÇÕ´Ï´Ù. HTML View ±¸ÇöÀº CSS ¼Ó¼ºÀ» »ç¿ëÇØ ¾î¶»°Ô ·»´õ¸µ Çұ °áÁ¤ÇÕ´Ï´Ù. µ¿½Ã¿¡ CSS/HTML/StyleConstants¸¦ ¸Ê ÇÏ´Â ¸Þ¼µå¸¦ Á¤ÀÇÇÕ´Ï´Ù. ¿¹¸¦ µé¾î ÆùÆ®¿Í °°Àº ÀÓÀÇÀÇ ´ÜÃàÇü ÇÁ·ÎÆÛƼ´Â Â¥³Ö¾î ÇÁ·ÎÆÛƼ¿¡ ¸Ê µÇ°í ÀÖ½À´Ï´Ù.
´ÙÀ½¿¡ ·»´õ¸µ ¿£ÁøÀÌ Áö¿øÇÏ´Â CSS ÇÁ·ÎÆÛƼ¸¦ ÁÝ´Ï´Ù.
ÁÖ: ƯÈ÷ ÁֱⰡ ¾ø´Â ÇÑ, ´çºÐ°£ »ó´ë ´ÜÀ§¸¦ Áö¿ø ÇÏÁö ¾Ê°í, p {margin-top : 10%}¸¦ »óºÎ ¸¶Áø ÁöÁ¤ ¾øÀ½À̶ó°í º¾´Ï´Ù.
StyleSheet | Áßø(Nested) Ŭ·¡½º °³¿ä | |
|---|---|
static class |
CSS.Attribute
CSS ¼Ó¼ºÀ» º¸°ü À¯ÁöÇÏ´Â AttributeSet Ű·Î¼ »ç¿ëµÇ´Â Á¤ÀÇÀÔ´Ï´Ù. |
| »ý¼ºÀÚ °³¿ä | |
|---|---|
CSS ()
|
|
| ¸Þ¼µå °³¿ä | |
|---|---|
static CSS.Attribute [] |
getAllAttributeKeys ()
CSS ¼Ó¼ºÀÇ °¡´ÉÇÑ ¸ðµç Ű¼¼Æ®¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
static CSS.Attribute |
getAttribute (String name)
ij¸¯ÅÍ ¶óÀÎÀ» CSS.Attribute °´Ã¼·Î º¯È¯ÇÕ´Ï´Ù. |
| Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
|---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| »ý¼ºÀÚ »ó¼¼ |
|---|
public CSS()
| ¸Þ¼µåÀÇ »ó¼¼ |
|---|
public static CSS.Attribute [] getAllAttributeKeys()
public static final CSS.Attribute getAttribute(String name)
CSS.Attribute °´Ã¼·Î º¯È¯ÇÕ´Ï´Ù. ÁöÁ¤µÈ À̸§¿¡ ¼Ó¼ºÀÌ ¾ø´Â °æ¿ì´Â nullÀ»
¸®ÅÏÇÕ´Ï´Ù.
name - Çü º¸ÁõµÈ ¿°Å¸¦ ¾ò´Â CSS ¼Ó¼ºÀÇ À̸§
CSS.Attribute °´Ã¼. ij¸¯ÅÍ ¶óÀÎÀÌ À¯È¿ÇÑ ¼Ó¼º ۰¡ ¾Æ´Ñ °æ¿ì´Â null
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.