| |
|
| java.awt.Dialog javax.swing.JDialog net.sourceforge.squirrel_sql.fw.gui.FontChooser
FontChooser | public class FontChooser extends JDialog (Code) | | A dialog allow selection and a font and its associated info.
author: Colin Bell |
Constructor Summary | |
public | FontChooser() Default ctor. | public | FontChooser(boolean selectStyles) ctor specifying whether styles can be selected. | public | FontChooser(Frame owner) ctor specifying the parent frame. | public | FontChooser(Frame owner, boolean selectStyles) ctor specifying the parent frame and whether styles can be selected. | public | FontChooser(Dialog owner) ctor specifying the parent dialog. | public | FontChooser(Dialog owner, boolean selectStyles) ctor specifying the parent dialog and whether styles can be selected. |
FontChooser | public FontChooser()(Code) | | Default ctor.
|
FontChooser | public FontChooser(boolean selectStyles)(Code) | | ctor specifying whether styles can be selected.
Parameters: selectStyles - If true bold and italic checkboxes displayed. |
FontChooser | public FontChooser(Frame owner)(Code) | | ctor specifying the parent frame.
Parameters: owner - Parent frame. |
FontChooser | public FontChooser(Frame owner, boolean selectStyles)(Code) | | ctor specifying the parent frame and whether styles can be selected.
Parameters: owner - Parent frame. Parameters: selectStyles - If true bold and italic checkboxes displayed. |
FontChooser | public FontChooser(Dialog owner)(Code) | | ctor specifying the parent dialog.
Parameters: owner - Parent frame. |
FontChooser | public FontChooser(Dialog owner, boolean selectStyles)(Code) | | ctor specifying the parent dialog and whether styles can be selected.
Parameters: owner - Parent frame. Parameters: selectStyles - If true bold and italic checkboxes displayed. |
addNotify | public void addNotify()(Code) | | Component is being added to its parent.
|
getSelectedFont | public Font getSelectedFont()(Code) | | |
removeNotify | public void removeNotify()(Code) | | Component is being removed from its parent.
|
setupFontFromDialog | protected void setupFontFromDialog()(Code) | | |
showDialog | public Font showDialog(Font font)(Code) | | Show dialog defaulting to the passed font.
Parameters: font - The font to default to. |
Fields inherited from java.awt.Dialog | final public static ModalityType DEFAULT_MODALITY_TYPE(Code)(Java Doc)
|
|
|
|