Package org.rascalmpl.library.vis.figure.combine.containers

Examples of org.rascalmpl.library.vis.figure.combine.containers.Box


    IValue validate;
   
    switch(pmap.get(ename)){
     
    case BOX:
      return new Box( makeChild(env,c,properties,childPropsNext), properties );
     
    case BUTTON:
      return new Button(env, ((IString) c.get(0)).getValue(),c.get(1), properties);
   
    case CHECKBOX:
View Full Code Here


      fig.localLocation.setY(y);
      fig.size.setX(width);
      double height = (fig.prop.getReal(AREA) / cumulatedArea)* (size.getY() - yOffset);
      fig.size.setY( height);
      if(fig.size.getX() < fig.minSize.getX() || fig.size.getY() < fig.minSize.getY()){
        children[curChild] = new Box(null, areas[curChild].prop);
      } else {
        children[curChild] = areas[curChild];
      }
      curChild++;
      y+=height;
View Full Code Here

      fig.localLocation.setX(x);
      fig.size.setY(height);
      double width = (fig.prop.getReal(AREA) / cumulatedArea)* (size.getX()- xOffset);
      fig.size.setX( width);
      if(fig.size.getX() < fig.minSize.getX() || fig.size.getY() < fig.minSize.getY()){
        children[curChild] = new Box(null, areas[curChild].prop);
      } else {
        children[curChild] = areas[curChild];
      }
      curChild++;
      x+=width;
View Full Code Here

TOP

Related Classes of org.rascalmpl.library.vis.figure.combine.containers.Box

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.