@Override public void doLayout() { log.trace("Layout"); super.doLayout(); trackPanel.revalidate(); //trackPanel.doLayout(); }
/** * Sets the flag if the bottom-right, bottom-left corner and the column footer will have the same height or * different heights. * * @param columnFootersHeightUnified true or false. */ public void setColumnFootersHeightUnified(boolean columnFootersHeightUnified) { boolean old = _columnFootersHeightUnified; if (old != columnFootersHeightUnified) { _columnFootersHeightUnified = columnFootersHeightUnified; firePropertyChange(PROPERTY_COLUMN_FOOTERS_HEIGHT_UNIFIED, old, _horizontalScrollBarCoversWholeWidth); invalidate(); doLayout(); } }
/** * Set the flag indicating if JideScrollPane should keep the corner visible when it has corner components defined * even when the scroll bar is not visible. * * @param keepCornerVisible the flag */ public void setKeepCornerVisible(boolean keepCornerVisible) { if (_keepCornerVisible != keepCornerVisible) { boolean old = _keepCornerVisible; _keepCornerVisible = keepCornerVisible; firePropertyChange(PROPERTY_KEEP_CORNER_VISIBLE, old, _keepCornerVisible); invalidate(); doLayout(); } }
/** * Sets the flag if the top-right, top-left corner and the column header will have the same height or different * heights. * * @param columnHeadersHeightUnified true or false. */ public void setColumnHeadersHeightUnified(boolean columnHeadersHeightUnified) { boolean old = _columnHeadersHeightUnified; if (old != columnHeadersHeightUnified) { _columnHeadersHeightUnified = columnHeadersHeightUnified; firePropertyChange(PROPERTY_COLUMN_HEADERS_HEIGHT_UNIFIED, old, _horizontalScrollBarCoversWholeWidth); invalidate(); doLayout(); } }
/** * Sets the flag indicating if the JideScrollPane will layout its view flat without scroll bars. * <p/> * By default, the value is false to keep normal behavior. * * @param flatLayout the flag * @since 3.3.3 */ public void setFlatLayout(boolean flatLayout) { if (_flatLayout != flatLayout) { boolean old = _flatLayout; _flatLayout = flatLayout; firePropertyChange(PROPERTY_FLAT_LAYOUT, old, _flatLayout); invalidate(); doLayout(); } } }
public void setHorizontalScrollBarCoversWholeWidth(boolean horizontalScrollBarCoversWholeWidth) { boolean old = _horizontalScrollBarCoversWholeWidth; if (old != horizontalScrollBarCoversWholeWidth) { _horizontalScrollBarCoversWholeWidth = horizontalScrollBarCoversWholeWidth; firePropertyChange(PROPERTY_HORIZONTAL_SCROLL_BAR_COVERS_WHOLE_WIDTH, old, _horizontalScrollBarCoversWholeWidth); invalidate(); doLayout(); if (getHorizontalScrollBar() != null) { getHorizontalScrollBar().doLayout(); } } }
public void setVerticalScrollBarCoversWholeHeight(boolean verticalScrollBarCoversWholeHeight) { boolean old = _verticalScrollBarCoversWholeHeight; if (old != verticalScrollBarCoversWholeHeight) { _verticalScrollBarCoversWholeHeight = verticalScrollBarCoversWholeHeight; firePropertyChange(PROPERTY_VERTICAL_SCROLL_BAR_COVERS_WHOLE_HEIGHT, old, _verticalScrollBarCoversWholeHeight); invalidate(); doLayout(); if (getVerticalScrollBar() != null) { getVerticalScrollBar().doLayout(); } } }