de.schwarzrot.ui.control.model
Class FontSelectionModel
java.lang.Object
   de.schwarzrot.ui.control.model.FontSelectionModel
de.schwarzrot.ui.control.model.FontSelectionModel
- Direct Known Subclasses: 
- FontSelectionAdapter
- public class FontSelectionModel 
- extends Object
a model for font selection. A Font consists of 3 main properties:
 
 - a font name
- a font style
- a font size
This model allows the change of each property independantly of the others and
 access to the combined resultgetSelectedFont().
- Author:
- Reinhard Mantey
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
changeEvent
protected transient ChangeEvent changeEvent
listenerList
protected EventListenerList listenerList
FontSelectionModel
public FontSelectionModel()
addChangeListener
public void addChangeListener(ChangeListener cl)
- 
 
fireStateChanged
public void fireStateChanged()
- 
 
getChangeListeners
public ChangeListener[] getChangeListeners()
- 
 
getFontName
public String getFontName()
- 
 
getFontSize
public int getFontSize()
- 
 
getFontStyle
public int getFontStyle()
- 
 
getSampleText
public String getSampleText()
- 
 
getSelectedFont
public Font getSelectedFont()
- 
 
removeChangeListener
public void removeChangeListener(ChangeListener cl)
- 
 
setFontName
public void setFontName(String newFontName)
- 
 
setFontSize
public void setFontSize(int newFontSize)
- 
 
setFontStyle
public void setFontStyle(int newFontStyle)
- 
 
setSampleText
public void setSampleText(String newSampleText)
- 
 
updateFont
public void updateFont()
- 
 
Submit
a bug or request a feature
SRJRCFrames is published according to the
GNU General Public License
Copyright 2005-2012
Reinhard Mantey - some rights reserved.