public abstract class ComponentBase extends Object implements Component
Constructor and Description |
---|
ComponentBase() |
Modifier and Type | Method and Description |
---|---|
void |
clearProperties() |
String |
getName() |
Map<String,String> |
getProperties() |
String |
getProperty(String key) |
String |
getProperty(String key,
String defaultValue) |
Object |
getTag() |
boolean |
hasProperty(String key) |
void |
removeProperty(String key) |
void |
setName(String name) |
void |
setProperty(String key,
String value) |
void |
setTag(Object tag) |
public void setProperty(String key, String value)
setProperty
in interface Component
public boolean hasProperty(String key)
hasProperty
in interface Component
public String getProperty(String key, String defaultValue)
getProperty
in interface Component
public String getProperty(String key)
getProperty
in interface Component
public Map<String,String> getProperties()
getProperties
in interface Component
public void removeProperty(String key)
removeProperty
in interface Component
public void clearProperties()
clearProperties
in interface Component
Copyright © 2012–2014 Pi4J. All rights reserved.