Examples of label()


Examples of org.fao.geonet.kernel.region.Request.label()

        Element regions = null;
        for (RegionsDAO dao : daos) {
            if (dao.includeInListing()) {
                Request request = dao.createSearchRequest(context);
                if (labelParam != null) {
                    request.label(labelParam);
                }
                if (categoryIdParam != null) {
                    request.categoryId(categoryIdParam);
                }
                if (maxRecordsParam > 0) {
View Full Code Here

Examples of org.fest.swing.fixture.FrameFixture.label()

        view.populationUpdate(new PopulationData<BigDecimal>(BigDecimal.TEN, 10, 5, 2, true, 5, 0, 1, 100));
        robot.waitForIdle();

        // Check displayed fitness.
        String fitnessText = frameFixture.label("FitnessLabel").text();
        assert fitnessText.equals("10.0") : "Wrong fitness score displayed: " + fitnessText;

        // Check rendered candidate.
        frameFixture.textBox().requireNotEditable();
        String text = frameFixture.textBox().component().getText();
View Full Code Here

Examples of org.hisrc.jscm.codemodel.JSFunctionBody.label()

      body._while(x.lt(y)).expression(x.postIncr());
      body._while(x.lt(y)).block().expression(x.postIncr());
    }

    {
      JSLabelledStatement labelledStatement = body.label("label0");
      JSLabel label0 = labelledStatement.getLabel();
      labelledStatement.block()._break(label0);

      body._continue();
      body._continue(label0);
View Full Code Here

Examples of org.jboss.as.console.client.widgets.forms.FormItem.label()

        String[] acceptedValues = new String[0];

        if(formItemDeclaration!=null)
        {
            defaultValue = formItemDeclaration.defaultValue();
            label = formItemDeclaration.label();
            localLabel = formItemDeclaration.localLabel();
            required = formItemDeclaration.required();
            formItemTypeForEdit = formItemDeclaration.formItemTypeForEdit();
            formItemTypeForAdd = formItemDeclaration.formItemTypeForAdd();
            subgroup = formItemDeclaration.subgroup();
View Full Code Here

Examples of org.jclouds.dynect.v3.domain.RecordSet.Value.Builder.label()

            List<String> labels = creepyGeoRegionGroup.label.get(type.toLowerCase() + "_label");
            for (int i = 0; i < entry.getValue().size(); i++) {
               Builder elementBuilder = Value.builder().rdata(entry.getValue().get(i));
               // chance of index out of bounds
               if (i < labels.size())
                  elementBuilder.label(labels.get(i));
               if (i < weights.size())
                  elementBuilder.weight(weights.get(i));
               rset.add(elementBuilder.build());
            }
            rsets.add(rset.build());
View Full Code Here

Examples of org.jruby.compiler.impl.SkinnyMethodAdapter.label()

                    // store it
                    mv.dup();
                    mv.putstatic(pathName, simpleName, ci(DynamicMethod.class));

                    // all done with lookup attempts, pop any result and release monitor
                    mv.label(noStore);
                    mv.pop();
                    mv.getstatic(pathName, "rubyClass", ci(RubyClass.class));
                    mv.monitorexit();
                    mv.go_to(recheckMethod);
View Full Code Here

Examples of org.jruby.compiler.impl.SkinnyMethodAdapter.label()

                    mv.getstatic(pathName, "rubyClass", ci(RubyClass.class));
                    mv.monitorexit();
                    mv.go_to(recheckMethod);

                    // end of try block
                    mv.label(tryEnd);

                    // finally block to release monitor
                    mv.label(finallyStart);
                    mv.getstatic(pathName, "rubyClass", ci(RubyClass.class));
                    mv.monitorexit();
View Full Code Here

Examples of org.jruby.compiler.impl.SkinnyMethodAdapter.label()

                    // end of try block
                    mv.label(tryEnd);

                    // finally block to release monitor
                    mv.label(finallyStart);
                    mv.getstatic(pathName, "rubyClass", ci(RubyClass.class));
                    mv.monitorexit();
                    mv.label(finallyEnd);
                    mv.athrow();
View Full Code Here

Examples of org.jruby.compiler.impl.SkinnyMethodAdapter.label()

                    // finally block to release monitor
                    mv.label(finallyStart);
                    mv.getstatic(pathName, "rubyClass", ci(RubyClass.class));
                    mv.monitorexit();
                    mv.label(finallyEnd);
                    mv.athrow();

                    // exception handling for monitor release
                    mv.trycatch(tryStart, tryEnd, finallyStart, null);
                    mv.trycatch(finallyStart, finallyEnd, finallyStart, null);
View Full Code Here

Examples of org.jruby.compiler.impl.SkinnyMethodAdapter.label()

                    // exception handling for monitor release
                    mv.trycatch(tryStart, tryEnd, finallyStart, null);
                    mv.trycatch(finallyStart, finallyEnd, finallyStart, null);

                    // re-get, re-check method; if not null now, go to dispatch
                    mv.label(recheckMethod);
                    mv.getstatic(pathName, simpleName, ci(DynamicMethod.class));
                    mv.dup();
                    mv.ifnonnull(dispatch);

                    // method still not available, call method_missing
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.