|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmarvin.util.MarvinAttributes
public class MarvinAttributes
This class stores and manages plug-ins attributes and either integrates them with Marvin features, such as FilterHistory, Statistics and MarvinPluginWindow.
| Field Summary | |
|---|---|
protected java.util.LinkedHashMap<java.lang.String,java.lang.Object> |
hashAttributes
|
| Constructor Summary | |
|---|---|
MarvinAttributes()
Constructor |
|
| Method Summary | |
|---|---|
MarvinAttributes |
clone()
Clones a MarvinAttributes Object. |
java.lang.Object |
get(java.lang.String name)
Get an attribute by its name. |
java.lang.Object[] |
getValues()
returns an array containing the attrbiute values |
void |
set(java.lang.String name,
java.lang.Object value)
Set an attribute. |
java.lang.String[] |
toStringArray()
Returns all attributes´ name and value as a String array. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.LinkedHashMap<java.lang.String,java.lang.Object> hashAttributes
| Constructor Detail |
|---|
public MarvinAttributes()
| Method Detail |
|---|
public void set(java.lang.String name,
java.lang.Object value)
name - attribute name.value - attribute value.public java.lang.Object get(java.lang.String name)
name - attribute´s name.
public java.lang.String[] toStringArray()
public java.lang.Object[] getValues()
public MarvinAttributes clone()
clone in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||