Package util.settings

Examples of util.settings.ProgramPanelSettings


    for (int col = 0; col < columnCount; col++) {
      int rowCount = mModel.getRowCount(col);
      for (int row = 0; row < rowCount; row++) {
        ProgramPanel panel = mModel.getProgramPanel(col, row);
        panel.setTextColor(Settings.propProgramPanelForegroundColor.getColor());
        panel.setProgramPanelSettings(new ProgramPanelSettings(Settings.propPictureType.getInt(), Settings.propPictureStartTime.getInt(), Settings.propPictureEndTime.getInt(), false, Settings.propIsPictureShowingDescription.getBoolean(), Settings.propPictureDuration.getInt(), Settings.propPicturePluginIds.getStringArray()));
        panel.forceRepaint();
      }
    }
  }
View Full Code Here


      List<JComponent> componentList = new ArrayList<JComponent>();
      mComponents.put(reminder, componentList);

      final ProgramPanel panel = new ProgramPanel(program,
          new ProgramPanelSettings(new PluginPictureSettings(
              PluginPictureSettings.ALL_PLUGINS_SETTINGS_TYPE), false,
              ProgramPanelSettings.X_AXIS));
      componentList.add(panel);
      panels.add(panel);
      panel.setMinimumSize(new Dimension(300,50));
View Full Code Here

    contentPane.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));

    JLabel lb = new JLabel(mLocalizer.msg("dialog.header","<html>Die folgenden Sendungen, an die sie erinnert werden wollten, sind in der aktualisierten Programmvorschau nicht mehr enthalten:</html>"));

    contentPane.add(lb, BorderLayout.NORTH);
    contentPane.add(new JScrollPane(new ProgramList(programs, new ProgramPanelSettings(ProgramPanelSettings.SHOW_PICTURES_NEVER, -1, -1, true, true, 10, true))), BorderLayout.CENTER);
    contentPane.add(createButtonPanel(), BorderLayout.SOUTH);

    setSize(400,200);
  }
View Full Code Here

        SearchFilter.getInstance().deactivateSearch();
        MainFrame.getInstance().setProgramFilter(FilterManagerImpl.getInstance().getDefaultFilter());
        setSearchButton();
      }
    } else {
      SearchHelper.search(mText, mSearchFormSettings, new ProgramPanelSettings(new PluginPictureSettings(PluginPictureSettings.ALL_PLUGINS_SETTINGS_TYPE),false),true);
    }
  }
View Full Code Here

      mDialog.setTitle(mProgram.getTitle());
    }
    mInfoEP.setText(ProgramTextCreator.createInfoText(mProgram, mDoc,
        ProgramInfo.getInstance().getOrder(), ProgramInfo.getInstance()
            .getSettings().getUsedTitleFont(), ProgramInfo.getInstance()
            .getSettings().getUsedBodyFont(), new ProgramPanelSettings(
            ProgramInfo.getInstance().getPictureSettings(), false), true,
        ProgramInfo.getInstance().getSettings().getZoomEnabled() ? ProgramInfo
            .getInstance().getSettings().getZoomValue() : 100, true,
        ProgramInfo.getInstance().getSettings().getEnableSearch()));
    mHighlight.setSelected(ProgramInfo.getInstance().getSettings()
View Full Code Here

          }
        });

        mModel = new DefaultListModel();
        boolean showDescription = mSettings.getShowDescription();
        mProgramPanelSettings = new ProgramPanelSettings(new PluginPictureSettings(
            PluginPictureSettings.ALL_PLUGINS_SETTINGS_TYPE), !showDescription, ProgramPanelSettings.X_AXIS);
        mList = new ProgramList(mModel, mProgramPanelSettings);

        mList.addMouseListeners(null);
View Full Code Here

    } else if (value instanceof Program) {
      int index = column - 1;

      Program program = (Program) value;

      mProgramPanel[row][index] = new ProgramPanel(program, new ProgramPanelSettings(ListViewPlugin.getInstance().getPictureSettings(),false, ProgramPanelSettings.X_AXIS));

      JPanel rpanel = new JPanel(new BorderLayout());
      rpanel.add(mProgramPanel[row][index], BorderLayout.CENTER);

      mProgramPanel[row][index].setTextColor(label.getForeground());
View Full Code Here

   *
   * @since 2.6
   */
  public ProgramList(Vector<Program> programVector,
      PluginPictureSettings settings) {
    this(programVector, new ProgramPanelSettings(settings, false));
  }
View Full Code Here

   *          The plugin picture settings for the program panel.
   *
   * @since 2.6
   */
  public ProgramList(Program[] programArr, PluginPictureSettings settings) {
    this(programArr, new ProgramPanelSettings(settings, false));
  }
View Full Code Here

   *          The plugin picture settings for the program panel.
   *
   * @since 2.6
   */
  public ProgramList(ListModel programs, PluginPictureSettings settings) {
    this(programs, new ProgramPanelSettings(settings, false));
  }
View Full Code Here

TOP

Related Classes of util.settings.ProgramPanelSettings

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.