Examples of createFont()


Examples of com.extentech.formats.OOXML.Dxf.createFont()

      Dxf dxf= new Dxf();     
      if (this.bHasFontBlock) {
        if (font!=null)
          dxf.setFont(font);
        else
          dxf.createFont(this.fontWeight, this.getFontItalic(), this.fontUnderlineStyle, this.fontColorIndex, this.fontHeight);
      }
      if (this.bHasPatternBlock) {
        if (fill!=null)
          dxf.setFill(fill);
        else
View Full Code Here

Examples of net.sourceforge.squirrel_sql.fw.gui.FontInfo.createFont()

      if (fi == null)
      {
        fi = new FontInfo(UIManager.getFont("TextArea.font"));
      }
      _fontLbl.setText(fi.toString());
      _fontBtn.setSelectedFont(fi.createFont());

      updateControlStatus();
    }

    void applyChanges(SessionProperties props)
View Full Code Here

Examples of net.sourceforge.squirrel_sql.fw.gui.FontInfo.createFont()

          FontButton btn = (FontButton) evt.getSource();
          FontInfo fi = btn.getFontInfo();
          Font font = null;
          if (fi != null)
          {
            font = fi.createFont();
          }
          font = new FontChooser().showDialog(font);
          if (font != null)
          {
            btn.setSelectedFont(font);
View Full Code Here

Examples of net.sourceforge.squirrel_sql.fw.gui.FontInfo.createFont()

    if (propName == null || propName.equals(SessionProperties.IPropertyNames.FONT_INFO))
    {
      FontInfo fi = props.getFontInfo();
      if (fi != null)
      {
        _sqlEntry.setFont(fi.createFont());
      }
    }

    if (propName == null || propName.equals(SessionProperties.IPropertyNames.SQL_ENTRY_HISTORY_SIZE)
              || propName.equals(SessionProperties.IPropertyNames.LIMIT_SQL_ENTRY_HISTORY_SIZE))
View Full Code Here

Examples of net.sourceforge.squirrel_sql.fw.gui.FontInfo.createFont()

    {
      if (prefs.isMenuFontEnabled())
      {
        if (fi != null)
        {
          UIManager.put(keys[i], fi.createFont());
        }
      }
      else
      {
        UIManager.put(keys[i], _origUIDefaults.getFont(keys[i]));
View Full Code Here

Examples of net.sourceforge.squirrel_sql.fw.gui.FontInfo.createFont()

    {
      if (prefs.isStaticFontEnabled())
      {
        if (fi != null)
        {
          UIManager.put(keys[i], fi.createFont());
        }
      }
      else
      {
        UIManager.put(keys[i], _origUIDefaults.getFont(keys[i]));
View Full Code Here

Examples of net.sourceforge.squirrel_sql.fw.gui.FontInfo.createFont()

    {
      if (prefs.isOtherFontEnabled())
      {
        if (fi != null)
        {
          UIManager.put(keys[i], fi.createFont());
        }
      }
      else
      {
        UIManager.put(keys[i], _origUIDefaults.getFont(keys[i]));
View Full Code Here

Examples of net.sourceforge.squirrel_sql.fw.gui.FontInfo.createFont()

          FontButton btn = (FontButton) evt.getSource();
          FontInfo fi = btn.getFontInfo();
          Font font = null;
          if (fi != null)
          {
            font = fi.createFont();
          }
          font = new FontChooser().showDialog(font);
          if (font != null)
          {
            btn.setSelectedFont(font);
View Full Code Here

Examples of org.apache.poi.hssf.usermodel.HSSFWorkbook.createFont()

                HSSFCell cell = headerRow.createCell(columnIndex);
                cell.setCellValue(columnName);

                HSSFCellStyle cellStyle = workbook.createCellStyle();
                HSSFFont tableHeadingFont = workbook.createFont();
                tableHeadingFont.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);
                cellStyle.setFont(tableHeadingFont);
                cell.setCellStyle(cellStyle);
            }
        }
View Full Code Here

Examples of org.apache.poi.hssf.usermodel.HSSFWorkbook.createFont()

    // -------------------------------------------------------- Private Methods

    private HSSFWorkbook createWorkbook() {
        HSSFWorkbook wb = new HSSFWorkbook();

        HSSFFont font = wb.createFont();
        font.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);

        HSSFSheet worksheet = wb.createSheet("Customers");
        worksheet.setColumnWidth((short) 0, (short)(20 * 256));
        worksheet.setColumnWidth((short) 1, (short)(30 * 256));
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.