org.jfree.ui

Class Layer

Implemented Interfaces:
Serializable

public final class Layer
extends java.lang.Object
implements Serializable

Used to indicate either the foreground or background layer.
Author:
David Gilbert

Field Summary

static Layer
BACKGROUND
Background.
static Layer
FOREGROUND
Foreground.

Method Summary

boolean
equals(Object o)
Returns true if this object is equal to the specified object, and false otherwise.
int
hashCode()
Returns a hash code value for the object.
String
toString()
Returns a string representing the object.

Field Details

BACKGROUND

public static final Layer BACKGROUND
Background.

FOREGROUND

public static final Layer FOREGROUND
Foreground.

Method Details

equals

public boolean equals(Object o)
Returns true if this object is equal to the specified object, and false otherwise.
Parameters:
o - the other object.
Returns:
A boolean.

hashCode

public int hashCode()
Returns a hash code value for the object.
Returns:
the hashcode

toString

public String toString()
Returns a string representing the object.
Returns:
The string.