Package generic.gui.document.notepad.actions

Examples of generic.gui.document.notepad.actions.TokenActions


  public ActionBar(NoteEditor editor) {
    super(new FlowLayout());

    TokenManager allTokens = TokenManager.INSTANCE;
    this.add(new JButton(new TokenActions(editor, allTokens
        .getToken(TokenManager.BOLD), "Gras", "votre texte en gras")));
    this.add(new JButton(
        new TokenActions(editor, allTokens.getToken(TokenManager.ITALIC),
            "Italique", "votre texte en italique")));
    this.add(new JButton(new TokenActions(editor, allTokens
        .getToken(TokenManager.UNDERLINE), "Soulignez",
        "votre texte souligne")));
    this.add(new JButton(new NewLineAction(editor)));
  }
View Full Code Here

TOP

Related Classes of generic.gui.document.notepad.actions.TokenActions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.