javax.swing.text
public interface Style extends MutableAttributeSet
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.
|
ChangeListener
object to the style.
Parameters: listener the listener object to add
Returns: the name
ChangeListener
from to the style.
Parameters: listener the listener object to remove,