|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Style
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.swing.text.AttributeSet |
|---|
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute |
| Field Summary |
|---|
| Fields inherited from interface javax.swing.text.AttributeSet |
|---|
NameAttribute, ResolveAttribute |
| Method Summary | |
|---|---|
void |
addChangeListener(ChangeListener listener)
Adds a ChangeListener object to the style. |
String |
getName()
Returns the name of the style. |
void |
removeChangeListener(ChangeListener listener)
Removes a ChangeListener from to the style. |
| Methods inherited from interface javax.swing.text.MutableAttributeSet |
|---|
addAttribute, addAttributes, removeAttribute, removeAttributes, removeAttributes, setResolveParent |
| Methods inherited from interface javax.swing.text.AttributeSet |
|---|
containsAttribute, containsAttributes, copyAttributes, getAttribute, getAttributeCount, getAttributeNames, getResolveParent, isDefined, isEqual |
| Method Detail |
|---|
String getName()
void addChangeListener(ChangeListener listener)
ChangeListener object to the style.
listener - the listener object to addvoid removeChangeListener(ChangeListener listener)
ChangeListener from to the style.
listener - the listener object to remove,
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||