org.jscience.arts.printed
Class Picture

java.lang.Object
  extended by org.jscience.economics.PotentialResource
      extended by org.jscience.economics.Resource
          extended by org.jscience.economics.MaterialResource
              extended by org.jscience.economics.resources.Artifact
                  extended by org.jscience.arts.Artwork
                      extended by org.jscience.arts.printed.Picture
All Implemented Interfaces:
java.io.Serializable, Property, Named, Positioned

public class Picture
extends Artwork

This is the basic visual element class.

See Also:
Serialized Form

Field Summary
static int CANVAS
          DOCUMENT ME!
static int CHARCOAL
          DOCUMENT ME!
static int FRESCO
          DOCUMENT ME!
static int OIL
          DOCUMENT ME!
static int OTHER
          DOCUMENT ME!
static int PAPER
          DOCUMENT ME!
static int PENCIL
          DOCUMENT ME!
static int UNKNOWN
          DOCUMENT ME!
static int WATERPAINT
          DOCUMENT ME!
static int WOOD
          DOCUMENT ME!
 
Constructor Summary
Picture(java.lang.String name, java.lang.String description, Community producer, java.util.Date productionDate, Identification identification, java.util.Set authors)
          Creates a new Picture object.
 
Method Summary
 float getHeight()
          DOCUMENT ME!
 java.awt.Image getImage()
          DOCUMENT ME!
 int getMaterial()
          DOCUMENT ME!
 int getPencil()
          DOCUMENT ME!
 float getWidth()
          DOCUMENT ME!
 void setHeight(float height)
          DOCUMENT ME!
 void setImage(java.awt.Image image)
          DOCUMENT ME!
 void setMaterial(int material)
          DOCUMENT ME!
 void setPencil(int pencil)
          DOCUMENT ME!
 void setWidth(float width)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.arts.Artwork
addAnalysis, addRestoration, equals, getAnalysis, getArt, getAuthors, getRestorations, removeAnalysis, removeRestoration, setAnalysis, setAuthors, setRestorations
 
Methods inherited from class org.jscience.economics.resources.Artifact
getGroup, isBroken, setGroup, setIsBroken
 
Methods inherited from class org.jscience.economics.MaterialResource
getIdentification, getValue, setValue
 
Methods inherited from class org.jscience.economics.Resource
addOwner, getOwners, getPosition, getProducer, getProductionDate, getProductionPlace, removeOwner, setOwners, setPosition
 
Methods inherited from class org.jscience.economics.PotentialResource
getAmount, getDecayTime, getDescription, getKind, getName, setDecayTime, setKind, setQuantity
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jscience.economics.Property
getOwners
 

Field Detail

UNKNOWN

public static final int UNKNOWN
DOCUMENT ME!

See Also:
Constant Field Values

OIL

public static final int OIL
DOCUMENT ME!

See Also:
Constant Field Values

WATERPAINT

public static final int WATERPAINT
DOCUMENT ME!

See Also:
Constant Field Values

CHARCOAL

public static final int CHARCOAL
DOCUMENT ME!

See Also:
Constant Field Values

PENCIL

public static final int PENCIL
DOCUMENT ME!

See Also:
Constant Field Values

CANVAS

public static final int CANVAS
DOCUMENT ME!

See Also:
Constant Field Values

WOOD

public static final int WOOD
DOCUMENT ME!

See Also:
Constant Field Values

FRESCO

public static final int FRESCO
DOCUMENT ME!

See Also:
Constant Field Values

PAPER

public static final int PAPER
DOCUMENT ME!

See Also:
Constant Field Values

OTHER

public static final int OTHER
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

Picture

public Picture(java.lang.String name,
               java.lang.String description,
               Community producer,
               java.util.Date productionDate,
               Identification identification,
               java.util.Set authors)
Creates a new Picture object.

Parameters:
name - DOCUMENT ME!
description - DOCUMENT ME!
producer - DOCUMENT ME!
productionDate - DOCUMENT ME!
identification - DOCUMENT ME!
authors - DOCUMENT ME!
Method Detail

getWidth

public float getWidth()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setWidth

public void setWidth(float width)
DOCUMENT ME!

Parameters:
width - DOCUMENT ME!

getHeight

public float getHeight()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setHeight

public void setHeight(float height)
DOCUMENT ME!

Parameters:
height - DOCUMENT ME!

getPencil

public int getPencil()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setPencil

public void setPencil(int pencil)
DOCUMENT ME!

Parameters:
pencil - DOCUMENT ME!

getMaterial

public int getMaterial()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setMaterial

public void setMaterial(int material)
DOCUMENT ME!

Parameters:
material - DOCUMENT ME!

getImage

public java.awt.Image getImage()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setImage

public void setImage(java.awt.Image image)
DOCUMENT ME!

Parameters:
image - DOCUMENT ME!