Examples of PluginPictureSettings


Examples of util.settings.PluginPictureSettings

        mProgramTable = new JTable(mProgramTableModel);

        mProgramTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        mProgramTable.getColumnModel().getColumn(0).setCellRenderer(new DeviceTableCellRenderer());
        mProgramTable.getColumnModel().getColumn(1).setCellRenderer(new ProgramTableCellRenderer(new PluginPictureSettings(PluginPictureSettings.ALL_PLUGINS_SETTINGS_TYPE)));

        mProgramTable.addMouseListener(new MouseAdapter() {
            private Thread mLeftSingleClickThread;
            private boolean mPerformingSingleClick = false;
           
View Full Code Here

Examples of util.settings.PluginPictureSettings

    }
    else if(mNoPictures != null && mNoPictures.isSelected()) {
      type = PluginPictureSettings.NO_PICTURE_TYPE;
    }

    return new PluginPictureSettings(type);
  }
View Full Code Here

Examples of util.settings.PluginPictureSettings

    mMarkListsList = new JList(mMarkListVector/*.getMarkListNames()*/);
    mMarkListsList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    mMarkListsList.setCellRenderer(new MarkListCellRenderer());

    mProgramsList = new ProgramList(mProgramListModel,new ProgramPanelSettings(new PluginPictureSettings(PluginPictureSettings.ALL_PLUGINS_SETTINGS_TYPE), false, ProgramPanelSettings.X_AXIS));
    mProgramsList.addMouseListeners(null);

    mMarkListsScrolPane = new JScrollPane(mMarkListsList);
    mProgramsScrollPane = new JScrollPane(mProgramsList);
    mMarkListsScrolPane.setBorder(null);
View Full Code Here

Examples of util.settings.PluginPictureSettings

          UIThreadRunner.invokeAndWait(new Runnable() {

            @Override
            public void run() {
              final JDialog deletedListDialog = new JDialog(parent);
              ProgramList deletedProgramList = new ProgramList(deletedPrograms.toArray(new Program[deletedPrograms.size()]), new ProgramPanelSettings(new PluginPictureSettings(PluginPictureSettings.NO_PICTURE_TYPE),true,true));

              deletedListDialog.setModal(false);
              deletedListDialog.getContentPane().setLayout(new FormLayout("default:grow","default,5dlu,fill:default:grow,5dlu,default"));
              deletedListDialog.setTitle(getInfo().getName() + " - " + mLocalizer.msg("deletedPrograms","Deleted programs"));
              ((JPanel)deletedListDialog.getContentPane()).setBorder(Borders.DIALOG_BORDER);
View Full Code Here

Examples of util.settings.PluginPictureSettings

  public static void search(Component comp, SearchFormSettings settings, ProgramPanelSettings pictureSettings, boolean showDialog) {
    if (mInstance == null) {
      mInstance = new SearchHelper();
    }
    if (pictureSettings == null) {
      pictureSettings = new ProgramPanelSettings(new PluginPictureSettings(PluginPictureSettings.ALL_PLUGINS_SETTINGS_TYPE),false);
    }
    mInstance.doSearch(comp, settings, pictureSettings, showDialog);
  }
View Full Code Here

Examples of util.settings.PluginPictureSettings

    scrollPane.setBorder(null);
    mSplitPane.setLeftComponent(scrollPane);

    mProgramListModel = new DefaultListModel();
    mProgramList = new ProgramList(mProgramListModel, new ProgramPanelSettings(new PluginPictureSettings(PluginPictureSettings.ALL_PLUGINS_SETTINGS_TYPE), false, ProgramPanelSettings.X_AXIS));
    mProgramList.addMouseListeners(null);

    mProgramList.addKeyListener(new KeyAdapter() {
        public void keyPressed(KeyEvent e) {
          if (e.getKeyCode() == KeyEvent.VK_LEFT && e.isControlDown()) {
View Full Code Here

Examples of util.settings.PluginPictureSettings

      mDescriptionLines.setEnabled(mShowDescription.isSelected());
      mDescriptionLabel.setEnabled(mShowDescription.isSelected());
    }});
   
      pb.addSeparator(mLocalizer.msg("pluginPictureTitle", "Default picture settings for the program lists of the Plugins"), cc.xyw(1, y+=2, 8));
      pb.add(mPluginsPictureSettings = new PluginsPictureSettingsPanel(new PluginPictureSettings(Settings.propPluginsPictureSetting.getInt()), true), cc.xyw(2, y+=2, 7));
      pb.add(helpLabel, cc.xyw(1, y+=2, 9));

      mShowPicturesInTimeRange.addItemListener(new ItemListener() {
        public void itemStateChanged(ItemEvent e) {
          mPictureStartTime.setEnabled(mShowPicturesInTimeRange.isSelected());
View Full Code Here

Examples of util.settings.PluginPictureSettings

      JOptionPane.showMessageDialog(MainFrame.getInstance(), msg, title,
          JOptionPane.ERROR_MESSAGE);
      mSearchForm.focusSearchFieldButton();
    } else {
      SearchPlugin.setSearchHistory(mSearchForm.getHistory());
      SearchHelper.search(this, new PluginPictureSettings(
          PluginPictureSettings.ALL_PLUGINS_SETTINGS_TYPE), settings, true);
    }
  }
View Full Code Here

Examples of util.settings.PluginPictureSettings

    SearchPlugin.getInstance().setRepetitionTimeSelection(
        mTimeChooser.getSelectedIndex());

    SearchFormSettings settings = getSearchSettings();

    SearchHelper.search(getParent(), new PluginPictureSettings(
        PluginPictureSettings.ALL_PLUGINS_SETTINGS_TYPE), settings, true);
  }
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.