javax.swing.text
public static class StyledEditorKit.FontFamilyAction extends StyledEditorKit.StyledTextAction
Constructor Summary | |
---|---|
FontFamilyAction(String nm, String family)
Creates a new instance of FontFamilyAction to set the
font family to family .
|
Method Summary | |
---|---|
void | actionPerformed(ActionEvent event)
Performs the action.
|
FontFamilyAction
to set the
font family to family
.
Parameters: nm the name of the Action family the font family to set
Parameters: event the ActionEvent
that describes the action