Examples of description()


Examples of edsdk.utils.CanonConstants.EdsDataType.description()

                    final EdsDataType type = CanonUtils.getPropertyType( baseref, id );

                    if ( size > -1 || !hideNegativeSizeProperties ) {
                        System.out.println( id.name() );
                        System.out.println( "  Size: " + size );
                        System.out.println( "  Type: " + type.description() );
                        if ( size == -1 &&
                             type.equals( EdsDataType.kEdsDataType_Unknown ) ) {
                            System.out.println( id.name() +
                                                " - VALUE NOT AVAILABLE ON THIS CAMERA AND/OR WITH CURRENT SETTINGS" );
                        } else {
View Full Code Here

Examples of edsdk.utils.CanonConstants.EdsError.description()

                    final NativeLongByReference number = new NativeLongByReference( new NativeLong( bufferSize ) );
                    EdsError err = CanonUtils.toEdsError( CanonCamera.EDSDK.EdsGetPropertySize( camera.getEdsCamera(), new NativeLong( i ), new NativeLong( 0 ), type, number ) );
                    if ( !err.equals( EdsError.EDS_ERR_PROPERTIES_UNAVAILABLE ) ) {
                        System.out.println( i + " (0x" +
                                            Integer.toHexString( i ) + "): " +
                                            err.description() );
                    }
                    if ( err == EdsError.EDS_ERR_OK ) {
                        final int size = (int) number.getValue().longValue();
                        final EdsDataType edsType = EdsDataType.enumOfValue( type.get( 0 ) );
                        if ( size > -1 ) {
View Full Code Here

Examples of edsdk.utils.CanonConstants.EdsImageSize.description()

        System.out.println();
        System.out.println( "Secondary image properties " );
        System.out.println( "                type: " +
                            secondaryImageType.description() );
        System.out.println( "                size: " +
                            secondaryImageSize.description() );
        System.out.println( " compression quality: " +
                            secondaryImageCompressQuality.description() );
    }

}
View Full Code Here

Examples of edsdk.utils.CanonConstants.EdsImageType.description()

        System.out.println( " compression quality: " +
                            mainImageCompressQuality.description() );
        System.out.println();
        System.out.println( "Secondary image properties " );
        System.out.println( "                type: " +
                            secondaryImageType.description() );
        System.out.println( "                size: " +
                            secondaryImageSize.description() );
        System.out.println( " compression quality: " +
                            secondaryImageCompressQuality.description() );
    }
View Full Code Here

Examples of eu.planets_project.services.datatypes.Parameter.Builder.description()

      }
  }
  final String parameterName = getAttributeValue(parameterElement,
    Constants.NAME_ATTRIBUTE);
  final Builder parameterBuilder = new Builder(parameterName, value);
  parameterBuilder.description(description);

  return parameterBuilder.build();
    }

    /**
 
View Full Code Here

Examples of eu.planets_project.services.datatypes.ServiceDescription.Builder.description()

        }
        Builder builder = new ServiceDescription.Builder("New Zealand Metadata Extractor Service",
                Characterise.class.getName());
        builder.author("Fabian Steeg");
        builder.classname(this.getClass().getName());
        builder
                .description("Metadata extraction service based on the Metadata Extraction Tool of the National "
                        + "Library of New Zealand (patched 3.4GA).");
        builder.serviceProvider("The Planets Consortium");
        builder.tool(Tool.create(null, "New Zealand Metadata Extractor", "3.4GA (patched)", null,
                "http://meta-extractor.sourceforge.net/"));
View Full Code Here

Examples of io.airlift.airline.Arguments.description()

                    }
                    else {
                        title = field.getName();
                    }

                    String description = argumentsAnnotation.description();
                    String usage = argumentsAnnotation.usage();
                    boolean required = argumentsAnnotation.required();

                    injectionMetadata.arguments.add(new ArgumentsMetadata(title, description, usage, required, path));
                }
View Full Code Here

Examples of io.airlift.airline.Command.description()

        for (Class<?> cls = commandType; command == null && !Object.class.equals(cls); cls = cls.getSuperclass()) {
            command = cls.getAnnotation(Command.class);
        }
        Preconditions.checkArgument(command != null, "Command %s is not annotated with @Command", commandType.getName());
        String name = command.name();
        String description = command.description().isEmpty() ? null : command.description();
        boolean hidden = command.hidden();

        InjectionMetadata injectionMetadata = loadInjectionMetadata(commandType);

        CommandMetadata commandMetadata = new CommandMetadata(
View Full Code Here

Examples of io.airlift.airline.Option.description()

                    else {
                        name = field.getName();
                    }

                    List<String> options = ImmutableList.copyOf(optionAnnotation.name());
                    String description = optionAnnotation.description();

                    int arity = optionAnnotation.arity();
                    Preconditions.checkArgument(arity >= 0 || arity == Integer.MIN_VALUE, "Invalid arity for option %s", name);

                    if (optionAnnotation.arity() >= 0) {
View Full Code Here

Examples of iryrwarosh.Creature.description()

    Tile tile = world.tile(startX + lookX, startY + lookY);
   
    String text = null;
   
    if (creature != null && player.canSee(creature))
      text = creature.description();
    else if (item != null)
      text = item.name();
    else
      text = tile.description();
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.