Add the navigation button(s) to the left of the grid row.
498186
public void addNavButtons()
    {
        BaseApplication application = (BaseApplication)this.getTask().getApplication();
        new SCannedBox(this.getNextLocation(ScreenConstants.FIRST_SCREEN_LOCATION, ScreenConstants.SET_ANCHOR), this, null, ScreenConstants.DEFAULT_DISPLAY, null, null, MenuConstants.GRID, MessageProcessInfo.TRANSPORT_DETAIL_SCREEN, application.getResources(ResourceConstants.PRODUCT_RESOURCE, true).getString(MessageProcessInfo.TRANSPORT_DETAIL_SCREEN));
        super.addNavButtons();  // Next buttons will be "First!"
    }
762653
protected void setLeftMargin(View view, int leftMargin) {
        SlidingPaneLayout.LayoutParams lp = (SlidingPaneLayout.LayoutParams) view.getLayoutParams();
        lp.leftMargin = leftMargin;
        lp.rightMargin = 0;

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
            lp.setMarginStart(leftMargin);
            lp.setMarginEnd(0);
        }
        view.setLayoutParams(lp);
    }
256002
public void addScreenControls(Container parent)
    {
        GridBagConstraints c = this.getGBConstraints();
        c.weightx = 1.0;                        // Grow edit and scroll pane but not label
        c.anchor = GridBagConstraints.NORTHWEST;    // Edit boxes left justified
        c.gridx = 1;                            // Column 1
        c.gridy = GridBagConstraints.RELATIVE;  // Bump Row each time
        c.gridwidth = 3; // end column
        for (int iIndex = 0; ; iIndex++)
        {
            Converter converter = this.getFieldForScreen(iIndex);
            if (converter == SKIP_THIS_FIELD)
                continue;
            if (converter == null)
                break;
            this.addScreenControl(parent, converter);
        }
    }
976880
public void addNavButtons()
    {
        new SCannedBox(this.getNextLocation(ScreenConstants.FIRST_SCREEN_LOCATION, ScreenConstants.SET_ANCHOR), this, null, ScreenConstants.DEFAULT_DISPLAY, null, null, JCalendarPopup.CALENDAR_ICON, ProjectTask.PROJECT_TASK_CALENDAR_SCREEN, ProjectTask.PROJECT_TASK_CALENDAR_SCREEN);
        new SCannedBox(this.getNextLocation(ScreenConstants.FIRST_SCREEN_LOCATION, ScreenConstants.SET_ANCHOR), this, null, ScreenConstants.DEFAULT_DISPLAY, null, null, MenuConstants.FORMDETAIL, ProjectTask.PROJECT_PREDECESSOR_DETAIL_SCREEN, ProjectTask.PROJECT_PREDECESSOR_DETAIL_SCREEN);
        super.addNavButtons();
    }
990896
def add_row(self):
        
        tbl = self._tbl
        tr = tbl.add_tr()
        for gridCol in tbl.tblGrid.gridCol_lst:
            tc = tr.add_tc()
            tc.width = gridCol.w
        return _Row(tr, self)
335175
private void updateNavigationPreferences() {
        List<NavigationPreference> oldNavigationPreferences =
                new ArrayList<>(navigationPreferences);
        navigationPreferences.clear();
        boolean selectedNavigationPreferenceFound = selectedNavigationPreference == null;

        for (int i = 0; i < getItemCount(); i++) {
            Preference item = getItem(i);

            if (item instanceof NavigationPreference) {
                NavigationPreference navigationPreference = (NavigationPreference) item;
                navigationPreferences.add(navigationPreference);

                if (selectedNavigationPreference == navigationPreference) {
                    selectedNavigationPreferenceFound = true;
                }

                if (!oldNavigationPreferences.contains(navigationPreference)) {
                    notifyOnNavigationPreferenceAdded(navigationPreference);
                    oldNavigationPreferences.remove(navigationPreference);
                }
            }
        }

        for (NavigationPreference removedNavigationPreference : oldNavigationPreferences) {
            notifyOnNavigationPreferenceRemoved(removedNavigationPreference);
        }

        if (!selectedNavigationPreferenceFound) {
            if (getNavigationPreferenceCount() > 0) {
                selectNavigationPreference(Math.min(selectedNavigationPreferenceIndex,
                        getNavigationPreferenceCount() - 1), null);
            } else {
                selectNavigationPreference(null, null);
            }
        }
    }
521785
public void addAllLeftRowsToRightTable()
	{
		rightTable.getGenericTableModel().addList(leftTable.getGenericTableModel().getData());
		leftTable.getGenericTableModel().clear();
	}
788756
def add(self, *args):
        
        row = []
        for index, button in enumerate(args, start=1):
            row.append(button)
            if index % self.row_width == 0:
                self.inline_keyboard.append(row)
                row = []
        if len(row) > 0:
            self.inline_keyboard.append(row)
        return self
983219
private void addDividers() {
        for (Map.Entry<DividerLocation, Divider> entry : dividers.entrySet()) {
            if (entry.getKey() == DividerLocation.BOTTOM && bottomDivider == null &&
                    !scrollableArea.isScrollable(Area.BUTTON_BAR)) {
                bottomDivider = entry.getValue();
            } else if (entry.getKey() == DividerLocation.TOP && topDivider == null &&
                    !scrollableArea.isScrollable(Area.CONTENT)) {
                topDivider = entry.getValue();
            }
        }
    }
629488
public void addButtonLeft(Component button) {

        if (m_buttonsFolded && !isAlwaysShow(button)) {
            m_leftButtons.addComponent(button);
        } else {
            m_itemsLeft.addComponent(button);
        }
        updateFoldingThreshhold();
    }
833427
public void addAllRightRowsToLeftTable()
	{
		leftTable.getGenericTableModel().addList(rightTable.getGenericTableModel().getData());
		rightTable.getGenericTableModel().clear();
	}
353446
def add_button(self, grid_lang, ass, row, column):
        
        #print "gui_helper add_button"
        image_name = ass[0].icon_path
        label = "<b>" + ass[0].fullname + "</b>"
        if not image_name:
            btn = self.button_with_label(label)
        else:
            btn = self.button_with_image(label, image=ass[0].icon_path)
        #print "Dependencies button",ass[0]._dependencies
        if ass[0].description:
            btn.set_has_tooltip(True)
            btn.connect("query-tooltip",
                        self.parent.tooltip_queries,
                        self.get_formatted_description(ass[0].description)
            )
        btn.connect("clicked", self.parent.btn_clicked, ass[0].name)
        if row == 0 and column == 0:
            grid_lang.add(btn)
        else:
            grid_lang.attach(btn, column, row, 1, 1)
        return btn
793833
def add_submenu(self, grid_lang, ass, row, column):
        
        text = "Available subassistants:\n"
        # Generate menus
        path = []
        (menu, text) = self.generate_menu(ass, text, path=path)
        menu.show_all()
        if ass[0].description:
            description = self.get_formatted_description(ass[0].description) + "\n\n"
        else:
            description = ""
        description += text.replace('|', '\n')
        image_name = ass[0].icon_path
        lbl_text = "<b>" + ass[0].fullname + "</b>"
        if not image_name:
            btn = self.button_with_label(lbl_text)
        else:
            btn = self.button_with_image(lbl_text, image=image_name)
        btn.set_has_tooltip(True)
        btn.connect("query-tooltip",
                    self.parent.tooltip_queries,
                    description
        )
        btn.connect_object("event", self.parent.btn_press_event, menu)
        if row == 0 and column == 0:
            grid_lang.add(btn)
        else:
            grid_lang.attach(btn, column, row, 1, 1)
855904
private void addViewHolders(Rect filledArea) {
        //search indexes for columns and rows which NEED TO BE showed in this area
        int leftColumn = mManager.getColumnByXWithShift(filledArea.left, mSettings.getCellMargin());
        int rightColumn = mManager.getColumnByXWithShift(filledArea.right, mSettings.getCellMargin());
        int topRow = mManager.getRowByYWithShift(filledArea.top, mSettings.getCellMargin());
        int bottomRow = mManager.getRowByYWithShift(filledArea.bottom, mSettings.getCellMargin());

        for (int i = topRow; i <= bottomRow; i++) {
            for (int j = leftColumn; j <= rightColumn; j++) {
                // item view holders
                ViewHolder viewHolder = mViewHolders.get(i, j);
                if (viewHolder == null && mAdapter != null) {
                    addViewHolder(i, j, ViewHolderType.ITEM);
                }
            }

            // row view headers holders
            ViewHolder viewHolder = mHeaderRowViewHolders.get(i);
            if (viewHolder == null && mAdapter != null) {
                addViewHolder(i, isRTL() ? mManager.getColumnCount() : 0, ViewHolderType.ROW_HEADER);
            } else if (viewHolder != null && mAdapter != null) {
                refreshHeaderRowViewHolder(viewHolder);
            }
        }

        for (int i = leftColumn; i <= rightColumn; i++) {
            // column view header holders
            ViewHolder viewHolder = mHeaderColumnViewHolders.get(i);
            if (viewHolder == null && mAdapter != null) {
                addViewHolder(0, i, ViewHolderType.COLUMN_HEADER);
            } else if (viewHolder != null && mAdapter != null) {
                refreshHeaderColumnViewHolder(viewHolder);
            }
        }

        // add view left top view.
        if (mLeftTopViewHolder == null && mAdapter != null) {
            mLeftTopViewHolder = mAdapter.onCreateLeftTopHeaderViewHolder(AdaptiveTableLayout.this);
            mLeftTopViewHolder.setItemType(ViewHolderType.FIRST_HEADER);
            View view = mLeftTopViewHolder.getItemView();
            view.setTag(R.id.tag_view_holder, mLeftTopViewHolder);
            addView(view, 0);
            mAdapter.onBindLeftTopHeaderViewHolder(mLeftTopViewHolder);
            view.measure(
                    MeasureSpec.makeMeasureSpec(mManager.getHeaderRowWidth(), MeasureSpec.EXACTLY),
                    MeasureSpec.makeMeasureSpec(mManager.getHeaderColumnHeight(), MeasureSpec.EXACTLY));

            int viewPosLeft = mSettings.getCellMargin();
            if (isRTL()) {
                viewPosLeft += getRowHeaderStartX();
            }
            int viewPosRight = viewPosLeft + mManager.getHeaderRowWidth();
            int viewPosTop = mSettings.getCellMargin();
            int viewPosBottom = viewPosTop + mManager.getHeaderColumnHeight();

            view.layout(viewPosLeft,
                    viewPosTop,
                    viewPosRight,
                    viewPosBottom);
        } else if (mLeftTopViewHolder != null && mAdapter != null) {
            refreshLeftTopHeaderViewHolder(mLeftTopViewHolder);
        }
    }
1137323
public function leftMenuAction()
    {
        $melisKey = $this->params()->fromRoute('melisKey', '');

        $view = new ViewModel();
        $view->melisKey = $melisKey;

        return $view;
    }
440892
def _layout(self):
        """"""

        self.EnableGridLines(False)

        # Standard row and col sizes for zooming
        default_cell_attributes = \
            self.code_array.cell_attributes.default_cell_attributes

        self.std_row_size = default_cell_attributes["row-height"]
        self.std_col_size = default_cell_attributes["column-width"]

        self.SetDefaultRowSize(self.std_row_size)
        self.SetDefaultColSize(self.std_col_size)

        # Standard row and col label sizes for zooming
        self.col_label_size = self.GetColLabelSize()
        self.row_label_size = self.GetRowLabelSize()

        self.SetRowMinimalAcceptableHeight(1)
        self.SetColMinimalAcceptableWidth(1)

        self.SetCellHighlightPenWidth(0)
199074
def _update_viewport_margins(self):
        """"""
        top = 0
        left = 0
        right = 0
        bottom = 0
        for panel in self.panels_for_zone(Panel.Position.LEFT):
            if panel.isVisible():
                width = panel.sizeHint().width()
                left += width
        for panel in self.panels_for_zone(Panel.Position.RIGHT):
            if panel.isVisible():
                width = panel.sizeHint().width()
                right += width
        for panel in self.panels_for_zone(Panel.Position.TOP):
            if panel.isVisible():
                height = panel.sizeHint().height()
                top += height
        for panel in self.panels_for_zone(Panel.Position.BOTTOM):
            if panel.isVisible():
                height = panel.sizeHint().height()
                bottom += height
        self._margin_sizes = (top, left, right, bottom)
        self.editor.setViewportMargins(left, top, right, bottom)