|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectechopoint.model.DefaultFontSelectionModel
public class DefaultFontSelectionModel
A generic implementation of FontSelectionModel.
| Field Summary | |
|---|---|
protected ChangeEvent |
changeEvent
Only one ChangeEvent is needed per model instance since the event's only (read-only) state is the source property. |
protected EventListenerList |
listenerList
|
| Constructor Summary | |
|---|---|
DefaultFontSelectionModel(Font font)
Initializes the selectedFont to font |
|
| Method Summary | |
|---|---|
void |
addChangeListener(ChangeListener l)
Adds a ChangeListener to the button. |
void |
fireStateChanged()
Notifies all listeners that have registered for this event type. |
Font |
getSelectedFont()
Returns the currently selected Font |
void |
removeChangeListener(ChangeListener l)
Removes a ChangeListener from the button. |
void |
setSelectedFont(Font font)
Sets the currently selected Font |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected transient ChangeEvent changeEvent
protected EventListenerList listenerList
| Constructor Detail |
|---|
public DefaultFontSelectionModel(Font font)
font
| Method Detail |
|---|
public void addChangeListener(ChangeListener l)
ChangeListener to the button.
addChangeListener in interface FontSelectionModell - The ChangeListener to be added.public void fireStateChanged()
public Font getSelectedFont()
FontSelectionModel
getSelectedFont in interface FontSelectionModelFontSelectionModel.getSelectedFont()public void removeChangeListener(ChangeListener l)
ChangeListener from the button.
removeChangeListener in interface FontSelectionModell - The ChangeListener to be removed.public void setSelectedFont(Font font)
FontSelectionModel
setSelectedFont in interface FontSelectionModelFontSelectionModel.setSelectedFont(nextapp.echo.Font)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||