Пример #1
0
 private void nextFontsButtonActionPerformed(ActionEvent evt) {
   FontTag fontTag = fontPanel.getFontTag();
   int pageCount = getFontPageCount(fontTag);
   fontPageNum = (fontPageNum + 1) % pageCount;
   if (mainPanel.isInternalFlashViewerSelected() /*|| ft instanceof GFxDefineCompactedFont*/) {
     imagePanel.setTimelined(MainPanel.makeTimelined(fontTag, fontPageNum), fontTag.getSwf(), 0);
   }
 }
Пример #2
0
  public void showTextPanel(TextTag textTag) {
    if (mainPanel.isInternalFlashViewerSelected() /*|| ft instanceof GFxDefineCompactedFont*/) {
      showImagePanel(MainPanel.makeTimelined(textTag), textTag.getSwf(), 0);
    }

    showCardRight(CARDTEXTPANEL);
    parametersPanel.setVisible(true);
    textPanel.setText(textTag);
  }
Пример #3
0
 private void showFontPage(FontTag fontTag) {
   if (mainPanel.isInternalFlashViewerSelected() /*|| ft instanceof GFxDefineCompactedFont*/) {
     showImagePanel(MainPanel.makeTimelined(fontTag), fontTag.getSwf(), fontPageNum);
   }
 }