Examples of Size


Examples of org.thechiselgroup.choosel.core.client.geometry.Size

            style.setProperty(CSS.POSITION, CSS.FIXED);
            style.setProperty(CSS.Z_INDEX, Integer.toString(HIDDEN_Z_INDEX));
            rootPanel.add(effectPanel);
        }

        Size size = new Size(containerPanel.getOffsetWidth(),
                containerPanel.getOffsetHeight());

        if (!attached) {
            rootPanel.remove(effectPanel);
        }
View Full Code Here

Examples of org.wicketstuff.openlayers.api.Size

    target.addComponent(marker.getPopup());
    jsToRun = mapId
        + ".popup = new OpenLayers.Popup('map', "
        + new LonLat(marker.getLonLat().getLng(), marker.getLonLat()
            .getLat()) + ", "
        + new Size(195, 250).getJSconstructor()
        + ", document.getElementById(" + mapId
        + ".popupId).innerHTML, true);" + mapId
        + ".popup.setBackgroundColor('white');" + mapId
        + ".map.addPopup(" + mapId + ".popup);";
View Full Code Here

Examples of org.zkoss.openlayers.base.Size

        map.addLayer(new Text("text", toMap(pair("location", Executions.getCurrent().getContextPath() + "/data/textfile.txt"))));

        Markers markers = new Markers("Markers");
        map.addLayer(markers);

        Size size = new Size(21,25);
        Pixel offset = new Pixel(-(size.getWidth()/2), -size.getHeight());
        Icon icon = new Icon("http://www.openlayers.org/dev/img/marker.png",size,offset);
        markers.addMarker(new Marker(new LonLat(0,0),icon));

        Icon halfIcon = (Icon) icon.clone();
         markers.addMarker(new Marker(new LonLat(0,45),halfIcon));
View Full Code Here

Examples of org.zkoss.zss.model.Size

        if(oleft<0 || otop <0){
          throw new UiException("Unsupported: delete merge at :"+oleft+","+otop);
        }
        ((ExtraCtrl)getExtraCtrl()).deleteMergeCell(sheet, oleft, otop, oright, obottom);
      }else if(SSDataEvent.SIZE_CHANGE == type){
        Size size = event.getSize();
        if(top==-1){
          int width = size.getWidth();
          HeaderPositionHelper posHelper = getColumnPositionHelper(sheet);
          int[] meta = posHelper.getMeta(left);
          if(meta==null || meta[1]!=width){
            int id = meta==null?_custColId.next():meta[2];
            posHelper.setCustomizedSize(left, width,id);
            ((ExtraCtrl)getExtraCtrl()).setColumnWidth(sheet,left,width,id);
          }
        }else if(left==-1){
          int height = size.getHeight();
          HeaderPositionHelper posHelper = getRowPositionHelper(sheet);
          int[] meta = posHelper.getMeta(top);
          if(meta==null || meta[1]!=height){
            int id =  meta==null?_custRowId.next():meta[2];
            posHelper.setCustomizedSize(top, height,id);
View Full Code Here

Examples of railo.commons.lang.SizeAndCount.Size

public final class SizeOf implements Function {
  public static Object call(PageContext pc , Object object) throws PageException {
    return call(pc, object,false);
  }
  public static Object call(PageContext pc , Object object, boolean complex) throws PageException {
    Size size = SizeAndCount.sizeOf(object);
    if(!complex)
      return Caster.toDouble(size.size);
   
    Struct sct=new StructImpl();
    sct.set(KeyConstants._size, Caster.toDouble(size.size));
View Full Code Here

Examples of shapes.algorithms.Size

  private Size v;

  @Before
  public void setUp() throws Exception {
    v = new Size();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.