com.swfm.mica.core
Interface MiiPropertied

All Known Subinterfaces:
MiiPrintDriver
All Known Implementing Classes:
MiJDKPrintDriver, MiJpgPrintDriver, MiPDFDriver, MiPostScriptDriver

public interface MiiPropertied

Version:
%I% %G%
Author:
Michael L. Davis

Method Summary
 MiPropertyDescriptions getPropertyDescriptions()
          Gets the descriptions of all of the properties.
 java.lang.String getPropertyValue(java.lang.String name)
          Gets the textual value of the property with the given name.
 void setPropertyValue(java.lang.String name, java.lang.String value)
          Sets the property with the given name to the given value.
 

Method Detail

getPropertyDescriptions

public MiPropertyDescriptions getPropertyDescriptions()
Gets the descriptions of all of the properties. These can be used to see if an property is different from the default value or if a proposed value is valid or to get a list of all of the valid values of a property.

Returns:
the list of property descriptions

setPropertyValue

public void setPropertyValue(java.lang.String name,
                             java.lang.String value)
Sets the property with the given name to the given value.

Parameters:
name - the name of an attribute
value - the value of the attribute

getPropertyValue

public java.lang.String getPropertyValue(java.lang.String name)
Gets the textual value of the property with the given name. If the value is null then MiiTypes.Mi_NULL_VALUE_NAME is returned.

Parameters:
name - the name of a property
Returns:
the string value of the property