org.cumt.model
Class ViewAttributes

java.lang.Object
  extended by org.cumt.model.IdentifiedObject
      extended by org.cumt.model.ViewAttributes
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
PackageViewAttributes, RelationViewAttributes

public class ViewAttributes
extends IdentifiedObject
implements java.lang.Cloneable

Holds view attributes for a model object.

Author:
Carlos Descalzi
See Also:
Serialized Form

Constructor Summary
ViewAttributes()
           
 
Method Summary
 java.lang.Object clone()
           
 java.awt.Color getBackgroundColor()
           
 java.awt.Font getFont()
           
 java.awt.Color getForegroundColor()
           
 java.awt.Point getLocation()
           
 java.awt.Dimension getSize()
           
 void set(ViewAttributes viewAttributes)
           
 void setBackgroundColor(java.awt.Color backgroundColor)
           
 void setFont(java.awt.Font font)
           
 void setForegroundColor(java.awt.Color foregroundColor)
           
 void setLocation(java.awt.Point location)
           
 void setSize(java.awt.Dimension size)
           
 
Methods inherited from class org.cumt.model.IdentifiedObject
equals, getId, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewAttributes

public ViewAttributes()
Method Detail

getBackgroundColor

public java.awt.Color getBackgroundColor()

setBackgroundColor

public void setBackgroundColor(java.awt.Color backgroundColor)

getFont

public java.awt.Font getFont()

setFont

public void setFont(java.awt.Font font)

getForegroundColor

public java.awt.Color getForegroundColor()

setForegroundColor

public void setForegroundColor(java.awt.Color foregroundColor)

getLocation

public java.awt.Point getLocation()

setLocation

public void setLocation(java.awt.Point location)

getSize

public java.awt.Dimension getSize()

setSize

public void setSize(java.awt.Dimension size)

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

set

public void set(ViewAttributes viewAttributes)


Copyright © 2006 null. All Rights Reserved.