Package jimm.datavision.gui.cmd

Examples of jimm.datavision.gui.cmd.SectionResizeCommand


* Shrinks this section widget to the minimum height required. This method
* is only called from the popup menu. It should not be called as part
* of a larger operation because it creates a command that allows undo/redo.
*/
public void shrinkToFit() {
    SectionResizeCommand cmd = new SectionResizeCommand(this);
    growBy(getMinSectionHeight() - getSectionHeight());
    performCommand(cmd);
}
View Full Code Here


    dragGhost.setBackground(GHOST_COLOR);
    parentWhileDragging.add(dragGhost, JLayeredPane.DRAG_LAYER);
    dragGhost.setBounds(0, start.y - localY - parentWhileDraggingScreenY,
      parentWhileDragging.getWidth(), HEIGHT);

    sectionResizeCommand = new SectionResizeCommand(target);
}
View Full Code Here

TOP

Related Classes of jimm.datavision.gui.cmd.SectionResizeCommand

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.