Package org.apache.oodt.cas.filemgr.browser.view.panels

Examples of org.apache.oodt.cas.filemgr.browser.view.panels.HeaderSpacer


  }

  public void mouseReleased(MouseEvent e) {
    if (caller != null) {
      if (caller instanceof HeaderSpacer) {
        HeaderSpacer hsCaller = (HeaderSpacer) caller;
        if (e.getModifiers() == 18
            && table.hiddenCols.contains(new Integer(hsCaller.getColNum() + 1))) {
          rcMenu.setUnhideMode();
          rcMenu.show(caller, e.getX(), e.getY());

        } else {
          int change = e.getX() + caller.getX() - mousePos;
          int curWidth = table.header.getWidth(hsCaller.getColNum());
          table.header.changeWidth(hsCaller.getColNum(), curWidth + change);

          for (int i = 1; i < table.getComponentCount(); i++) {
            ((Row) table.getComponent(i)).changeWidth(((HeaderSpacer) caller)
                .getColNum(), curWidth + change + 2);
          }
View Full Code Here

TOP

Related Classes of org.apache.oodt.cas.filemgr.browser.view.panels.HeaderSpacer

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.