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