Package cookxml.cookswing.helper

Examples of cookxml.cookswing.helper.SpringGridHelper


  public Object create (String parentNS, String parentTag, Element elm, Object parentObj, DecodeEngine decodeEngine)
  {
    if (parentObj == null ||
        !(parentObj instanceof Container))
      return null;
    return new SpringGridHelper ();
  }
View Full Code Here


      !(obj instanceof SpringGridHelper))
      return obj;

    Container container = (Container)parentObj;
    container.setLayout (new SpringLayout ());
    SpringGridHelper helper = (SpringGridHelper)obj;
    for (Iterator iter = helper.getComponents ().iterator (); iter.hasNext ();)
      container.add ((Component)iter.next ());

    if (helper.compact)
      SpringLayoutUtilities.makeCompactGrid (container, helper.rows, helper.columns,
                           helper.initialX, helper.initialY, helper.hgap, helper.vgap);
View Full Code Here

TOP

Related Classes of cookxml.cookswing.helper.SpringGridHelper

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.