Package net.alteiar.textTokenized

Examples of net.alteiar.textTokenized.TokenManager


  private static final long serialVersionUID = 1L;

  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 net.alteiar.textTokenized.TokenManager

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.