vanted.attribute
Class HideLabelAttribute

java.lang.Object
  extended by org.graffiti.attributes.AbstractAttribute
      extended by org.graffiti.attributes.StringAttribute
          extended by vanted.attribute.HideLabelAttribute
All Implemented Interfaces:
org.graffiti.attributes.Attribute, org.graffiti.core.DeepCopy, org.graffiti.plugin.Displayable

public class HideLabelAttribute
extends org.graffiti.attributes.StringAttribute

The Class HideLabelAttribute handles the hide label attribute.

Author:
Kevin Pucknat

Field Summary
static java.lang.String name
          The Constant name.
static java.lang.String path
          The Constant path.
 
Fields inherited from interface org.graffiti.attributes.Attribute
SEPARATOR
 
Constructor Summary
HideLabelAttribute()
          Instantiates a new hide label attribute.
HideLabelAttribute(java.lang.String id)
          Instantiates a new hide label attribute.
HideLabelAttribute(java.lang.String id, java.lang.String value)
          Instantiates a new hide label attribute.
 
Method Summary
 void addHideLabel(HideLabel hideLabel)
          Adds the hide label.
 HideLabel getHideLabel()
          Gets the hide label.
 java.lang.String getString()
           
 java.lang.Object getValue()
           
 boolean removeHideLabel()
          Removes the hide label.
 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

path

public static final java.lang.String path
The Constant path.

See Also:
Constant Field Values

name

public static final java.lang.String name
The Constant name.

See Also:
Constant Field Values
Constructor Detail

HideLabelAttribute

public HideLabelAttribute()
Instantiates a new hide label attribute.


HideLabelAttribute

public HideLabelAttribute(java.lang.String id)
Instantiates a new hide label attribute.

Parameters:
id - the id

HideLabelAttribute

public HideLabelAttribute(java.lang.String id,
                          java.lang.String value)
Instantiates a new hide label attribute.

Parameters:
id - the id
value - the value
Method Detail

getString

public java.lang.String getString()
Overrides:
getString in class org.graffiti.attributes.StringAttribute

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface org.graffiti.attributes.Attribute
Specified by:
getValue in interface org.graffiti.plugin.Displayable
Overrides:
getValue in class org.graffiti.attributes.StringAttribute

setString

public void setString(java.lang.String value)
Overrides:
setString in class org.graffiti.attributes.StringAttribute

getHideLabel

public HideLabel getHideLabel()
Gets the hide label.

Returns:
the hide label

addHideLabel

public void addHideLabel(HideLabel hideLabel)
Adds the hide label.

Parameters:
hideLabel - the hide label

removeHideLabel

public boolean removeHideLabel()
Removes the hide label.

Returns:
true, if successful