Examples of defaults()


Examples of com.badlogic.gdx.scenes.scene2d.ui.Table.defaults()

  private Table buildTopPanel( NinePatchDrawable back, float width, float height ) {

    Table p = ResourceFactory.newTable();
    p.setSize( width, 155 );
    p.defaults().pad( 5, 25, 5, 0 ).align( Align.top );
    p.left();
    p.setBackground( back );

    return p;
  }
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.Table.defaults()

  }

  private Table buildBottomPanel( NinePatchDrawable back, float width, float height ) {
    Table t = ResourceFactory.newTable();
    t.setSize( width, 130 );
    t.defaults().pad( 10, 15, 0, 15 ).align( Align.top ).expandY();
    t.setY( -98 );
    t.left();
    t.setBackground( back );

    return t;
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.Table.defaults()

      attenuationY = slider("Attenuation*d", 3);
      attenuationZ = slider("Attenuation*d*d", 5);
      strength = slider("Strength", 1);
      {
        Table table = new Table();
        table.defaults().space(12);
        table.add(useShadow = checkbox(" Use shadow", true));
        table.add(useNormals = checkbox(" Use normals", true));
        table.add(yInvert = checkbox(" Invert Y", true));
        root.add(table).colspan(2).row();
      }
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.Table.defaults()

      }));
    }

    private Table table (Actor... actors) {
      Table table = new Table();
      table.defaults().space(6);
      table.add(actors);
      return table;
    }

    void toast (String text) {
View Full Code Here

Examples of eu.planets_project.pp.plato.model.transform.NumericTransformer.defaults()

                        if (value.value() < min) {
                            min = value.value();
                        }
                    }
                }
                nt.defaults(min,max);
                nt.setMode(TransformationMode.LINEAR);
            } else {
                OrdinalTransformer ot = (OrdinalTransformer) t;
                if  (leaf.getScale() instanceof BooleanScale) {
           
View Full Code Here

Examples of eu.scape_project.planning.model.transform.NumericTransformer.defaults()

                        if (value.value() < min) {
                            min = value.value();
                        }
                    }
                }
                nt.defaults(min, max);
                nt.setMode(TransformationMode.LINEAR);
            } else {
                OrdinalTransformer ot = (OrdinalTransformer) t;
                if (leaf.getScale() instanceof BooleanScale) {
View Full Code Here

Examples of org.apache.commons.cli2.Option.defaults()

    public void defaults(final WriteableCommandLine commandLine) {
        super.defaults(commandLine);

        for (final Iterator i = options.iterator(); i.hasNext();) {
            final Option option = (Option) i.next();
            option.defaults(commandLine);
        }

        for (final Iterator i = anonymous.iterator(); i.hasNext();) {
            final Option option = (Option) i.next();
            option.defaults(commandLine);
View Full Code Here

Examples of org.apache.commons.cli2.Option.defaults()

            option.defaults(commandLine);
        }

        for (final Iterator i = anonymous.iterator(); i.hasNext();) {
            final Option option = (Option) i.next();
            option.defaults(commandLine);
        }
    }
}

View Full Code Here

Examples of org.eclipse.mylyn.tasks.core.data.TaskAttributeMetaData.defaults()

  }

  private void createAttribute(TaskData data, GitHubTaskAttributes attribute, String value) {
    TaskAttribute attr = data.getRoot().createAttribute(attribute.getId());
    TaskAttributeMetaData metaData = attr.getMetaData();
    metaData.defaults()
      .setType(attribute.getType())
      .setKind(attribute.getKind())
      .setLabel(attribute.getLabel())
      .setReadOnly(attribute.isReadOnly());
View Full Code Here

Examples of org.eclipse.mylyn.tasks.core.data.TaskAttributeMetaData.defaults()

    private static TaskAttribute createAttribute(TaskAttribute parent,
            GoogleCodeAttribute googleCodeAttribute) {
        TaskAttribute taskAttribute = parent.createAttribute(googleCodeAttribute.getKey());
        TaskAttributeMetaData metaData = taskAttribute.getMetaData();
        metaData.defaults();
        metaData.setReadOnly(googleCodeAttribute.isReadOnly());
        metaData.setKind(googleCodeAttribute.getKind());
        metaData.setLabel(googleCodeAttribute.getLabel());
        metaData.setType(googleCodeAttribute.getType());
        metaData.putValue(GOOGLE_CODE_KEY, googleCodeAttribute.getGoogleCodeKey());
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.