Package net.mygwt.ui.client.widget

Examples of net.mygwt.ui.client.widget.SplitBar


    return null;
  }

  private void initSplitBar(final int region, Component widget,
      final BorderLayoutData data) {
    SplitBar bar = (SplitBar) splitBars.get(new Integer(region));
    if (bar == null || bar.getResizeWidget() != widget) {
      bar = new SplitBar(region, widget);
      bar.minSize = data.minimumSize;
      bar.maxSize = data.maximumSize == 0 ? bar.maxSize : data.maximumSize;
      bar.barWidth = 6;
      bar.autoSize = false;
      bar.addListener(Events.Resize, new Listener() {
        public void handleEvent(BaseEvent be) {
          if (be.size < 1) {
            return;
          }
          if (data.size < 1.1) {
View Full Code Here


  private void removeSplitBar(int region) {
    splitBars.put(new Integer(region), null);
  }

  private void setSplitBarEnabled(int region, boolean enabled) {
    SplitBar bar = (SplitBar) splitBars.get(new Integer(region));
    if (bar != null) {

    }
  }
View Full Code Here

TOP

Related Classes of net.mygwt.ui.client.widget.SplitBar

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.