Package javax.media.jai

Examples of javax.media.jai.PropertySource


    }

    /** Gets a property from the property set of this image.  If the
      property is undefined the constant NULL_PROPERTY is returned. */
    public Object getProperty(Long id, String name) throws RemoteException {
        PropertySource ps = getPropertySource(id);
        Object property = ps.getProperty(name);
        if(property == null ||
           property.equals(java.awt.Image.UndefinedProperty)) {
            property = NULL_PROPERTY;
        }
        return property;
View Full Code Here


     * Returns a list of names recognized by getProperty().
     *
     * @return an array of Strings representing proeprty names.
     */
    public String[] getPropertyNames(Long id) throws RemoteException {
        PropertySource ps = getPropertySource(id);
        return ps.getPropertyNames();
    }
View Full Code Here

    /** Gets a property from the property set of this image.  If the
     *  property is undefined the constant NULL_PROPERTY is returned.
     */
    public Object getProperty(Long id, String name) throws RemoteException {

  PropertySource ps = getPropertySource(id);
  Object property = ps.getProperty(name);

  if (property == null ||
      property.equals(java.awt.Image.UndefinedProperty)) {
      property = NULL_PROPERTY;
  }
View Full Code Here

     *
     * @return an array of Strings representing property names.
     */
    public String[] getPropertyNames(Long id) throws RemoteException {

  PropertySource ps = getPropertySource(id);
  return ps.getPropertyNames();

    }
View Full Code Here

/*     */   }
/*     */
/*     */   public Object getProperty(Long id, String name)
/*     */     throws RemoteException
/*     */   {
/* 266 */     PropertySource ps = getPropertySource(id);
/* 267 */     Object property = ps.getProperty(name);
/* 268 */     if ((property == null) || (property.equals(Image.UndefinedProperty)))
/*     */     {
/* 270 */       property = NULL_PROPERTY;
/*     */     }
/* 272 */     return property;
View Full Code Here

/*     */   }
/*     */
/*     */   public String[] getPropertyNames(Long id)
/*     */     throws RemoteException
/*     */   {
/* 281 */     PropertySource ps = getPropertySource(id);
/* 282 */     return ps.getPropertyNames();
/*     */   }
View Full Code Here

/*      */   }
/*      */
/*      */   public String[] getPropertyNames(Long id)
/*      */     throws RemoteException
/*      */   {
/*  257 */     PropertySource ps = getPropertySource(id);
/*  258 */     return ps.getPropertyNames();
/*      */   }
View Full Code Here

TOP

Related Classes of javax.media.jai.PropertySource

Copyright © 2018 www.massapicom. 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.