Examples of bind()


Examples of jnr.unixsocket.UnixServerSocket.bind()

        try {
            if(server) {
                UnixServerSocketChannel channel = UnixServerSocketChannel.open();
                UnixServerSocket socket = channel.socket();

                socket.bind(new UnixSocketAddress(new File(fpath)));

                this.channel = channel;

            } else {
                File fpathFile = new File(fpath);
View Full Code Here

Examples of mdesl.graphics.Texture.bind()

//      view.rotate((float)Math.toRadians(rot+=0.5f), new Vector3f(0f,0f,1f));
//      proj = MathUtil.toOrtho2D(proj, 0, 0, Display.getWidth(), Display.getHeight());
      Matrix4f.mul(Matrix4f.transpose(proj, transpositionPool), view, projView);
      program.setUniformMatrix("u_projView", false, projView);
     
      t.bind();
      data.bind();
      data.draw(GL_TRIANGLE_STRIP, 0, w*h);
      data.unbind();
    }
  }
 
View Full Code Here

Examples of net.hasor.db.transaction.interceptor.TransactionBinder.bind()

        this.dataSource = dataSource;
    }
    @Override
    public void loadModule(final ApiBinder apiBinder) throws Throwable {
        TransactionBinder it = new TransactionBinder(apiBinder);
        it.bind(this.dataSource)/*设置到数据源*/
        .matcher(AopMatchers.annotatedWithMethod(Tran.class))/*所有标记 @Tran 注解的方法*/
        .withPropagation(new PropagationStrategy())/*传播属性*/
        .withIsolation(new IsolationStrategy());/*隔离级别*/
    }
}
View Full Code Here

Examples of net.pleso.framework.client.ui.custom.controls.data.ActionButtonControl.bind()

          // Creating control.
          ActionButtonControl ctrl = new ActionButtonControl(
              this.parentWindow, actionFormItem.getAction(),
              this.updateControlListenerer);
          // Binding row to control.
          ctrl.bind(dataRow, null);

          addedControl = ctrl;
        } else {
          // Creating control.
          ActionSliderControl ctrl = new ActionSliderControl(
View Full Code Here

Examples of net.pleso.framework.client.ui.custom.controls.data.ActionSliderControl.bind()

          // Creating control.
          ActionSliderControl ctrl = new ActionSliderControl(
              this.parentWindow, actionFormItem.getAction(),
              this.updateControlListenerer);
          // Binding row to control.
          ctrl.bind(dataRow, null);

          addedControl = ctrl;
        }
      } else
      // If item is selector.
View Full Code Here

Examples of net.pleso.framework.client.ui.custom.controls.data.DateRangeControl.bind()

            .getHighBoundDataColumn());

        // If this is date range.
        if (valueLow instanceof DBDate && valueHigh instanceof DBDate) {
          DateRangeControl ctrl = new DateRangeControl();
          ctrl.bind(dataRow, item.getLowBoundDataColumn(), item
              .getHighBoundDataColumn());
          addedControl = ctrl;
        }
        // If this is floats range.
        else if (valueLow instanceof DBFloat
View Full Code Here

Examples of net.pleso.framework.client.ui.custom.controls.data.EnumComboBoxDataControl.bind()

        // Creating control.
        EnumComboBoxDataControl ctrl = new EnumComboBoxDataControl(item
            .getEnum());
        // Binding row and column to control.
        ctrl.bind(dataRow, item.getDataColumn());
        addedControl = ctrl;
      } else
      // If this is range edit item.
      if (items[i] instanceof IEditRangeFormItem) {
        // Interface type cast.
View Full Code Here

Examples of net.pleso.framework.client.ui.custom.controls.data.FloatRangeControl.bind()

        }
        // If this is floats range.
        else if (valueLow instanceof DBFloat
            && valueHigh instanceof DBFloat) {
          FloatRangeControl ctrl = new FloatRangeControl();
          ctrl.bind(dataRow, item.getLowBoundDataColumn(), item
              .getHighBoundDataColumn());
          addedControl = ctrl;
        }
        // If this is time range.
        else if (valueLow instanceof DBStringTime
View Full Code Here

Examples of net.pleso.framework.client.ui.custom.controls.data.InfoDataControl.bind()

      else if (items[i] instanceof IInfoEnumColumnFormItem) {
        // Creating control.
        InfoDataControl ctrl = new InfoDataControl(
            ((IInfoEnumColumnFormItem) items[i]).getEnum());
        // Binding row and column to control.
        ctrl.bind(dataRow, ((IInfoFormItem) items[i]).getDataColumn());
        addedControl = ctrl;
      } else
      // If this is read only information item.
      if (items[i] instanceof IInfoFormItem) {
        // Creating control.
View Full Code Here

Examples of net.pleso.framework.client.ui.custom.controls.data.SelectorControl.bind()

        // Creating control.
        SelectorControl ctrl = new SelectorControl(this.parentWindow,
            item.getSelector());

        // Binding row and column to control.
        ctrl.bind(dataRow, item.getShownColumn());

        addedControl = ctrl;
      } else
      // If item is enumeration selector.
      if (items[i] instanceof IEditEnumColumnFormItem) {
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.