com.esri.adf.web.data.renderer
Class WebClassBreakInfo

java.lang.Object
  extended by com.esri.adf.web.data.renderer.WebClassBreakInfo
All Implemented Interfaces:
Serializable

public class WebClassBreakInfo
extends Object
implements Serializable

WebClassBreakInfo is a class that is used for expressing the mapping between the range of an attribute value and a WebSymbol that should be used for rendering.

See Also:
Serialized Form

Constructor Summary
WebClassBreakInfo()
          Creates an empty instance of WebClassInfo.
WebClassBreakInfo(String label, String description, double value, WebSymbol symbol)
          Creates an instance of WebClassInfo.
 
Method Summary
 String getDescription()
          Returns the detailed description of the class break info.
 String getLabel()
          Returns the label for this break.
 WebSymbol getSymbol()
          Returns the symbol to be applied for this class break.
 double getValue()
          Returns the class break upper limit field value.
 void setDescription(String description)
          Sets the detailed description of the class break info.
 void setLabel(String label)
          Set the label for this break.
 void setSymbol(WebSymbol symbol)
          Sets the symbol to be applied for this class break.
 void setValue(double value)
          Set the class break upper limit field value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebClassBreakInfo

public WebClassBreakInfo()
Creates an empty instance of WebClassInfo.


WebClassBreakInfo

public WebClassBreakInfo(String label,
                         String description,
                         double value,
                         WebSymbol symbol)
Creates an instance of WebClassInfo.

Parameters:
label - the label of the class break info that will used for displaying in TOC control
description - the description of the class break info
value - the class break upper limit field value
symbol - the symbol to be applied for this class break
Method Detail

setDescription

public void setDescription(String description)
Sets the detailed description of the class break info.

Parameters:
description - the detailed description of the class break info

getDescription

public String getDescription()
Returns the detailed description of the class break info.

Returns:
the detailed description of the class break info

setValue

public void setValue(double value)
Set the class break upper limit field value.

Parameters:
value - the upper limit field value

getValue

public double getValue()
Returns the class break upper limit field value.

Returns:
the field value

setSymbol

public void setSymbol(WebSymbol symbol)
Sets the symbol to be applied for this class break.

Parameters:
symbol - the symbol for this break

getSymbol

public WebSymbol getSymbol()
Returns the symbol to be applied for this class break.

Returns:
the symbol for this break

setLabel

public void setLabel(String label)
Set the label for this break.

Parameters:
label - the label of the break

getLabel

public String getLabel()
Returns the label for this break.

Returns:
the label for this break