org.corpstein.image
Class Layer

java.lang.Object
  extended by org.corpstein.image.Layer
Direct Known Subclasses:
Backdrop, Background, Bars, Border, ImageLayer, Key, Lines, Scale, Slices, TextLayer, Title, XAxisLabels, YAxisLabels

public class Layer
extends java.lang.Object

Layer is a superclass for image objects that have the following properties:

Version:
$Revision: 1.4 $ $Date: 2005/04/24 20:54:57 $
Author:
David Corpstein

Field Summary
protected  java.awt.Color background
           
protected  boolean border
           
protected  java.awt.Color borderColor
           
static boolean DEFAULT_BORDER
           
static java.awt.Color DEFAULT_BORDER_COLOR
           
protected  int height
           
protected  int width
           
protected  int x
           
protected  int y
           
protected  int z
           
 
Constructor Summary
Layer()
           
 
Method Summary
 void draw(java.awt.Graphics2D g)
           
 java.awt.Color getBackground()
           
 boolean getBorder()
           
 java.awt.Color getBorderColor()
           
 int getHeight()
           
 int getWidth()
           
 int getX()
           
 int getY()
           
 int getZ()
           
 void setBackground(java.awt.Color background)
           
 void setBorder(boolean border)
           
 void setBorderColor(java.awt.Color borderColor)
           
 void setHeight(int height)
           
 void setWidth(int width)
           
 void setX(int x)
           
 void setY(int y)
           
 void setZ(int z)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_BORDER_COLOR

public static final java.awt.Color DEFAULT_BORDER_COLOR

DEFAULT_BORDER

public static final boolean DEFAULT_BORDER
See Also:
Constant Field Values

x

protected int x

y

protected int y

z

protected int z

width

protected int width

height

protected int height

background

protected java.awt.Color background

border

protected boolean border

borderColor

protected java.awt.Color borderColor
Constructor Detail

Layer

public Layer()
Method Detail

draw

public void draw(java.awt.Graphics2D g)

getBackground

public java.awt.Color getBackground()

getBorder

public boolean getBorder()

getBorderColor

public java.awt.Color getBorderColor()

getHeight

public int getHeight()

getWidth

public int getWidth()

getX

public int getX()

getY

public int getY()

getZ

public int getZ()

setBackground

public void setBackground(java.awt.Color background)

setBorder

public void setBorder(boolean border)

setBorderColor

public void setBorderColor(java.awt.Color borderColor)

setHeight

public void setHeight(int height)

setWidth

public void setWidth(int width)

setX

public void setX(int x)

setY

public void setY(int y)

setZ

public void setZ(int z)


Last update: 20050424 1651