com.esri.aims.mtier.model.map.layer.toc
Class TOCClass

java.lang.Object
  extended by com.esri.aims.mtier.model.map.layer.toc.TOCClass
All Implemented Interfaces:
Serializable

public class TOCClass
extends Object
implements Serializable

Provides information about each swatch in a layer along with the label for use with a table of contents.

See Also:
Serialized Form

Constructor Summary
TOCClass()
           
 
Method Summary
 String getDescription()
          Returns the description of the swatch image.
 String getLabel()
          Returns the label of the swatch image.
 byte[] getSwatch()
          Returns the swatch image of a layer.
 void setDescription(String description)
          Sets the description.
 void setLabel(String label)
          Sets the label.
 void setSwatch(byte[] swatch)
          Sets the swatch image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TOCClass

public TOCClass()
Method Detail

getLabel

public String getLabel()
Returns the label of the swatch image.

Returns:
String- the label

getDescription

public String getDescription()
Returns the description of the swatch image.

Returns:
String- the description

getSwatch

public byte[] getSwatch()
Returns the swatch image of a layer.

Returns:
byte[]-the swatch image

setLabel

public void setLabel(String label)
Sets the label.

Parameters:
label - the label for the swatch

setDescription

public void setDescription(String description)
Sets the description.

Parameters:
description - the description for the swatch

setSwatch

public void setSwatch(byte[] swatch)
Sets the swatch image.

Parameters:
swatch - the swatch image of a layer