SRJRCFrames
v0.1.296

de.schwarzrot.ui.control.model
Class ColorModel

java.lang.Object
  extended by com.jgoodies.binding.beans.Model
      extended by de.schwarzrot.ui.control.model.ColorModel
All Implemented Interfaces:
com.jgoodies.binding.beans.Observable, Serializable

public class ColorModel
extends com.jgoodies.binding.beans.Model

extended color model to support change of alpha values too.

Author:
Reinhard Mantey
See Also:
Serialized Form

Constructor Summary
ColorModel(Color color)
           
 
Method Summary
 int getAlpha()
           
 int getBlue()
           
 Color getColor()
           
 int getGreen()
           
 int getRed()
           
 void setAlpha(int alpha)
           
 void setBlue(int blue)
           
 void setGreen(int green)
           
 void setRed(int red)
           
protected  void updateColor()
           
 
Methods inherited from class com.jgoodies.binding.beans.Model
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorModel

public ColorModel(Color color)
Method Detail

getAlpha

public int getAlpha()

getBlue

public int getBlue()

getColor

public Color getColor()

getGreen

public int getGreen()

getRed

public int getRed()

setAlpha

public void setAlpha(int alpha)

setBlue

public void setBlue(int blue)

setGreen

public void setGreen(int green)

setRed

public void setRed(int red)

updateColor

protected void updateColor()

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.