|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ccs.utils.FontDialog
public class FontDialog
Simple dialog which allows the user to pick a font from the selection the system offers.
Constructor Summary | |
---|---|
FontDialog(java.awt.Frame parent,
java.lang.String title)
Creates new FontDialog. |
Method Summary | |
---|---|
java.awt.Font |
getResult()
After show has returned, returns the result of the dialog. |
void |
setWorkingFont(java.awt.Font f)
Set the working font. |
void |
show()
Shows the dialog, modally. |
void |
stateChanged(javax.swing.event.ChangeEvent e)
Undocumented. |
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
Undocumented. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontDialog(java.awt.Frame parent, java.lang.String title)
show
to actually execute the dialog.
Method Detail |
---|
public void setWorkingFont(java.awt.Font f)
public java.awt.Font getResult()
show
has returned, returns the result of the dialog. The return
is null if the dialog was cancelled.
public void show()
public void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged
in interface javax.swing.event.ChangeListener
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged
in interface javax.swing.event.ListSelectionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |