|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.graffiti.attributes.AbstractAttribute
org.graffiti.attributes.StringAttribute
vanted.attribute.ArcWeightAttribute
public class ArcWeightAttribute
The Class ArcWeightAttribute handles the arc-weight attribute.
Field Summary | |
---|---|
static java.lang.String |
colorAttributeName
The Constant colorAttributeName. |
static java.lang.String |
name
The Constant name. |
static java.lang.String |
path
The Constant path. |
static java.lang.String |
positionAttributeName
The Constant positionAttributeName. |
static java.lang.String |
positionAttributeNameEdge
The Constant positionAttributeNameEdge. |
static java.lang.String |
sizeAttributeName
The Constant sizeAttributeName. |
Fields inherited from interface org.graffiti.attributes.Attribute |
---|
SEPARATOR |
Constructor Summary | |
---|---|
ArcWeightAttribute()
Instantiates a new arc-weight attribute. |
|
ArcWeightAttribute(java.lang.String id)
Instantiates a new arc-weight attribute. |
|
ArcWeightAttribute(java.lang.String id,
java.lang.String value)
Instantiates a new arc-weight attribute. |
Method Summary | |
---|---|
void |
addArcWeight(ArcWeight arcWeight)
Adds the arc-weight. |
ArcWeight |
getArcWeight()
Gets the arc-weight. |
java.lang.String |
getString()
|
java.lang.Object |
getValue()
|
boolean |
removeArcWeight()
Removes the arc-weight. |
void |
setString(java.lang.String value)
|
Methods inherited from class org.graffiti.attributes.StringAttribute |
---|
copy, getTypedStringAttribute, getTypedStringAttribute, putAttributeType, setDefaultValue, toString, toXMLString |
Methods inherited from class org.graffiti.attributes.AbstractAttribute |
---|
addEdgeAttributeType, addNodeAttributeType, getAttributable, getDescription, getIcon, getId, getName, getParent, getPath, getTypedAttribute, isTypedAttributeFromID, setDescription, setId, setParent, setValue, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String path
public static final java.lang.String name
public static final java.lang.String positionAttributeName
public static final java.lang.String sizeAttributeName
public static final java.lang.String colorAttributeName
public static final java.lang.String positionAttributeNameEdge
Constructor Detail |
---|
public ArcWeightAttribute()
public ArcWeightAttribute(java.lang.String id)
id
- the idpublic ArcWeightAttribute(java.lang.String id, java.lang.String value)
id
- the idvalue
- the valueMethod Detail |
---|
public java.lang.String getString()
getString
in class org.graffiti.attributes.StringAttribute
public java.lang.Object getValue()
getValue
in interface org.graffiti.attributes.Attribute
getValue
in interface org.graffiti.plugin.Displayable
getValue
in class org.graffiti.attributes.StringAttribute
public void setString(java.lang.String value)
setString
in class org.graffiti.attributes.StringAttribute
public ArcWeight getArcWeight()
public void addArcWeight(ArcWeight arcWeight)
arcWeight
- the arc-weightpublic boolean removeArcWeight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |