Examples of InputBinding


Examples of net.cis.client.game.model.InputBinding

  public InputCtrl(InputManager inputManager, PlayerVehicleUpdates pvu) {
    this.inputManager = inputManager;
    this.pvu = pvu;

    inputBinding = new InputBinding();

    inputManager.clearMappings();

    initShipControlMouseListener();
    initShipControlKeyListener();
View Full Code Here

Examples of org.openquark.samples.bam.model.InputBinding

        int zipInput=0;
        gemGraph.connectGems(zippingFunctionGem.getOutputPart(),zipGem.getInputPart(zipInput++));
       
        //connect the parameters
        for (int inputN = 0; inputN < boundGemDescription.getBindingCount(); ++inputN) {
            InputBinding binding = boundGemDescription.getNthBinding(inputN);
            Gem outputGem = binding.getOutputGem(calServices, gemGraph, bindingContext);

            if (binding.isConstant()) {
                gemGraph.connectGems(outputGem.getOutputPart(), zippingFunctionGem.getInputPart(inputN));
            } else {
                zippingFunctionGem.getInputPart(inputN).setBurnt(true);
                gemGraph.connectGems(outputGem.getOutputPart(), zipGem.getInputPart(zipInput++));
            }
View Full Code Here

Examples of org.openquark.samples.bam.model.InputBinding

     */
    private void updateBindingOfSelectedInput () {
        InputListItem inputListItem = getSelectedInputListItem ();

        if (inputListItem != null) {
            InputBinding newBinding = makeBinding (typeExprToDataType (inputListItem.typeExpr));

            // OK if it's null

            inputListItem.setInputBinding (newBinding);

View Full Code Here

Examples of org.openquark.samples.bam.model.InputBinding

     * Method makeBinding
     *
     * @return an InputBinding created from the current settings of the controls
     */
    private InputBinding makeBinding (int dataType) {
        InputBinding result = null;

        if (getPropertyRadioButton ().isSelected ()) {
            MessagePropertyDescription propertyInfo = getPropertyCombo ().getSelectedInfo();

            if (propertyInfo != null) {
View Full Code Here

Examples of org.openquark.samples.bam.model.InputBinding

        PropertyBinding propertyBinding = null;
       
        InputListItem item = getSelectedInputListItem ();
       
        if (item != null) {
            InputBinding binding = item.getInputBinding();
           
            if (binding instanceof PropertyBinding) {
                propertyBinding = (PropertyBinding)binding;
            }
        }
View Full Code Here

Examples of org.openquark.samples.bam.model.InputBinding

        MetricBinding metricBinding = null;
       
        InputListItem item = getSelectedInputListItem ();
       
        if (item != null) {
            InputBinding binding = item.getInputBinding();
           
            if (binding instanceof MetricBinding) {
                metricBinding = (MetricBinding)binding;
            }
        }
View Full Code Here

Examples of org.openquark.samples.bam.model.InputBinding

        ConstantBinding constantBinding = null;
       
        InputListItem item = getSelectedInputListItem ();
       
        if (item != null) {
            InputBinding binding = item.getInputBinding();
           
            if (binding instanceof ConstantBinding) {
                constantBinding = (ConstantBinding)binding;
            }
        }
View Full Code Here

Examples of org.openquark.samples.bam.model.InputBinding

        TemplateStringBinding templateStringBinding = null;

        if (item != null) {
            enabled = item.typeExpr.isNonParametricType(CAL_Prelude.TypeConstructors.String);
           
            InputBinding binding = item.getInputBinding();
           
            if (binding instanceof TemplateStringBinding) {
                templateStringBinding = (TemplateStringBinding)binding;
            }
        }
View Full Code Here

Examples of org.openquark.samples.bam.model.InputBinding

            Object element = inputListModel.getElementAt(i);
           
            if (element instanceof InputListItem) {
                InputListItem listItem = (InputListItem)element;
               
                InputBinding inputBinding = listItem.getInputBinding();
             
                if (inputBinding == null) {
                    return listItem;
                }
            }
View Full Code Here

Examples of org.openquark.samples.bam.model.InputBinding

        for (int argN = 0; argN < gemEntity.getNNamedArguments (); ++argN) {
            TypeExpr argType = argTypes [argN];
           
            String argName = gemEntity.getNamedArgument (argN);
           
            InputBinding inputBinding = null;
           
            if (canBindType(argType)) {
                inputBinding = findInputBinding (argName, inputListModel);
            }
           
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.