FileDocCategorySizeDatePackage
SWTSkinPropertiesParamImpl.javaAPI DocAzureus 3.0.3.42962Sun May 06 00:56:46 BST 2007com.aelitis.azureus.ui.swt.skin

SWTSkinPropertiesParamImpl

public class SWTSkinPropertiesParamImpl extends Object implements SWTSkinPropertiesParam
SWTSkinProperties delegator that always passes a set of parameters to string requests.
author
TuxPaper
created
Jun 27, 2006

Fields Summary
private final SWTSkinProperties
properties
private final String[]
sCloneParams
Constructors Summary
public SWTSkinPropertiesParamImpl(SWTSkinProperties properties, String[] sCloneParams)

param
properties

		this.properties = properties;
		this.sCloneParams = sCloneParams;
	
Methods Summary
public voidaddProperty(java.lang.String name, java.lang.String value)

		properties.addProperty(name, value);
	
public booleangetBooleanValue(java.lang.String name, boolean def)

		return properties.getBooleanValue(name, def);
	
public org.eclipse.swt.graphics.ColorgetColor(java.lang.String name)

		return properties.getColor(name);
	
public int[]getColorValue(java.lang.String name)

		return properties.getColorValue(name);
	
public intgetIntValue(java.lang.String name, int def)

		return properties.getIntValue(name, def);
	
public java.lang.String[]getParamValues()

		return sCloneParams;
	
public java.util.PropertiesgetProperties()

		return properties.getProperties();
	
public java.lang.String[]getStringArray(java.lang.String name, java.lang.String[] params)

		return properties.getStringArray(name, params);
	
public java.lang.String[]getStringArray(java.lang.String name)

		return properties.getStringArray(name, sCloneParams);
	
public java.lang.StringgetStringValue(java.lang.String name, java.lang.String[] params, java.lang.String def)

		return properties.getStringValue(name, params, def);
	
public java.lang.StringgetStringValue(java.lang.String name, java.lang.String[] params)

		return properties.getStringValue(name, params);
	
public java.lang.StringgetStringValue(java.lang.String name)

		return properties.getStringValue(name, sCloneParams);
	
public java.lang.StringgetStringValue(java.lang.String name, java.lang.String def)

		return properties.getStringValue(name, sCloneParams, def);