Package com.mucommander.ui.main.commandbar

Examples of com.mucommander.ui.main.commandbar.CommandBarButtonForDisplay


     
      if (nbActions != getNumberOfButtons())
        return true;
     
      for (int i=0; i<nbActions; ++i) {
        CommandBarButtonForDisplay buttonI = (CommandBarButtonForDisplay) commandBarButtons.get(i);
        if (buttonI == null) {
          if (commandBarActionIds[i] != null)
            return true;
        }
        else if (!buttonI.getActionId().equals(commandBarActionIds[i]))
          return true;
      }
      return false;
    }
View Full Code Here


     
      if (nbActions != commandBarAlternateButtons.size())
        return true;
     
      for (int i=0; i<nbActions; ++i) {
        CommandBarButtonForDisplay buttonI = (CommandBarButtonForDisplay) commandBarAlternateButtons.get(i);
        if (buttonI == null) {
          if (commandBarAlternativeActionIds[i] != null)
            return true;
        }
        else if (!buttonI.getActionId().equals(commandBarAlternativeActionIds[i]))
          return true;
      }
      return false;
    }
View Full Code Here

    public Component getListCellRendererComponent(JList list, Object value,
        int index, boolean isSelected, boolean cellHasFocus) {
     
      JPanel panel = new JPanel(new BorderLayout());
      CommandBarButtonForDisplay button = (CommandBarButtonForDisplay) value;
      panel.add(button, BorderLayout.CENTER);
      panel.setToolTipText(button.getToolTipText());
      return panel;
        }
View Full Code Here

TOP

Related Classes of com.mucommander.ui.main.commandbar.CommandBarButtonForDisplay

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.