KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > text > AttributeSet

javax.swing.text
Interface AttributeSet

All Known Subinterfaces:
MutableAttributeSet, Style
All Known Implementing Classes:
AbstractDocument.AbstractElement, AbstractDocument.BranchElement, AbstractDocument.LeafElement, DefaultStyledDocument.SectionElement, HTMLDocument.BlockElement, HTMLDocument.RunElement, SimpleAttributeSet, StyleContext.NamedStyle, StyleContext.SmallAttributeSet
See Also:
Top Examples, Source Code

boolean containsAttribute(Object name,
                          Object value)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[1838]containsAttribute(Object name, Object value),???
By linzp007 { at } tom { dot } com on 2006/10/30 03:23:00  Rate
What kind of "name" and "value" should be set in blanket? 
 For example: 
 I want to know if the chatactors has the attribute of size, 
 Should I write as below: 
 attrSet.containsAttribute ( size, 24 ) ; 
 It was wrong,when I compiled it o my computer. 
 what should I do then?... 
 help me!


boolean containsAttributes(AttributeSet attributes)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


AttributeSet copyAttributes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Object getAttribute(Object key)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


int getAttributeCount()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Enumeration<?> getAttributeNames()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


AttributeSet getResolveParent()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isDefined(Object attrName)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isEqual(AttributeSet attr)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


static final Object NameAttribute
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


static final Object ResolveAttribute
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags