org.vectomatic.common.model
Class Attribute
java.lang.Object
org.vectomatic.common.model.Attribute
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.IsSerializable
public class Attribute
- extends Object
- implements com.google.gwt.user.client.rpc.IsSerializable
Class to represent a graphical attribute such as line width
or line color
LINE_STYLE
public static final Attribute LINE_STYLE
LINE_OPACITY
public static final Attribute LINE_OPACITY
LINE_PATTERN
public static final Attribute LINE_PATTERN
LINE_CAP
public static final Attribute LINE_CAP
LINE_WIDTH
public static final Attribute LINE_WIDTH
FILL_STYLE
public static final Attribute FILL_STYLE
FILL_OPACITY
public static final Attribute FILL_OPACITY
Attribute
public Attribute()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getId
public String getId()
- Returns the attribute immutable identifier
- Returns:
- the attribute immutable identifier
getName
public String getName()
- Returns the attribute display name
- Returns:
- the attribute display name
setName
public void setName(String name)
- Sets the attribute display name
- Parameters:
name
- the attribute display name
getDefaultValue
public IAttributeValue getDefaultValue()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2010. All Rights Reserved.