daoc.editor.model.properties
Class ColorPropProperty

java.lang.Object
  extended bydaoc.editor.model.properties.Property
      extended bydaoc.editor.model.properties.ColorProperty
          extended bydaoc.editor.model.properties.ColorPropProperty
All Implemented Interfaces:
java.io.Serializable

public class ColorPropProperty
extends ColorProperty

A color property.

See Also:
Serialized Form

Constructor Summary
ColorPropProperty(java.util.Properties props, java.lang.String key)
           
 
Method Summary
 void setColor(int r, int g, int b, int a)
           
 
Methods inherited from class daoc.editor.model.properties.ColorProperty
getA, getB, getColor, getG, getR, writeXML
 
Methods inherited from class daoc.editor.model.properties.Property
addUpdateListener, getName, removeUpdateListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorPropProperty

public ColorPropProperty(java.util.Properties props,
                         java.lang.String key)
Method Detail

setColor

public void setColor(int r,
                     int g,
                     int b,
                     int a)
Overrides:
setColor in class ColorProperty