getProperty(Object)
- Method in class javax.swing.text.AbstractDocument public final Object getProperty (Object key) A convenience method for looking up a property value. It is equivalent to: getDocumentProperties().get(key); Specified by: getProperty in interface Document Parameters: key - the non-null property keyReturns: the value of this property or nullSee Also: getDocumentProperties() getProperty(ParameterBlock, String) - Method in interface java.awt.image.renderable.ContextualRenderedImageFactory public Object getProperty (ParameterBlock paramBlock, String name) Gets the appropriate instance of the property specified by the name parameter. This method must determine which instance of a property to return when there are multiple sources that each specify the property.Parameters: paramBlock - a ParameterBlock containing the operation's sources and parameters. - a String naming the desired property.name - a String naming the desired property.Returns: an object reference to the value of the property requested. getProperty(String) - Method in class java.awt.image.BufferedImage public Object getProperty (String name) Returns a property of the image by name.Parameters: name - the property nameReturns: an Object that is the property referred to by the specified name. getProperty(String) *2 - Method in interface java.awt.image.RenderedImage public Object getProperty (String name) Gets a property from the property set of this image. The set of properties and whether it is immutable is determined by the implementing class. This method returns java.awt.Image.UndefinedProperty if the specified property is not defined for this RenderedImage.See Also: Image.UndefinedProperty getProperty(String) *3 - Method in class java.awt.image.renderable.RenderableImageOp public Object getProperty (String name) Gets a property from the property set of this image. If the property name is not recognized, java.awt.Image.UndefinedProperty will be returned.Specified by: getProperty in interface RenderableImage Parameters: name - the name of the property to get, as a String.Returns: a reference to the property Object, or the value java.awt.Image.UndefinedProperty. getProperty(String) *4 - Method in interface java.awt.image.renderable.RenderableImage public Object getProperty (String name) Gets a property from the property set of this image. If the property name is not recognized, java.awt.Image.UndefinedProperty will be returned.Parameters: name - the name of the property to get, as a String.Returns: a reference to the property Object, or the value java.awt.Image.UndefinedProperty. getProperty(String) *5 - Static method in class java.lang.System public static String getProperty (String key) Gets the system property indicated by the specified key. First, if there is a security manager, its checkPropertyAccess method is called with the key as its argument. This may result in a SecurityException. If there is no current set of system properties, a set of system properties is first created and initialized in the same manner as for the getProperties method.Parameters: key - the name of the system property.Returns: the string value of the system property, or null if there is no property with that key.Throws: SecurityException - if a security manager exists and its checkPropertyAccess method doesn't allow access to the specified system property.See Also: SecurityException , SecurityManager.checkPropertyAccess(java.lang.String) , getProperties() getProperty(String) *6 - Static method in class java.security.Security public static String getProperty (String key) Gets a security property value. First, if there is a security manager, its checkPermission method is called with a java.security.SecurityPermission("getProperty."+key) permission to see if it's ok to retrieve the specified security property value..Parameters: key - the key of the property being retrieved.Returns: the value of the security property corresponding to key.Throws: SecurityException - if a security manager exists and its method denies access to retrieve the specified security property valueSee Also: SecurityPermission getProperty(String) *7 - Method in class java.util.Properties public String getProperty (String key) Searches for the property with the specified key in this property list. If the key is not found in this property list, the default property list, and its defaults, recursively, are then checked. The method returns null if the property is not found.Parameters: key - the property key.Returns: the value in this property list with the specified key value.See Also: defaults getProperty(String, ImageObserver) - Method in class java.awt.Image public abstract Object getProperty (String name, ImageObserver observer) Gets a property of this image by name. Individual property names are defined by the various image formats. If a property is not defined for a particular image, this method returns the UndefinedProperty object. If the properties for this image are not yet known, this method returns null, and the ImageObserver object is notified later. The property name "comment" should be used to store an optional comment which can be presented to the application as a description of the image, its source, or its author.Parameters: name - a property name. - an object waiting for this image to be loaded.observer - an object waiting for this image to be loaded.Returns: the value of the named property.See Also: ImageObserver , UndefinedProperty getProperty(String, ImageObserver) *2 - Method in class java.awt.image.BufferedImage public Object getProperty (String name, ImageObserver observer) Returns a property of the image by name. Individual property names are defined by the various image formats. If a property is not defined for a particular image, this method returns the UndefinedProperty field. If the properties for this image are not yet known, then this method returns null and the ImageObserver object is notified later. The property name "comment" should be used to store an optional comment that can be presented to the user as a description of the image, its source, or its author.Overrides: getProperty in class Image Parameters: name - the property name - the that receives notification regarding image informationobserver - the ImageObserver that receives notification regarding image informationReturns: an Object that is the property referred to by the specified name or null if the properties of this image are not yet known.See Also: ImageObserver , Image.UndefinedProperty getProperty(String, String) - Static method in class java.awt.Toolkit public static String getProperty (String key, String defaultValue) Gets a property with the specified key and default. This method returns defaultValue if the property is not found. getProperty(String, String) *2 - Static method in class java.lang.System public static String getProperty (String key, String def) Gets the system property indicated by the specified key. First, if there is a security manager, its checkPropertyAccess method is called with the key as its argument. If there is no current set of system properties, a set of system properties is first created and initialized in the same manner as for the getProperties method.Parameters: key - the name of the system property. - a default value.def - a default value.Returns: the string value of the system property, or the default value if there is no property with that key.Throws: SecurityException - if a security manager exists and its checkPropertyAccess method doesn't allow access to the specified system property.See Also: SecurityManager.checkPropertyAccess(java.lang.String) , getProperties() getProperty(String, String) *3 - Method in class java.util.Properties public String getProperty (String key, String defaultValue) Searches for the property with the specified key in this property list. If the key is not found in this property list, the default property list, and its defaults, recursively, are then checked. The method returns the default value argument if the property is not found.Parameters: key - the hashtable key. - a default value.defaultValue - a default value.Returns: the value in this property list with the specified key value.See Also: defaults | ||||
Search Dictionary:
