Class CommandPanelContentModel

    • Constructor Detail

      • CommandPanelContentModel

        public CommandPanelContentModel​(java.util.List<CommandGroup> commands)
    • Method Detail

      • addCommandGroup

        public void addCommandGroup​(CommandGroup commandGroupModel)
      • removeCommandGroup

        public void removeCommandGroup​(CommandGroup commandGroupModel)
      • removeAllCommandGroups

        public void removeAllCommandGroups​()
      • getCommandGroups

        public java.util.List<CommandGroup> getCommandGroups​()
      • getCommandCount

        public int getCommandCount​()
      • setSingleSelectionMode

        public void setSingleSelectionMode​(boolean isSingleSelectionMode)
        Sets the selection mode for this model. If true is passed as the parameter, all toggle commands in this model are set to belong to the same toggle group.
        Parameters:
        isSingleSelectionMode - If true, all toggle commands in this model are set to belong to the same toggle group.
      • isSingleSelectionMode

        public boolean isSingleSelectionMode​()