Package cx.fbn.nevernote.dialog

Examples of cx.fbn.nevernote.dialog.TableDialog


 
 
  // Insert a table
  public void insertTable() {
    TableDialog dialog = new TableDialog();
    dialog.exec();
    if (!dialog.okPressed()) {
      return;
    }
   
    int cols = dialog.getCols();
    int rows = dialog.getRows();
    int width = dialog.getWidth();
    boolean percent = dialog.isPercent();
   
    String newHTML = "<table border=\"1\" width=\"" +new Integer(width).toString();
    if (percent)
      newHTML = newHTML +"%";
    newHTML = newHTML + "\"><tbody>";
View Full Code Here

TOP

Related Classes of cx.fbn.nevernote.dialog.TableDialog

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.