anvil.annot
Class ValueLinkType

java.lang.Object
  |
  +--anvil.annot.ValueType
        |
        +--anvil.annot.ValueLinkType
Direct Known Subclasses:
ValueMultipleLinkType, ValueSingleLinkType

public abstract class ValueLinkType
extends ValueType

Those attribute values that can take links. Later: add track restrictions (e.g. only ling tracks).


Field Summary
protected  int color
           
 
Fields inherited from class anvil.annot.ValueType
NULL_VALUE, NULL_VALUE_DOC
 
Constructor Summary
ValueLinkType()
           
 
Method Summary
 int getColor()
           
 boolean isValidValue(java.lang.Object val)
           
 void print()
           
 void setColor(int color)
           
 
Methods inherited from class anvil.annot.ValueType
toLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

protected int color
Constructor Detail

ValueLinkType

public ValueLinkType()
Method Detail

print

public void print()

setColor

public void setColor(int color)

getColor

public int getColor()

isValidValue

public boolean isValidValue(java.lang.Object val)
Specified by:
isValidValue in class ValueType