public abstract class AbstractItem extends Object implements org.gephi.preview.api.Item
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
data |
protected Object |
source |
protected String |
type |
| Constructor and Description |
|---|
AbstractItem(Object source,
String type) |
public String getType()
getType in interface org.gephi.preview.api.Itempublic Object getSource()
getSource in interface org.gephi.preview.api.Itempublic <D> D getData(String key)
getData in interface org.gephi.preview.api.Itempublic void setData(String key, Object value)
setData in interface org.gephi.preview.api.Itempublic String[] getKeys()
getKeys in interface org.gephi.preview.api.ItemCopyright © 2007–2016 Gephi Consortium. All rights reserved.